This topic covers the implementation details of TGenerationOptions.
Scope: cpGenerationOptions.pas; class derived from TBtnEditProperty. Prepared from the curated implementation supplied for this review on 2 October 2026.
Large script line property whose reader explicitly seeds most individual import values. The quick initialization table describes creation; the per-field Reading paragraphs describe import. They are not always equal: UseLegacyMinicalBoxesProcessing is true in Create and false before its XML read.
Several export fields are conditional, including legacy settings. XML identifiers can differ from member names: NewTextOverflowChecking stores TextOverflow, for example. ForceAnsi is forced false in the reader and its XML read is commented out.
LoadFromIniSettings can override constructor settings when the global switch allows it; that routine was not supplied. Checkbox-state ordinals use a separate three-state namespace, not ordinary true/false strings. BleedBox and SlugBox use TBoundsRect.
Notation and shared helper rules: Reading this reference.
No literal rec_type value is emitted directly by the selected routines. A property envelope, an inherited writer or a delegated record can supply its identifying attributes.
Inherited implementation: TBtnEditProperty. Follow it when the ordered behavior invokes inherited methods; inherited fields are not repeated as locally owned fields.
Structures used directly by this XML implementation:
Exact XML fields and attributes
The paths below start at this record or property node. A slash identifies a child element; @ identifies an attribute. Curly braces mark a variable index or expression, not literal XML text. Initial values describe initialization; they do not establish what an omitted individual element does. The Implementation toggle below contains the supplied routines for exact branch order and conversions.
LogErrors
XML representation: The text of the LogErrors element.
Initial value: true (TGenerationOptions.Create).
Reading: Reads the element into LogErrors. Before this read, LogErrors is set to true.
Writing: Stores true or false according to LogErrors when LogErrors is not true.
HidePlaceHolders
XML representation: The text of the HidePlaceHolders element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into HidePlaceHolders. Before this read, HidePlaceHolders is set to false.
Writing: Stores true or false according to HidePlaceHolders when HidePlaceHolders is not false.
NewTextOverflowChecking
XML representation: The text of the NewTextOverflowChecking element.
Initial value: true (TGenerationOptions.Create).
Reading: Reads the element into TextOverflow. Before this read, TextOverflow is set to true.
Writing: Stores true or false according to TextOverflow when TextOverflow is not true.
OutputFacingPages
XML representation: The text of the OutputFacingPages element.
Initial value: true (TGenerationOptions.Create).
Reading: Reads the element into OutputFacingPages. Before this read, OutputFacingPages is set to true.
Writing: Stores true or false according to OutputFacingPages whenever the writer reaches this field.
UnlinkAndRelink
XML representation: The text of the UnlinkAndRelink element.
Initial value: true (TGenerationOptions.Create).
Reading: Reads the element into UnlinkAndRelink. Before this read, UnlinkAndRelink is set to true.
Writing: Stores true or false according to UnlinkAndRelink when UnlinkAndRelink is not true.
CloseAndSaveBefore_BuildingLookupTable
XML representation: The text of the CloseAndSaveBefore_BuildingLookupTable element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into CloseAndSaveBeforeBuildingLookupTable. Before this read, CloseAndSaveBeforeBuildingLookupTable is set to false.
Writing: Stores true or false according to CloseAndSaveBeforeBuildingLookupTable when CloseAndSaveBeforeBuildingLookupTable is not false.
CloseAndSaveBefore_Saras
XML representation: The text of the CloseAndSaveBefore_Saras element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into CloseAndSaveBeforeSaras. Before this read, CloseAndSaveBeforeSaras is set to false.
Writing: Stores true or false according to CloseAndSaveBeforeSaras when CloseAndSaveBeforeSaras is not false.
CloseAndSaveBefore_ExportToPDF
XML representation: The text of the CloseAndSaveBefore_ExportToPDF element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into CloseAndSaveBeforeExportToPDF. Before this read, CloseAndSaveBeforeExportToPDF is set to false.
Writing: Stores true or false according to CloseAndSaveBeforeExportToPDF when CloseAndSaveBeforeExportToPDF is not false.
CloseAndSaveBefore_OverflowCheck
XML representation: The text of the CloseAndSaveBefore_OverflowCheck element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into CloseAndSaveBeforeOverflowCheck. Before this read, CloseAndSaveBeforeOverflowCheck is set to false.
Writing: Stores true or false according to CloseAndSaveBeforeOverflowCheck when CloseAndSaveBeforeOverflowCheck is not false.
IndividualTokenConversion
XML representation: The text of the IndividualTokenConversion element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into IndividualTokenConversion. Before this read, IndividualTokenConversion is set to false.
Writing: Stores true or false according to IndividualTokenConversion when IndividualTokenConversion is not false.
EarlyBufferPagesDeletion
XML representation: The text of the EarlyBufferPagesDeletion element.
Initial value: true (TGenerationOptions.Create).
Reading: Reads the element into EarlyBufferPagesDeletion. Before this read, EarlyBufferPagesDeletion is set to true.
Writing: Stores true or false according to EarlyBufferPagesDeletion when EarlyBufferPagesDeletion is not true.
DisambiguateMasterPages
XML representation: The text of the DisambiguateMasterPages element.
Initial value: 0 (TGenerationOptions.Create).
Reading: Reads the element into DisambiguateMasterPages. Before this read, DisambiguateMasterPages is set to 0.
Writing: Stores the numeric value of DisambiguateMasterPages when DisambiguateMasterPages is greater than 0.
DisambiguateLayers
XML representation: The text of the DisambiguateLayers element.
Initial value: 0 (TGenerationOptions.Create).
Reading: Reads the element into DisambiguateLayers. Before this read, DisambiguateLayers is set to 0.
Writing: Stores the numeric value of DisambiguateLayers when DisambiguateLayers is greater than 0.
DisambiguationPrefix
XML representation: The text of the DisambiguationPrefix element.
Initial value: 0 (TGenerationOptions.Create).
Reading: Reads the element into DisambiguationPrefix. Before this read, DisambiguationPrefix is set to 0.
Writing: Stores the numeric value of DisambiguationPrefix when DisambiguationPrefix is greater than 0.
OpenDocsWithFullUndo
XML representation: The text of the OpenDocsWithFullUndo element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into OpenDocsWithFullUndo. Before this read, OpenDocsWithFullUndo is set to false.
Writing: Stores true or false according to OpenDocsWithFullUndo when OpenDocsWithFullUndo is not false.
UseLegacyTextReplacement
XML representation: The text of the UseLegacyTextReplacement element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into UseLegacyTextReplacement. Before this read, UseLegacyTextReplacement is set to false.
Writing: Stores true or false according to UseLegacyTextReplacement when UseLegacyTextReplacement is not false.
UseLegacyPicturePlacement
XML representation: The text of the UseLegacyPicturePlacement element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into UseLegacyPicturePlacement. Before this read, UseLegacyPicturePlacement is set to false.
Writing: Stores true or false according to UseLegacyPicturePlacement when UseLegacyPicturePlacement is not false.
UseLegacyHolidaysSymbolsProcessing
XML representation: The text of the UseLegacyHolidaysSymbolsProcessing element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into UseLegacyHolidaysSymbolsProcessing. Before this read, UseLegacyHolidaysSymbolsProcessing is set to false.
Writing: Stores true or false according to UseLegacyHolidaysSymbolsProcessing when UseLegacyHolidaysSymbolsProcessing is not false.
VerifyAndFixKerning
XML representation: The text of the VerifyAndFixKerning element.
Initial value: true (TGenerationOptions.Create).
Reading: Reads the element into VerifyAndFixKerning. Before this read, VerifyAndFixKerning is set to true.
Writing: Stores true or false according to VerifyAndFixKerning when VerifyAndFixKerning is not true.
VerifyKerningOfSingleChars
XML representation: The text of the VerifyKerningOfSingleChars element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into VerifyKerningOfSingleChars. Before this read, VerifyKerningOfSingleChars is set to false.
Writing: Stores true or false according to VerifyKerningOfSingleChars when VerifyKerningOfSingleChars is not false.
FixLeftFacingPagesMargins
XML representation: The text of the FixLeftFacingPagesMargins element.
Initial value: true (TGenerationOptions.Create).
Reading: Reads the element into FixLeftFacingPagesMargins. Before this read, FixLeftFacingPagesMargins is set to true.
Writing: Stores true or false according to FixLeftFacingPagesMargins when FixLeftFacingPagesMargins is not true.
SaveCloseAndReOpenEveryXPages
XML representation: The text of the SaveCloseAndReOpenEveryXPages element.
Reading: Reads the element into SaveCloseAndReOpenEveryXPages. Before this read, SaveCloseAndReOpenEveryXPages is set to - 1.
Writing: Stores the numeric value of SaveCloseAndReOpenEveryXPages when SaveCloseAndReOpenEveryXPages is not - 1.
UseMainGridBleedSlug
XML representation: The text of the UseMainGridBleedSlug element.
Initial value: true (TGenerationOptions.Create).
Reading: Reads the element into UseMainGridBleedSlug. Before this read, UseMainGridBleedSlug is set to true.
Writing: Stores true or false according to UseMainGridBleedSlug whenever the writer reaches this field.
RemoveHyphenation
XML representation: The text of the RemoveHyphenation element.
Initial value: true (TGenerationOptions.Create).
Reading: Reads the element into RemoveHyphenation. Before this read, RemoveHyphenation is set to true.
Writing: Stores true or false according to RemoveHyphenation when RemoveHyphenation is not true.
VerifyPageObjectsSizes
XML representation: The text of the VerifyPageObjectsSizes element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into VerifyPageObjectsSizes. Before this read, VerifyPageObjectsSizes is set to false.
Writing: Stores true or false according to VerifyPageObjectsSizes when VerifyPageObjectsSizes is not false.
BreakOnNullChar
XML representation: The text of the BreakOnNullChar element.
Initial value: true (TGenerationOptions.Create).
Reading: Reads the element into BreakOnNullChar. Before this read, BreakOnNullChar is set to true.
Writing: Stores true or false according to BreakOnNullChar when BreakOnNullChar is not true.
EnableAllXtensions
XML representation: The text of the EnableAllXtensions element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into EnableAllXtensions. Before this read, EnableAllXtensions is set to false.
Writing: Stores true or false according to EnableAllXtensions when EnableAllXtensions is not false.
PurgeAllLineFeeds
XML representation: The text of the PurgeAllLineFeeds element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into PurgeAllLineFeeds. Before this read, PurgeAllLineFeeds is set to false.
Writing: Stores true or false according to PurgeAllLineFeeds when PurgeAllLineFeeds is not false.
UseTemplateAsSeed
XML representation: The text of the UseTemplateAsSeed element.
Initial value: true (TGenerationOptions.Create).
Reading: Reads the element into UseTemplateAsSeed. Before this read, UseTemplateAsSeed is set to true.
Writing: Stores true or false according to UseTemplateAsSeed when UseTemplateAsSeed is not true.
RemoveTemplateLayers
XML representation: The text of the RemoveTemplateLayers element.
Initial value: true (TGenerationOptions.Create).
Reading: Reads the element into RemoveTemplateLayers. Before this read, RemoveTemplateLayers is set to true.
Writing: Stores true or false according to RemoveTemplateLayers when RemoveTemplateLayers is not true.
RemoveOpfLayers
XML representation: The text of the RemoveOpfLayers element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into RemoveOpfLayers. Before this read, RemoveOpfLayers is set to false.
Writing: Stores true or false according to RemoveOpfLayers when RemoveOpfLayers is not false.
UseTemplateAsSeed2015
XML representation: The text of the UseTemplateAsSeed2015 element.
Initial value: true (TGenerationOptions.Create).
Reading: Reads the element into UseTemplateAsSeed2015. Before this read, UseTemplateAsSeed2015 is set to true.
Writing: Stores true or false according to UseTemplateAsSeed2015 when UseTemplateAsSeed2015 is not true.
RemoveTemplateLayers2015
XML representation: The text of the RemoveTemplateLayers2015 element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into RemoveTemplateLayers2015. Before this read, RemoveTemplateLayers2015 is set to false.
Writing: Stores true or false according to RemoveTemplateLayers2015 when RemoveTemplateLayers2015 is not false.
RemoveOpfLayers2015
XML representation: The text of the RemoveOpfLayers2015 element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into RemoveOpfLayers2015. Before this read, RemoveOpfLayers2015 is set to false.
Writing: Stores true or false according to RemoveOpfLayers2015 when RemoveOpfLayers2015 is not false.
treatRGBasDefaultColor
XML representation: The text of the treatRGBasDefaultColor element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into treatRGBasDefaultColor. Before this read, treatRGBasDefaultColor is set to false.
Writing: Stores true or false according to treatRGBasDefaultColor when treatRGBasDefaultColor is not false.
WarnDefaultColorsInconsistenciesNEW
XML representation: The text of the WarnDefaultColorsInconsistenciesNEW element.
Reading: Reads the element into WarnDefaultColorsInconsistencies. Before this read, WarnDefaultColorsInconsistencies is set to ord (cbUnchecked).
Writing: Stores the numeric value of WarnDefaultColorsInconsistencies when WarnDefaultColorsInconsistencies is not ord (cbUnchecked).
WarnDefaultTextStyleSheetsInconsistenciesNEW2
XML representation: The text of the WarnDefaultTextStyleSheetsInconsistenciesNEW2 element.
Reading: Reads the element into WarnDefaultTextStyleSheetsInconsistencies. Before this read, WarnDefaultTextStyleSheetsInconsistencies is set to ord (cbUnchecked).
Writing: Stores the numeric value of WarnDefaultTextStyleSheetsInconsistencies when WarnDefaultTextStyleSheetsInconsistencies is not ord (cbUnchecked).
WarnDefaultParaStyleSheetsInconsistenciesNEW2
XML representation: The text of the WarnDefaultParaStyleSheetsInconsistenciesNEW2 element.
Reading: Reads the element into WarnDefaultParaStyleSheetsInconsistencies. Before this read, WarnDefaultParaStyleSheetsInconsistencies is set to ord (cbUnchecked).
Writing: Stores the numeric value of WarnDefaultParaStyleSheetsInconsistencies when WarnDefaultParaStyleSheetsInconsistencies is not ord (cbUnchecked).
WarnDefaultDashesStripesInconsistenciesNEW2
XML representation: The text of the WarnDefaultDashesStripesInconsistenciesNEW2 element.
Reading: Reads the element into WarnDefaultDashesStripesInconsistencies. Before this read, WarnDefaultDashesStripesInconsistencies is set to ord (cbUnchecked).
Writing: Stores the numeric value of WarnDefaultDashesStripesInconsistencies when WarnDefaultDashesStripesInconsistencies is not ord (cbUnchecked).
WarnDefaultHyphenationInconsistenciesNEW2
XML representation: The text of the WarnDefaultHyphenationInconsistenciesNEW2 element.
Reading: Reads the element into WarnDefaultHyphenationInconsistencies. Before this read, WarnDefaultHyphenationInconsistencies is set to ord (cbUnchecked).
Writing: Stores the numeric value of WarnDefaultHyphenationInconsistencies when WarnDefaultHyphenationInconsistencies is not ord (cbUnchecked).
LegacyLinkedBoxesFlushing
XML representation: The text of the LegacyLinkedBoxesFlushing element.
Reading: Reads the element into LegacyLinkedBoxesFlushing. Before this read, LegacyLinkedBoxesFlushing is set to ord (cbUnchecked).
Writing: Stores the numeric value of LegacyLinkedBoxesFlushing when LegacyLinkedBoxesFlushing is not ord (cbUnchecked).
FixZorder
XML representation: The text of the FixZorder element.
Initial value: true (TGenerationOptions.Create).
Reading: Reads the element into FixZorder. Before this read, FixZorder is set to true.
Writing: Stores true or false according to FixZorder when FixZorder is not true.
FixZorder2015
XML representation: The text of the FixZorder2015 element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into FixZorder2015. Before this read, FixZorder2015 is set to false.
Writing: Stores true or false according to FixZorder2015 when FixZorder2015 is not false.
IgnoreInvisibleLayers2016
XML representation: The text of the IgnoreInvisibleLayers2016 element.
Initial value: true (TGenerationOptions.Create).
Reading: Reads the element into IgnoreInvisibleLayers. Before this read, IgnoreInvisibleLayers is set to true.
Writing: Stores true or false according to IgnoreInvisibleLayers when IgnoreInvisibleLayers is not true.
BreakMasterPagesLinks
XML representation: The text of the BreakMasterPagesLinks element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into BreakMasterPagesLinks. Before this read, BreakMasterPagesLinks is set to false.
Writing: Stores true or false according to BreakMasterPagesLinks when BreakMasterPagesLinks is not false.
RemoveRunaround
XML representation: The text of the RemoveRunaround element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into RemoveRunaround. Before this read, RemoveRunaround is set to false.
Writing: Stores true or false according to RemoveRunaround when RemoveRunaround is not false.
UseDeletionOptimization
XML representation: The text of the UseDeletionOptimization element.
Initial value: true (TGenerationOptions.Create).
Reading: Reads the element into UseDeletionOptimization. Before this read, UseDeletionOptimization is set to true.
Writing: Stores true or false according to UseDeletionOptimization when UseDeletionOptimization is not true.
UseNativeParagraphFormatting
XML representation: The text of the UseNativeParagraphFormatting element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into UseNativeParagraphFormatting. Before this read, UseNativeParagraphFormatting is set to false.
Writing: Stores true or false according to UseNativeParagraphFormatting when UseNativeParagraphFormatting is not false.
NewExportOutputToPDF
XML representation: The text of the NewExportOutputToPDF element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into ExportOutputToPDF. Before this read, ExportOutputToPDF is set to false.
Writing: Stores true or false according to ExportOutputToPDF when ExportOutputToPDF is not false.
ExportPDFStyle
XML representation: The text of the ExportPDFStyle element.
Initial value: “Press - High Quality/High Resolution” (TGenerationOptions.Create).
Reading: Reads the element into QuarkExportPDFStyle. Before this read, QuarkExportPDFStyle is set to an empty string.
Export: No corresponding write is implemented locally. This can be a compatibility input or a field handled elsewhere.
QuarkExportPDFStyle
XML representation: The text of the QuarkExportPDFStyle element.
Initial value: “Press - High Quality/High Resolution” (TGenerationOptions.Create).
Reading: Reads the element into QuarkExportPDFStyle when QuarkExportPDFStyle is empty. Before this read, QuarkExportPDFStyle is set to “Press - High Quality/High Resolution”.
Writing: Stores QuarkExportPDFStyle whenever the writer reaches this field.
InDesignExportPDFStyle
XML representation: The text of the InDesignExportPDFStyle element.
Initial value: “[Press Quality]” (TGenerationOptions.Create).
Reading: Reads the element into InDesignExportPDFStyle. Before this read, InDesignExportPDFStyle is set to “[Press Quality]”.
Writing: Stores InDesignExportPDFStyle whenever the writer reaches this field.
KeepVignetteNames
XML representation: The text of the KeepVignetteNames element.
Initial value: true (TGenerationOptions.Create).
Reading: Reads the element into KeepVignetteNames. Before this read, KeepVignetteNames is set to true.
Writing: Stores true or false according to KeepVignetteNames when KeepVignetteNames is not true.
UseLegacyMinicalBoxesProcessing
XML representation: The text of the UseLegacyMinicalBoxesProcessing element.
Initial value: true (TGenerationOptions.Create).
Reading: Reads the element into UseLegacyMinicalBoxesProcessing. Before this read, UseLegacyMinicalBoxesProcessing is set to false.
Writing: Stores true or false according to UseLegacyMinicalBoxesProcessing when UseLegacyMinicalBoxesProcessing is not false.
MultiPass
XML representation: The text of the MultiPass element.
Initial value: true (TGenerationOptions.Create).
Reading: Reads the element into MultiPass. Before this read, MultiPass is set to true.
Writing: Stores true or false according to MultiPass when MultiPass is not true.
FilterHolidays
XML representation: The text of the FilterHolidays element.
Initial value: true (TGenerationOptions.Create).
Reading: Reads the element into FilterHolidays. Before this read, FilterHolidays is set to true.
Writing: Stores true or false according to FilterHolidays when FilterHolidays is not true.
ForceTempTable_Concats
XML representation: The text of the ForceTempTable_Concats element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into ForceTempTable_Concats. Before this read, ForceTempTable_Concats is set to false.
Writing: Stores true or false according to ForceTempTable_Concats when ForceTempTable_Concats is not false.
ForceTempTable_Slogans
XML representation: The text of the ForceTempTable_Slogans element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into ForceTempTable_Slogans. Before this read, ForceTempTable_Slogans is set to false.
Writing: Stores true or false according to ForceTempTable_Slogans when ForceTempTable_Slogans is not false.
ForceTempTable_Saints
XML representation: The text of the ForceTempTable_Saints element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into ForceTempTable_Saints. Before this read, ForceTempTable_Saints is set to false.
Writing: Stores true or false according to ForceTempTable_Saints when ForceTempTable_Saints is not false.
ForceTempTable_Holidays
XML representation: The text of the ForceTempTable_Holidays element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into ForceTempTable_Holidays. Before this read, ForceTempTable_Holidays is set to false.
Writing: Stores true or false according to ForceTempTable_Holidays when ForceTempTable_Holidays is not false.
IgnoreUnfoundToken
XML representation: The text of the IgnoreUnfoundToken element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into IgnoreUnfoundToken. Before this read, IgnoreUnfoundToken is set to false.
Writing: Stores true or false according to IgnoreUnfoundToken when IgnoreUnfoundToken is not false.
MaxIteration
XML representation: The text of the MaxIteration element.
Initial value: 1000 (TGenerationOptions.Create).
Reading: Reads the element into MaxIteration. Before this read, MaxIteration is set to 1000.
Writing: Stores the numeric value of MaxIteration when MaxIteration is not 1000.
MaxRecursion
XML representation: The text of the MaxRecursion element.
Initial value: 50 (TGenerationOptions.Create).
Reading: Reads the element into MaxRecursion. Before this read, MaxRecursion is set to 50.
Writing: Stores the numeric value of MaxRecursion when MaxRecursion is not 50.
PageCopyingDelay
XML representation: The text of the PageCopyingDelay element.
Initial value: 1000 (TGenerationOptions.Create).
Reading: Reads the element into PageCopyingDelay. Before this read, PageCopyingDelay is set to 1000.
Writing: Stores the numeric value of PageCopyingDelay when PageCopyingDelay is not 1000.
SeedPagesDelay
XML representation: The text of the SeedPagesDelay element.
Initial value: 1000 (TGenerationOptions.Create).
Reading: Reads the element into SeedPagesDelay. Before this read, SeedPagesDelay is set to 1000.
Writing: Stores the numeric value of SeedPagesDelay when SeedPagesDelay is not 1000.
XPressTagsVersionMajor
XML representation: The text of the XPressTagsVersionMajor element.
Reading: Reads the element into XPressTagsVersionMajor. Before this read, XPressTagsVersionMajor is set to - 1.
Writing: Stores the numeric value of XPressTagsVersionMajor when XPressTagsVersionMajor is not - 1.
XPressTagsVersionMinor
XML representation: The text of the XPressTagsVersionMinor element.
Reading: Reads the element into XPressTagsVersionMinor. Before this read, XPressTagsVersionMinor is set to - 1.
Writing: Stores the numeric value of XPressTagsVersionMinor when XPressTagsVersionMinor is not - 1.
TrimBlankPages
XML representation: The text of the TrimBlankPages element.
Initial value: true (TGenerationOptions.Create).
Reading: Reads the element into TrimBlankPages. Before this read, TrimBlankPages is set to true.
Writing: Stores true or false according to TrimBlankPages when TrimBlankPages is not true.
BufferEndPages
XML representation: The text of the BufferEndPages element.
Initial value: bepNone (0) (TGenerationOptions.Create).
Reading: Reads the element into ordBuffer. The subsequent conversion is shown in Implementation.
Writing: Stores the numeric value of BufferEndPages (see the value table below) when BufferEndPages is not bepNone (0).
SeedPagesDeletion
XML representation: The text of the SeedPagesDeletion element.
Initial value: spdAfterPageCopying (1) (TGenerationOptions.Create).
Reading: Reads the element into ordBuffer. The subsequent conversion is shown in Implementation.
Writing: Stores the numeric value of SeedPagesDeletion (see the value table below) when SeedPagesDeletion is not spdAfterPageCopying (1).
UsesHebrew
XML representation: The text of the UsesHebrew element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into UsesHebrew. Before this read, UsesHebrew is set to false.
Writing: Stores true or false according to UsesHebrew when UsesHebrew is not false.
UsesArabic
XML representation: The text of the UsesArabic element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into UsesArabic. Before this read, UsesArabic is set to false.
Writing: Stores true or false according to UsesArabic when UsesArabic is not false.
ArabicLigatures
XML representation: The text of the ArabicLigatures element.
Initial value: aloFontDependent (0) (TGenerationOptions.Create).
Reading: Reads the element into ordBuffer. The subsequent conversion is shown in Implementation.
Writing: Stores the numeric value of ArabicLigatures (see the value table below) when ArabicLigatures is not aloFontDependent (0).
ArabicKashidas
XML representation: The text of the ArabicKashidas element.
Initial value: akoNone (3) (TGenerationOptions.Create).
Reading: Reads the element into ordBuffer. The subsequent conversion is shown in Implementation.
Writing: Stores the numeric value of ArabicKashidas (see the value table below) when ArabicKashidas is not akoNone (3).
LockAllBoxes
XML representation: The text of the LockAllBoxes element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into LockAllBoxes. Before this read, LockAllBoxes is set to false.
Writing: Stores true or false according to LockAllBoxes when LockAllBoxes is not false.
LaunchOutput
XML representation: The text of the LaunchOutput element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into LaunchOutput. Before this read, LaunchOutput is set to false.
Writing: Stores true or false according to LaunchOutput when LaunchOutput is not false.
LaunchOutputPDF
XML representation: The text of the LaunchOutputPDF element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into LaunchOutputPDF. Before this read, LaunchOutputPDF is set to false.
Writing: Stores true or false according to LaunchOutputPDF when LaunchOutputPDF is not false.
ClearCommFile
XML representation: The text of the ClearCommFile element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into ClearCommFile. Before this read, ClearCommFile is set to false.
Writing: Stores true or false according to ClearCommFile when ClearCommFile is not false.
BeepOnCompletion
XML representation: The text of the BeepOnCompletion element.
Initial value: true (TGenerationOptions.Create).
Reading: Reads the element into BeepOnCompletion. Before this read, BeepOnCompletion is set to true.
Writing: Stores true or false according to BeepOnCompletion when BeepOnCompletion is not true.
ExecuteSarasIfAny
XML representation: The text of the ExecuteSarasIfAny element.
Initial value: true (TGenerationOptions.Create).
Reading: Reads the element into ExecuteSarasIfAny. Before this read, ExecuteSarasIfAny is set to true.
Writing: Stores true or false according to ExecuteSarasIfAny when ExecuteSarasIfAny is not true.
LocateStrayTokens
XML representation: The text of the LocateStrayTokens element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into LocateStrayTokens. Before this read, LocateStrayTokens is set to false.
Writing: Stores true or false according to LocateStrayTokens when LocateStrayTokens is not false.
OpfTransferDelay
XML representation: The text of the OpfTransferDelay element.
Initial value: 1000 (TGenerationOptions.Create).
Reading: Reads the element into OpfTransferDelay. Before this read, OpfTransferDelay is set to 1000.
Writing: Stores the numeric value of OpfTransferDelay when OpfTransferDelay is not 1000.
SaveOpfOnLanWith
XML representation: The text of the SaveOpfOnLanWith element.
Initial value: soolWindowsShell (1) (TGenerationOptions.Create).
Reading: Reads the element into ordBuffer. The subsequent conversion is shown in Implementation.
Writing: Stores the numeric value of SaveOpfOnLanWith (see the value table below) when SaveOpfOnLanWith is not soolWindowsShell (1).
MultiLanguage
XML representation: The text of the MultiLanguage element.
Initial value: qmlDefault (0) (TGenerationOptions.Create).
Reading: Reads the element into ordBuffer. The subsequent conversion is shown in Implementation.
Writing: Stores the numeric value of MultiLanguage (see the value table below) when MultiLanguage is not qmlDefault (0).
TempDirCleanup
XML representation: The text of the TempDirCleanup element.
Initial value: tdcWindowsDelete (1) (TGenerationOptions.Create).
Reading: Reads the element into ordBuffer. The subsequent conversion is shown in Implementation.
Writing: Stores the numeric value of TempDirCleanup (see the value table below) when TempDirCleanup is not tdcWindowsDelete (1).
BackUpBeforeSara
XML representation: The text of the BackUpBeforeSara element.
Initial value: false (TGenerationOptions.Create).
Reading: Reads the element into BackUpBeforeSara. Before this read, BackUpBeforeSara is set to false.
Writing: Stores true or false according to BackUpBeforeSara when BackUpBeforeSara is not false.
Nested records and repeated elements
Operation |
XML location |
When it is processed |
Read BleedBox |
BleedBox |
the record node exists |
Read SlugBox |
SlugBox |
the record node exists |
Write BleedBox |
BleedBox |
UseMainGridBleedSlug is not true |
Write SlugBox |
SlugBox |
UseMainGridBleedSlug is not true |
Initialization and reset values
TGenerationOptions.Create
Setting or temporary variable |
Initial value |
When it is assigned |
PropName |
“Diary Generation Options” |
Always |
Required |
2 |
Always |
PropValue |
Default (TSL_PropValue) |
Always |
LogErrors |
true |
Always |
HidePlaceHolders |
false |
Always |
TextOverflow |
true |
Always |
OutputFacingPages |
true |
Always |
UnlinkAndRelink |
true |
Always |
CloseAndSaveBeforeBuildingLookupTable |
false |
Always |
CloseAndSaveBeforeSaras |
false |
Always |
CloseAndSaveBeforeExportToPDF |
false |
Always |
CloseAndSaveBeforeOverflowCheck |
false |
Always |
IndividualTokenConversion |
false |
Always |
EarlyBufferPagesDeletion |
true |
Always |
DisambiguateMasterPages |
0 |
Always |
DisambiguateLayers |
0 |
Always |
DisambiguationPrefix |
0 |
Always |
OpenDocsWithFullUndo |
false |
Always |
UseLegacyTextReplacement |
false |
Always |
UseLegacyPicturePlacement |
false |
Always |
UseLegacyHolidaysSymbolsProcessing |
false |
Always |
VerifyAndFixKerning |
true |
Always |
VerifyKerningOfSingleChars |
false |
Always |
FixLeftFacingPagesMargins |
true |
Always |
SaveCloseAndReOpenEveryXPages |
- 1 |
Always |
UseMainGridBleedSlug |
true |
Always |
BleedBox |
Default (TBoundsRect) |
Always |
SlugBox |
Default (TBoundsRect) |
Always |
RemoveHyphenation |
true |
Always |
VerifyPageObjectsSizes |
false |
Always |
BreakOnNullChar |
true |
Always |
EnableAllXtensions |
false |
Always |
PurgeAllLineFeeds |
false |
Always |
ForceAnsi |
false |
Always |
FixZorder |
true |
Always |
UseTemplateAsSeed |
true |
Always |
RemoveTemplateLayers |
true |
Always |
RemoveOpfLayers |
false |
Always |
FixZorder2015 |
false |
Always |
UseTemplateAsSeed2015 |
true |
Always |
RemoveTemplateLayers2015 |
false |
Always |
RemoveOpfLayers2015 |
false |
Always |
treatRGBasDefaultColor |
false |
Always |
WarnDefaultColorsInconsistencies |
ord (cbGrayed) |
Always |
WarnDefaultTextStyleSheetsInconsistencies |
ord (cbUnchecked) |
Always |
WarnDefaultParaStyleSheetsInconsistencies |
ord (cbUnchecked) |
Always |
WarnDefaultDashesStripesInconsistencies |
ord (cbUnchecked) |
Always |
WarnDefaultHyphenationInconsistencies |
ord (cbUnchecked) |
Always |
LegacyLinkedBoxesFlushing |
ord (cbUnchecked) |
Always |
IgnoreInvisibleLayers |
true |
Always |
BreakMasterPagesLinks |
false |
Always |
RemoveRunaround |
false |
Always |
UseDeletionOptimization |
true |
Always |
UseNativeParagraphFormatting |
false |
Always |
ExportOutputToPDF |
false |
Always |
QuarkExportPDFStyle |
“Press - High Quality/High Resolution” |
Always |
InDesignExportPDFStyle |
“[Press Quality]” |
Always |
RgbColorMatch |
false |
Always |
NamedColorMatch |
true |
Always |
KeepVignetteNames |
true |
Always |
UseLegacyMinicalBoxesProcessing |
true |
Always |
StripStyleSheets |
false |
Always |
MultiPass |
true |
Always |
FilterHolidays |
true |
Always |
IgnoreUnfoundToken |
false |
Always |
MaxIteration |
1000 |
Always |
MaxRecursion |
50 |
Always |
PageCopyingDelay |
1000 |
Always |
SeedPagesDelay |
1000 |
Always |
XPressTagsVersionMajor |
- 1 |
Always |
XPressTagsVersionMinor |
- 1 |
Always |
TrimBlankPages |
true |
Always |
BufferEndPages |
bepNone (0) |
Always |
UsesHebrew |
false |
Always |
UsesArabic |
false |
Always |
ArabicLigatures |
aloFontDependent (0) |
Always |
ArabicKashidas |
akoNone (3) |
Always |
SeedPagesDeletion |
spdAfterPageCopying (1) |
Always |
LockAllBoxes |
false |
Always |
LaunchOutput |
false |
Always |
LaunchOutputPDF |
false |
Always |
ClearCommFile |
false |
Always |
BeepOnCompletion |
true |
Always |
ExecuteSarasIfAny |
true |
Always |
LocateStrayTokens |
false |
Always |
OpfTransferDelay |
1000 |
Always |
SaveOpfOnLanWith |
soolWindowsShell (1) |
Always |
BackUpBeforeSara |
false |
Always |
MultiLanguage |
qmlDefault (0) |
Always |
TempDirCleanup |
tdcWindowsDelete (1) |
Always |
ForceTempTable_Concats |
false |
Always |
ForceTempTable_Slogans |
false |
Always |
ForceTempTable_Saints |
false |
Always |
ForceTempTable_Holidays |
false |
Always |
DataValue |
PropValue |
Always |
This routine also calls inherited Create; LoadFromIniSettings; self.FillDisplayValue. See Implementation for their order and any conditional calls.
Value namespaces used by this implementation
These are declared Pascal ordinal values. Use the ordinal only where the field serializer actually writes ord(...), an integer cast or an equivalent value. Set-marker strings and local option lists have their own representation; sentinel members in an enum are not automatically legal XML choices.
TBufferEndPagesSettings
Ordinal |
Declared member |
0 |
bepNone |
1 |
bepPagesOnly |
2 |
bepProcessOnly |
3 |
bepDeleteOnly |
4 |
bepProcessAndDelete |
TSeedPagesDeletionSettings
Ordinal |
Declared member |
0 |
spdDoNotDelete |
1 |
spdAfterPageCopying |
2 |
spdAfterTokenProcessing |
3 |
spdBeforeClosingOPF |
TArabicLigaturesSettings
Ordinal |
Declared member |
0 |
aloFontDependent |
1 |
aloFontDependentAlways |
2 |
aloUnicodeMinimal |
3 |
aloUnicodeFull |
4 |
aloAxtMinimal |
5 |
aloAxtFull |
6 |
aloNone |
TArabicKashidasSettings
Ordinal |
Declared member |
0 |
akoRemoveThenAdd |
1 |
akoAddOnly |
2 |
akoRemoveOnly |
3 |
akoNone |
TSaveOpfOnLanWithOption
Ordinal |
Declared member |
0 |
soolBestMethod |
1 |
soolWindowsShell |
2 |
soolQuarkXPress |
TTempDirCleanupOption
Ordinal |
Declared member |
0 |
tdcDoNotDelete |
1 |
tdcWindowsDelete |
2 |
tdcQuarkXPressDelete |
TQuarkMultiLanguageOption
Ordinal |
Declared member |
0 |
qmlDefault |
1 |
qmlSingleLanguage |
2 |
qmlMultipleLanguages |
Storage declarations relevant to interpretation
These are in-memory member and property types, not a list of mandatory XML children. They retain array bounds, fixed buffers and selector types. The field reference above defines what is actually serialized.
Name |
Declared type / bounds |
Kind |
LogErrors |
boolean |
member |
HidePlaceHolders |
boolean |
member |
TextOverflow |
boolean |
member |
OutputFacingPages |
boolean |
member |
UnlinkAndRelink |
boolean |
member |
CloseAndSaveBeforeBuildingLookupTable |
boolean |
member |
CloseAndSaveBeforeSaras |
boolean |
member |
CloseAndSaveBeforeExportToPDF |
boolean |
member |
CloseAndSaveBeforeOverflowCheck |
boolean |
member |
IndividualTokenConversion |
boolean |
member |
EarlyBufferPagesDeletion |
boolean |
member |
DisambiguateMasterPages |
integer |
member |
DisambiguateLayers |
integer |
member |
DisambiguationPrefix |
integer |
member |
OpenDocsWithFullUndo |
boolean |
member |
UseLegacyTextReplacement |
boolean |
member |
UseLegacyPicturePlacement |
boolean |
member |
UseLegacyHolidaysSymbolsProcessing |
boolean |
member |
VerifyAndFixKerning |
boolean |
member |
VerifyKerningOfSingleChars |
boolean |
member |
FixLeftFacingPagesMargins |
boolean |
member |
SaveCloseAndReOpenEveryXPages |
integer |
member |
UseMainGridBleedSlug |
boolean |
member |
BleedBox |
TBoundsRect |
member |
SlugBox |
TBoundsRect |
member |
RemoveHyphenation |
boolean |
member |
VerifyPageObjectsSizes |
boolean |
member |
BreakOnNullChar |
boolean |
member |
EnableAllXtensions |
boolean |
member |
PurgeAllLineFeeds |
boolean |
member |
ForceAnsi |
boolean |
member |
UseTemplateAsSeed |
boolean |
member |
RemoveTemplateLayers |
boolean |
member |
RemoveOpfLayers |
boolean |
member |
FixZorder |
boolean |
member |
FixZorder2015 |
boolean |
member |
UseTemplateAsSeed2015 |
boolean |
member |
RemoveTemplateLayers2015 |
boolean |
member |
RemoveOpfLayers2015 |
boolean |
member |
treatRGBasDefaultColor |
boolean |
member |
WarnDefaultColorsInconsistencies |
integer |
member |
WarnDefaultTextStyleSheetsInconsistencies |
integer |
member |
WarnDefaultParaStyleSheetsInconsistencies |
integer |
member |
WarnDefaultDashesStripesInconsistencies |
integer |
member |
WarnDefaultHyphenationInconsistencies |
integer |
member |
LegacyLinkedBoxesFlushing |
integer |
member |
IgnoreInvisibleLayers |
boolean |
member |
BreakMasterPagesLinks |
boolean |
member |
RemoveRunaround |
boolean |
member |
UseDeletionOptimization |
boolean |
member |
UseNativeParagraphFormatting |
boolean |
member |
ExportOutputToPDF |
boolean |
member |
QuarkExportPDFStyle |
string |
member |
InDesignExportPDFStyle |
string |
member |
RgbColorMatch |
boolean |
member |
NamedColorMatch |
boolean |
member |
KeepVignetteNames |
boolean |
member |
UseLegacyMinicalBoxesProcessing |
boolean |
member |
StripStyleSheets |
boolean |
member |
MultiPass |
boolean |
member |
FilterHolidays |
boolean |
member |
IgnoreUnfoundToken |
boolean |
member |
MaxIteration |
integer |
member |
MaxRecursion |
integer |
member |
PageCopyingDelay |
integer |
member |
SeedPagesDelay |
integer |
member |
XPressTagsVersionMajor |
integer |
member |
XPressTagsVersionMinor |
integer |
member |
TrimBlankPages |
boolean |
member |
BufferEndPages |
TBufferEndPagesSettings |
member |
UsesHebrew |
boolean |
member |
UsesArabic |
boolean |
member |
ArabicLigatures |
TArabicLigaturesSettings |
member |
ArabicKashidas |
TArabicKashidasSettings |
member |
SeedPagesDeletion |
TSeedPagesDeletionSettings |
member |
LockAllBoxes |
boolean |
member |
LaunchOutput |
boolean |
member |
LaunchOutputPDF |
boolean |
member |
ClearCommFile |
boolean |
member |
BeepOnCompletion |
boolean |
member |
ExecuteSarasIfAny |
boolean |
member |
LocateStrayTokens |
boolean |
member |
OpfTransferDelay |
integer |
member |
SaveOpfOnLanWith |
TSaveOpfOnLanWithOption |
member |
BackUpBeforeSara |
boolean |
member |
MultiLanguage |
TQuarkMultiLanguageOption |
member |
TempDirCleanup |
TTempDirCleanupOption |
member |
ForceTempTable_Concats |
boolean |
member |
ForceTempTable_Slogans |
boolean |
member |
ForceTempTable_Saints |
boolean |
member |
ForceTempTable_Holidays |
boolean |
member |
The Implementation toggle contains only TGenerationOptions methods. Initializers and helpers belonging to other types are identified separately below. Shared XML-helper limitations are explained in Reading this reference.