![]() |
|
fdpref |
Longname: | fd ocument pref erences | ![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Released: | not available | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Created: | not available | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Last modified: | 6.53a | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
See also: | s_level p_level grid pgxy numbers units rot_snap ruler col_snap line_snap p_ctrl gr_box_size gr_flatness edbar balfile curtrack cutsize qclick spell objdet framedet textdet autosave pboard jobfile rev_info rev_ctrl thumbs tagpfix tagcase parser fmtlog colourbars articles ftagspos jobfreeze links showmode rangefreeze tlscroll longfontnames defstyle fontuse_onfmt sppref splink measuremin embedded_fonts viewdata nsorder ckmode sgml_advsets sgml_legsets sgml_docsets attrcase stylabcase scrlabcase frnamecase anchcase xml_conf del_opt preformat docseq trylabcase xmlparser profile undomode autotext compstyle fmtlevel font_precision attrmodes |
Summary |
Used internally in the 3B2 .3d document file structure to specify the document preferences, normally set through the tdpref dialogue box, but also used as a macro to access document preference settings directly. |
Example extract |
This example changes the default units of measurement for horizontal/vertical/text to points and turns strict mode on:
|
Syntax
|
parameter:keyw
|
parameter:keyw |
One of the associated tdpref keywords and parameters. |
The fdpref section of a 3B2 .3d document can be viewed by opening the file in an ASCII editor, such as Wordpad. A sample of which is shown below: |
|
![]() |
New preferences are being added to 3B2 constantly so if new documentation is not yet available on a specific new fdpref preference keyword you can easily locate its name and parameters for use by fdpref direct access by switching it on in your file, saving, then looking at the fdpref section of your .3d file in a text editor. |
The majority of the keywords are typecode o, therefore a value of 0 or 1 on and off respectively. |
In 3B2 post version 7.00 the tdpref macro has been enhanced to work in single-shot mode by taking a keyword and its settings as parameters, shown below. |
![]() |
This macro can be used to set all of the preferences stored in the fdpref section of the .3d file if required. There are separate macros for the preference keyword not documented below, these being: tgpref, tdplevel, tdslevel, tdspref, tdlpref. |
Apart from the document preference macros above, there is no direct macro access to change the other preferences pre Version 7. The following script example illustrates a method of doing this in older versions of 3B2. |
Example |
This script is setup to change the freeze pages function to and from range - page modes. The keyword used here is range freeze other keywords are listed in the following sections. The contents of "execute freeze" tag produced would be the following, this is run by the script to change the file format of the document:
|
Document created on 08-Feb-2003 (revision 1)