|
This only occurs when formatting a table cell.
|
|
This only occurs when formatting a table cell.
|
blockHierarchy
|
|
Access
|
read-only
|
Returns
|
fBlockPos[]
|
counters
|
|
Access
|
read-only
|
Returns
|
fIntArray
|
currentBlock
|
|
Access
|
read-only
|
Returns
|
fBlockResolved
|
currentBlockRegion
|
|
Access
|
read-only
|
Returns
|
fBlockResolvedRegion
|
currentBlockRow
|
|
Access
|
read-only
|
Returns
|
fBlockResolvedRow
|
currentFormat
|
|
Access
|
read-only
|
Returns
|
fFormat
|
currentPage
|
|
Access
|
read-only
|
Returns
|
fPage
|
currentParagraph
|
|
Access
|
read-only
|
Returns
|
fParagraph
|
currentState
|
|
Access
|
read-only
|
Returns
|
fFormatState
|
currentStream
|
|
Access
|
read-only
|
Returns
|
fFormatPos
|
currentStyle
|
|
Access
|
read-only
|
Returns
|
fStyle
|
currentTable
|
|
Access
|
read-only
|
Returns
|
fTableResolved
|
currentTableCell
|
|
Access
|
read-only
|
Returns
|
fTableResolvedCell
|
currentTableRow
|
|
Access
|
read-only
|
Returns
|
fTableResolvedRow
|
currentTeX
|
|
Access
|
read-only
|
Returns
|
fTeX
|
currentTypeface
|
|
Access
|
read-only
|
Returns
|
fTypeface
|
currentXMLNode
|
|
Access
|
read-only
|
Returns
|
fxNode
|
defaultParagraph
|
|
Access
|
read-only
|
Returns
|
fParagraph
|
defaultStyle
|
|
Access
|
read-only
|
Returns
|
fStyle
|
defaultTeX
|
|
Access
|
read-only
|
Returns
|
fTeX
|
errorLogCountsFatal
|
|
Access
|
read-only
|
Returns
|
int
|
errorLogCountsInformation
|
|
Access
|
read-only
|
Returns
|
int
|
errorLogCountsNonFatal
|
|
Access
|
read-only
|
Returns
|
int
|
errorLogCountsWarning
|
|
Access
|
read-only
|
Returns
|
int
|
fish
|
|
Access
|
read-only
|
Returns
|
fStringArray[]
|
formatTextMode
|
|
Access
|
read-only
|
Returns
|
int
|
streamHierarchy
|
|
Access
|
read-only
|
Returns
|
fArray
|
stringCounters
|
|
Access
|
read-only
|
Returns
|
fStringArray
|
tableHierarchy
|
|
Access
|
read-only
|
Returns
|
fTablePos[]
|
accoladeEndlevel
|
|
Parameters
|
intlevel
The level containing the accolade to end.
|
Returns
|
void. None.
|
accoladeStartaccoladelevelpercentoffsetdrawModedrawLevelpreventRepeatonlyTop
|
|
Parameters
|
fAccoladeaccolade
The object containing the accolade settings to use. This can either be an fAccolade or fAccoladeInline object, as required.
intlevel
The level on which to start the accolade.
intpercent
The percentage of the accolade to display.
intoffset
The field percentage to use, overriding the value in the accolade top location.
intdrawMode
When to draw the accolade. Value is one of fAccolade-AccoladeDrawMode.
intdrawLevel
Where to draw the accolade relative to other text and rules. Value is one of fAccolade-AccoladeDrawLevel.
booleanpreventRepeat
If true, the accolade will not repeat when flowing into a new column.
booleanonlyTop
If true, the accolade will only start if it is at the top of the frame.
|
Returns
|
void. None.
|
addHorizontalKernamount
|
|
Parameters
|
fLengthamount
The amount of horizontal kerning to be added.
|
Returns
|
void. This method does not return a value.
|
addImageimageplacescaleXscaleXSizescaleYscaleYSizebestFitXbestFitYuseBaselineforceMinDPIopacitypdfLayer
|
|
Parameters
|
fTagimage
The image to use. This can either be an fRaster or an fGraphic object.
intplace
Where to place the image. Value is one of fFormatting.ImagePlaces.
intscaleX
The method to use when scaling the image horizontally. Value is one of fFormatting.ImageScale
fLengthscaleXSize
The size to use when scaleX is set to SCALE_ABSOLUTE, SCALE_DOT, SCALE_SHRINK or SCALE_ENLARGE, or the percentage to use when set to SCALE_PERCENT.
intscaleY
The method to use when scaling the image vertically. Value is one of fFormatting.ImageScale
fLengthscaleYSize
The size to use when scaleY is set to SCALE_ABSOLUTE, SCALE_DOT, SCALE_SHRINK or SCALE_ENLARGE, or the percentage to use when set to SCALE_PERCENT.
intbestFitX
The method to use when scaling the image horizontally. If either this property or bestFitY is set to BESTFIT_NONE, best fit mode is not used. Value is one of fFormatting.ImageBestFit
intbestFitY
The method to use when scaling the image vertically. If either this property or bestFitX is set to BESTFIT_NONE, best fit mode is not used. Value is one of fFormatting.ImageBestFit
booleanuseBaseline
If true, the image will sit on the baseline, otherwise it will be centred on the baseline. This property is ignored if inline is false.
booleanforceMinDPI
If true, any image with lower than 10 DPI will be adjusted to 96 DPI.
floatopacity
The percentage opacity to draw this image on supported output drivers.
fPDFLayerpdfLayer
The PDF layer to place the U3D object on.
|
Returns
|
void. None.
|
addMediaimageplacescaleXscaleXSizescaleYscaleYSizebestFitXbestFitYuseBaselinepdfNameflashVarsflashPlayerposteractivationanimationCountanimationSpeedanimationStyle
|
|
Parameters
|
fTagimage
The media file to use. This must be an fRaster object.
intplace
Where to place the player. Value is one of fFormatting.ImagePlaces.
intscaleX
The method to use when scaling the player horizontally. Value is one of fFormatting.ImageScale
fLengthscaleXSize
The size to use when scaleX is set to SCALE_ABSOLUTE, SCALE_DOT, SCALE_SHRINK or SCALE_ENLARGE, or the percentage to use when set to SCALE_PERCENT.
intscaleY
The method to use when scaling the player vertically. Value is one of fFormatting.ImageScale
fLengthscaleYSize
The size to use when scaleY is set to SCALE_ABSOLUTE, SCALE_DOT, SCALE_SHRINK or SCALE_ENLARGE, or the percentage to use when set to SCALE_PERCENT.
intbestFitX
The method to use when scaling the player horizontally. If either this property or bestFitY is set to BESTFIT_NONE, best fit mode is not used. Value is one of fFormatting.ImageBestFit
intbestFitY
The method to use when scaling the player vertically. If either this property or bestFitX is set to BESTFIT_NONE, best fit mode is not used. Value is one of fFormatting.ImageBestFit
booleanuseBaseline
If true, the player will sit on the baseline, otherwise it will be centred on the baseline. This property is ignored if inline is false.
StringpdfName
The name for this object when outputting it to PDF.
StringflashVars
The configuration string to use with the flash player when adding it to the PDF.
StringflashPlayer
The name of the flash player to use to play the media in the PDF. This parameter will be ignored if the fRaster object is a Flash media type.
fRasterposter
The image to display when the media object is not active in the PDF.
intactivation
When to activate or deactivate the media object in the PDF. Possible values are in fFormatting-PDFActivationFlags.
intanimationCount
The number of times to play the animation if supported by the media, or a negative value to play the animation indefinitely.
floatanimationSpeed
The speed multiplier for the animation if supported by the media. A value greater than 1 will speed the animation up, a value less than 1 will slow it down.
intanimationStyle
The animation playback style to use if supported by the media. Possible values are in fFormatting-PDFAnimationStyles.
|
Returns
|
void. None.
|
addPDFFormItempdfFormItemplacewidthheightuseBaselinepdfNamepdfLayer
|
|
Parameters
|
fPDFFormItempdfFormItem
The PDF Form item to place.
intplace
Where to place the PDF Form item. Value is one of fFormatting.ImagePlaces.
fLengthwidth
The width of the PDF Form item.
fLengthheight
The height of the PDF Form item.
booleanuseBaseline
If true, the PDF Form item will sit on the baseline, otherwise it will be centred on the baseline. This property is ignored if inline is false.
StringpdfName
The name for this object when outputting it to PDF. This parameter will override the fPDFFormItem-pdfName property, if specified.
fPDFLayerpdfLayer
The PDF layer to place the PDF Form item on. This parameter will override the fPDFFormItem-pdfLayer property, if specified.
|
Returns
|
void. None.
|
addReferencereference
|
|
Parameters
|
Objectreference
The reference object to process.
|
Returns
|
void. None.
|
addU3DimageplacescaleXscaleXSizescaleYscaleYSizebestFitXbestFitYuseBaselineviewNamepdfNameanimationCountanimationSpeedanimationStylescript
|
|
Parameters
|
fTagimage
The U3D image to use. This must be an fRaster object.
intplace
Where to place the image. Value is one of fFormatting.ImagePlaces.
intscaleX
The method to use when scaling the image horizontally. Value is one of fFormatting.ImageScale
fLengthscaleXSize
The size to use when scaleX is set to SCALE_ABSOLUTE, SCALE_DOT, SCALE_SHRINK or SCALE_ENLARGE, or the percentage to use when set to SCALE_PERCENT.
intscaleY
The method to use when scaling the image vertically. Value is one of fFormatting.ImageScale
fLengthscaleYSize
The size to use when scaleY is set to SCALE_ABSOLUTE, SCALE_DOT, SCALE_SHRINK or SCALE_ENLARGE, or the percentage to use when set to SCALE_PERCENT.
intbestFitX
The method to use when scaling the image horizontally. If either this property or bestFitY is set to BESTFIT_NONE, best fit mode is not used. Value is one of fFormatting.ImageBestFit
intbestFitY
The method to use when scaling the image vertically. If either this property or bestFitX is set to BESTFIT_NONE, best fit mode is not used. Value is one of fFormatting.ImageBestFit
booleanuseBaseline
If true, the image will sit on the baseline, otherwise it will be centred on the baseline. This property is ignored if inline is false.
StringviewName
The name of the view to display for the U3D image.
StringpdfName
The name for this object when outputting it to PDF.
intanimationCount
The number of times to play the animation if defined in the U3D, or a negative value to play the animation indefinitely.
intanimationSpeed
The speed multiplier for the animation if defined in the U3D. A value greater than 1 will speed the animation up, a value less than 1 will slow it down.
intanimationStyle
The animation playback style to use if if defined in the U3D. Possible values are in fFormatting-PDFAnimationStyles.
fPDFActionscript
A PDF action containing JavaScript to run when the 3D object is instantiated in the PDF.
|
Returns
|
void. None.
|
blockColumnFooternumlevelflags
|
|
Parameters
|
intnum
If num is non-zero then this marks the start of the footer, and when zero it indicates that the footer will stop at the end of the current paragraph. (Footers must be a complete number of paragraphs). If num is 2, then it marks the start of the footer in the normal way, but the footer para(s) will be skipped when first encountered in the text.
intlevel
You can have multiple levels of column footers, by using several calls to blockColumnFooter and specifying a level for each, from 1 to 5. This lets you have up to 5 footers running concurrently. When the block overflows a region, all of the relevant column footers will be inserted in order, from 1 to 5.
Stringflags
The flags consist of a series of letters that let you control when the column footer is included. They come in two halves as follows:
f,l,m
You can specify which columns include the footer by using flags and distinguishing between first column, last column and middle columns by including a combination of the letters f, l and m. If you don't specify f, l or m, 3B2 will default to including the footer on all columns.
o,h,c,r,t
You can also specify whether to include the footer by using flags to distinguish between the different reasons for the cell ending. Again, if you don't specify any of o, h, c, r or t, 3B2 will default to including the footer whatever the reason for the cell ending. The individual flags work as follows:
o
Footer will appear if the cell overflowed.
h
Footer will appear if a hard column or page break is used.
c
Footer will appear if cell break used.
r
Footer will appear if row break used.
t
Footer will appear at end of block.
|
Returns
|
void. This method has no return value.
|
blockColumnHeadernumlevelflags
|
|
Parameters
|
intnum
If num is non-zero then this marks the start of the header, and when zero it indicates that the header will stop at the end of the current paragraph. (Headers must be a complete number of paragraphs). If num is 2, then it marks the start of the header in the normal way, but the header para(s) will be skipped when first encountered in the text.
intlevel
You can have multiple levels of column headers, by using several calls to blockColumnHeader and specifying a level for each, from 1 to 5. This lets you have up to 5 headers running concurrently. When the block starts a new region, all of the relevant column headers will be inserted in order, from 1 to 5.
Stringflags
You can specify which columns include the header by using flags and distinguishing between first column, last column and middle columns by including a combination of the letters f, l and m.
|
Returns
|
void. This method has no return value.
|
blockEndtopbreakname
|
|
Parameters
|
inttopbreak
If topbreak is set to 1 and the blockEnd call occurs at the start of a line, then it no longer behaves like a carriage return and doesn't create a newline, whilst still ending the block.
Specifying topbreak = 2 goes one stage further, and if the whole block is empty means that it will be ignored, it will take up no space, and margin merging will take place between the blocks on either side.
Specifying topbreak = 3 will preserve a block if it only contains ignorable whitespace, otherwise it is treated the same as topbreak = 2.
Stringname
If a name is provided here, it will be checked against the 'name' property of the block. If the names mismatch the block will still be ended but a warning message will be generated. These messages can be viewed by using the tformat? command and turning on the relevant messages.
|
Returns
|
void. This method does not return a value.
|
blockStartblockpreamblename
|
|
Parameters
|
fBlockblock
An optional parameter that specifies the new block's properties.
Stringpreamble
This optional parameter allows inserting a string of processing instructions literally into the preamble of the new block.
Stringname
This optional parameter allows giving a name to a block. See block 'name' property for more details. This method of giving a name to a block will override the 'name' property, if given previously.
|
Returns
|
void. This method does not return a value.
|
bookmarkLinkEnd
|
|
Parameters
|
None
|
Returns
|
void. None.
|
bookmarkLinkStartlinkNamelinkColor
|
|
Parameters
|
StringlinkName
The name of the bookmark to use in the link. If a fBookmark object with that name doesn't already exist, one will be created.
fColorlinkColor
Sets the colour of highlight for the hot area of a link in PDFs. If not specified, the link colour specified in the current fStyle will be used. IF "none", the link colour specified in the PDF Printer options will be used.
|
Returns
|
void. None.
|
breakBottomtypeimmediate
|
|
Parameters
|
inttype
The type of break to issue. Value is one of fFormatting.breakType. Multiple breaks can be issued at the same time by adding these values together.
intimmediate
Indicates if the break should occur immediately without waiting for the line or paragraph to end.
|
Returns
|
void. None.
|
breakToptypeimmediate
|
|
Parameters
|
inttype
The type of break to issue. Value is one of fFormatting.breakType. Multiple breaks can be issued at the same time by adding these values together.
intimmediate
Indicates if the break should occur immediately without waiting for the line or paragraph to end. If this value is set to 2, the break will be deferred until the next printable character.
|
Returns
|
void. None.
|
buildIndexnamedelay
|
|
Parameters
|
Stringname
The name of the desired attribute
booleandelay
If true and the specified index is of type fIndexItem.ON_COMMAND, delay building the index until the end of the format.
|
Returns
|
void. None.
|
calculateExpressionexpressionpercent
|
|
Parameters
|
Stringexpression
The expression to be evaluated.
floatpercent
If the expression contains any percentages, this value will determine what 100% equates to.
|
Returns
|
String. The results of the expression. If the expression evaluated to a number, it will need to be converted manually.
|
changeLineNumbertypevalueabsolute
|
|
Parameters
|
inttype
The line reference to modify. See fFormatting.LineReference.
intvalue
the amount to alter the line number by.
booleanabsolute
if true, the value will be used as is, otherwise it will be addedd to the current line number.
|
Returns
|
void. None.
|
contextAddcontextsgrouplimit
|
|
Parameters
|
fContextscontexts
The set of contexts to add to the current list.
intgroup
The number of the group to add the contexts to. This value should be between 0 and 4. The default value is 0.
intlimit
If set, any other contexts added prior to this instruction will not be searched. This value defaults to 0. This value should be one of fFormatting-ContextLimits.
|
Returns
|
void. None.
|
contextRemovegroupremoveAll
|
|
Parameters
|
intgroup
The number of the group to remove the contexts from. This value should be between 0 and 4. The default value is 0.
booleanremoveAll
If true, all contexts added using contextAdd() will be removed. This value defaults to false.
|
Returns
|
void. None.
|
evaluateRunningHeadernamegroupstreamNamewhichReferenceblankReferencewhichFirstnumCharacters
|
|
Parameters
|
Stringname
The name of the running header reference, or blank for no name.
intgroup
The running header group from which to obtain the reference. This is the group value from fRunningHeaderReference.RunningHeaderReferenceGroups. If more than one group is specified, the reference determined by whichReference is returned.
StringstreamName
The name of the stream containing the running header, or blank for the first stream on the page.
intwhichReference
Which reference to obtain the header text from. Value is one of fRunningHeaderReference.RunningHeaderText.
intblankReference
How to handle blank running header references. Value is one of fRunningHeaderReference.RunningHeaderBlank.
intwhichFirst
Which line should contain the first reference on the page. Value is one of fRunningHeaderReference.RunningHeaderFirstOnPageRef.
intnumCharacters
The maximum number of characters to output.
|
Returns
|
String. The result of the specified running header.
|
evaluateShowStringexpression
|
|
Parameters
|
Stringexpression
The show string to evaluate.
|
Returns
|
String. The result of evaluating the given show string.
|
evaluateUnstableXPathexpression
|
|
Parameters
|
Stringexpression
The expression to evaluate.
|
Returns
|
String. The results of the expression.
|
evaluateXPathexpression
|
|
Parameters
|
Stringexpression
The expression to evaluate.
|
Returns
|
String. The results of the expression.
|
fishGetbucketnamelevel
|
|
Parameters
|
intbucket
The number of fish bucket to look in.
Stringname
The name of the property to get.
intlevel
The number of levels to look back through, i.e. 0 will only return a value if the property was set on this level, 1 will return a value if it was set either on this level or it's parent, etc. -1 will check all levels.
|
Returns
|
String. The value of the named fish property, if set.
|
fishRestorebucket
|
|
Parameters
|
intbucket
The number of fish bucket to restore, or 0 if omitted.
|
Returns
|
void. This method does not return a value.
|
fishSavebucket
|
|
Parameters
|
intbucket
The number of fish bucket to save, or 0 if omitted.
|
Returns
|
void. This method does not return a value.
|
formatSequencenumberpatterngroupSeparatorgroupSize
|
|
Parameters
|
intnumber
The number to format.
Stringpattern
The pattern to use, for example "1" for digits, "a" for letters, or "i" for Roman Numerals. The possible patterns are identical to those provided with the XSLT element xsl:number. This value can also be a complex number format, such as those included in fNumberFormat-NumberFormats.
StringgroupSeparator
A single character to be used to separate groups of digits.
intgroupSize
The number of digits in each group, indicating where the separator should be inserted.
|
Returns
|
String. The formatted number.
|
formatStreamstreampositionattributes
|
|
Parameters
|
fStreamstream
The stream to be formatted.
Stringposition
Optionally specify the positions to format in the given stream.
Objectattributes
Optionally pass named attributes to the called stream. The properties on the given object are treated equivalently to XML attributes specified when calling a stream. They can be accessed using attribute loops from traditional streams or via arguments[0].attributes from .Jf streams.
|
Returns
|
void. This method does not return a value.
|
formatTextstreammodewidth
|
|
Parameters
|
fStreamstream
The stream containing the text to format.
intmode
The mode value to use while formatting the content. This value will be available using the fFormatting.formatTextMode property.
fLengthwidth
The width to use when measuring the text. If not provided, it will use 100mm.
|
Returns
|
String. The text generated by formatting the input stream.
|
formatUnstableStreamstreampositionattributes
|
|
Parameters
|
fStreamstream
The stream to be formatted.
Stringposition
Optionally specify the positions to format in the given stream.
Objectattributes
Optionally pass named attributes to the called stream. The properties on the given object are treated equivalently to XML attributes specified when calling a stream. They can be accessed using attribute loops from traditional streams or via arguments[0].attributes from .Jf streams.
|
Returns
|
void. This method does not return a value.
|
getAttributenameinherited
|
|
Parameters
|
Stringname
The name of the desired attribute
intinherited
[optional] If true, check ancestors in the formatting hierarchy for the attribute. Value is one of fFormatting.InheritModes.
|
Returns
|
String. The value of the attribute if found, or empty string if not.
|
getCurrentIndent
|
|
Parameters
|
None
|
Returns
|
fIndent. An fIndent object that represents the current horizontal position on the line.
|
ignoreSpacesignoreSpaces
|
|
Parameters
|
intignoreSpaces
The flag indicating which spaces should be ignored. Value is one of fFormatting.IgnoreSpaceFlags.
|
Returns
|
void. None.
|
insertLeaderleader
|
|
Parameters
|
fLeaderleader
The object containing the leader parameters to insert.
|
Returns
|
void. None.
|
keepEndshowStringwordKeep
|
|
Parameters
|
StringshowString
This method can each take an optional show string. If the text cannot be kept together in a segment then the given show string is processed, otherwise it is ignored. There is no default keepEnd show string.
booleanwordKeep
If true, the keep will end at the end of the word, otherwise it will apply from when this command is issued.
|
Returns
|
void. This method does not return a value.
|
keepStartshowStringwordKeep
|
|
Parameters
|
StringshowString
This method can each take an optional show string. If the text cannot be kept together in a segment then the given show string is processed, otherwise it is ignored. The keepStart show string defaults to $262# (soft return ISOnumber) which generates a soft return.
booleanwordKeep
If true, the keep will start from the beginning of the word, otherwise it will apply from when this command is issued.
|
Returns
|
void. This method does not return a value.
|
lineKeepEndlevel
|
|
Parameters
|
intlevel
Line keeps can also be nested. When no line keep is active, the current level is 0. When line keep is first invoked with lineKeepStart, the level for the current line increases to 1. Each subsequent lineKeepStart without any intervening lineKeepEnd will increase the nest level by 1 more. Each lineKeepEnd will decrease the level by 1. When it reaches 0, Line Keep becomes inactive for the current line. lineKeepEnd does not allow the Line Keep level to go below 0.
Sometimes, it may be necessary to start a new nesting structure, ending any previous Line Keeps, or to completely end all active line keeps, without regard to the current level. Both of these are achieved by passing a level number to the methods: lineKeepStart(1); lineKeepEnd(0)
Any level number can be used, but the lineKeepStart number must be at least 1 or the method call is ignored.
If all line keeps are started and ended with level values of 1 and 0 as shown above then this effectively gives inner keep blocks priority over any outer block. However, do note that lines at the beginning of the outer block, before the first inner block starts, will still be kept with the first inner keep as the level number for these lines was greater than 0.
|
Returns
|
void. This method does not return a value.
|
lineKeepStartlevel
|
|
Parameters
|
intlevel
Line keeps can also be nested. When no line keep is active, the current level is 0. When line keep is first invoked with lineKeepStart, the level for the current line increases to 1. Each subsequent lineKeepStart without any intervening lineKeepEnd will increase the nest level by 1 more. Each lineKeepEnd will decrease the level by 1. When it reaches 0, Line Keep becomes inactive for the current line. lineKeepEnd does not allow the Line Keep level to go below 0.
Sometimes, it may be necessary to start a new nesting structure, ending any previous Line Keeps, or to completely end all active line keeps, without regard to the current level. Both of these are achieved by passing a level number to the methods: lineKeepStart(1); lineKeepEnd(0)
Any level number can be used, but the lineKeepStart number must be at least 1 or the method call is ignored.
If all line keeps are started and ended with level values of 1 and 0 as shown above then this effectively gives inner keep blocks priority over any outer block. However, do note that lines at the beginning of the outer block, before the first inner block starts, will still be kept with the first inner keep as the level number for these lines was greater than 0.
|
Returns
|
void. This method does not return a value.
|
lineNumberResetlineNumberparaNumber
|
|
Parameters
|
intlineNumber
The value to set the line number count to, or 0 to not change.
intparaNumber
The value to set the paragraph number count to, or 0 to not change.
|
Returns
|
void. None.
|
mapReturnsmapReturns
|
|
Parameters
|
intmapReturns
The flag indicating which character to map returns to. Value is one of fFormatting.MapReturnFlags.
|
Returns
|
void. None.
|
mapTabsmapTabs
|
|
Parameters
|
booleanmapTabs
If true, any tab characters will be mapped to spaces. Otherwise, they will be left as tabs.
|
Returns
|
void. None.
|
measureContentstreamwidth
|
|
Parameters
|
fStreamstream
The stream containing the text to format.
fLengthwidth
The width to use when measuring the text. If not provided, it will use 100mm.
|
Returns
|
fLength. The height of the content.
|
outputstring
|
|
Parameters
|
Stringstring
The string to be processed at the current formatting position.
|
Returns
|
String. The string that was inserted at the formatting position.
|
pageLabelStorelabel
|
|
Parameters
|
Stringlabel
The text to store in the page label.
|
Returns
|
void. None.
|
pageSequenceBreakoddevenid
|
|
Parameters
|
intoddeven
The side the next page should be on. Possible values are in fDocumentSequenceItem-StartForce.
intid
The new document sequence id number to use for the current page sequence. If this value is not provided or set to -1, the current id number will be used.
|
Returns
|
void. None.
|
pageSequenceEnddownLevel
|
|
Parameters
|
booleandownLevel
If true, move back to the previous level in the stack of active page sequences. Otherwise, switch to the next available sequence.
|
Returns
|
void. None.
|
pageSequenceStartsequenceupLevel
|
|
Parameters
|
fDocumentSequenceItemsequence
The page sequence to start with all associated parameters.
booleanupLevel
If true, start this page sequence as a child of the current active page sequences, creating a new level in the stack of sequences. Otherwise, end the current sequence and start this one in its place.
|
Returns
|
void. None.
|
paragraphStartparagraphstyle
|
|
Parameters
|
fParagraphparagraph
If specified, specifies the default values for the paragraph properties of the new paragraph.
fStylestyle
If specified, specifies the default values for the style of the new paragraph.
|
Returns
|
void. This method does not return a value.
|
pdfNotecommentopenauthorsubjectcoloriconpdfNamepdfLayer
|
|
Parameters
|
Stringcomment
The text to put in the sticky note.
booleanopen
If true, the comment will initially be open when the PDF is opened.
Stringauthor
The author of the comment.
Stringsubject
The subject of the comment.
fColorcolor
The color to use for the sticky note. If this parameter is null, the sticky note will default to yellow.
inticon
The icon to use when displaying the note in the PDF. The value is one of fPDFNote.Icons, and defaults to fPDFNote.ICON_NOTE.
StringpdfName
The name to use for the note in the PDF.
fPDFLayerpdfLayer
The PDF layer to place the PDF note on.
|
Returns
|
void. None.
|
pdfTagActivatelabel
|
|
Parameters
|
Stringlabel
An optional parameter for the label of the PDF Tag that should be activated.
|
Returns
|
void. None.
|
pdfTagEndname
|
|
Parameters
|
Stringname
An optional parameter for the name of the PDF Tag that should be closed. If a name is provided and the name doesn't match the current open PDF Tag, then an error is raised.
|
Returns
|
void. None.
|
pdfTagStarttag
|
|
Parameters
|
fPDFTagItemtag
The PDF Tag to start, use fPDFTagArtifact objects for tags with the Artifact Role, and fPDFTagElement for all other roles.
|
Returns
|
void. None.
|
printPassthroughprintermodestream
|
|
Parameters
|
Stringprinter
The name of the printer to send data to.
intmode
The passthrough mode. These values are different depending on the type of printer. For the JS driver, mode 0 will copy the contents of the stream to the output, and mode 1 will run the stream if it is a JavaScript function. For the RAW drivers, mode 0 will copy the contents of the stream to the output.
fStreamstream
The stream containing the data to send to the printer.
|
Returns
|
void. None.
|
raiseErrorseveritymessage
|
|
Parameters
|
intseverity
The level of the error to raise. See fFormatting.ErrorSeverity.
Stringmessage
The message text to be written to the log.
|
Returns
|
void. None.
|
recordEndtypealignconditional
|
|
Parameters
|
inttype
The type of break to issue when ending the line. Value is one of fFormatting.RecordEndType.
intalign
Specifies how to align the line containing the break. Value is one of fFormatting.RecordEndAlign.
intconditional
Specifies when to issue the break. Value is one of fFormatting.RecordEndCondition.
|
Returns
|
void. None.
|
styleChangestyle
|
|
Parameters
|
fStylestyle
The style object to process.
|
Returns
|
void. This method does not return a value.
|
styleRestore
|
|
Parameters
|
None
|
Returns
|
void. This method does not return a value.
|
styleSave
|
|
Parameters
|
None
|
Returns
|
void. This method does not return a value.
|
subscriptEndkeepHorizontalendAll
|
|
Parameters
|
booleankeepHorizontal
If false or omitted, end the current subscript level and return to the horizontal position where the subscript started. If true, remain at the horizontal position where the subscript ended.
booleanendAll
If false or omitted, one subscript level is ended. If true, all subscript and superscript levels are ended. If true, the parameter keepHorizontal is ignored.
|
Returns
|
void. This method does not return a value.
|
subscriptStart
|
|
Parameters
|
None
|
Returns
|
void. This method does not return a value.
|
superscriptEndkeepHorizontalendAll
|
|
Parameters
|
booleankeepHorizontal
If false or omitted, end the current subscript level and return to the horizontal position where the subscript started. If true, remain at the horizontal position where the superscript ended.
booleanendAll
If false or omitted, one superscript level is ended. If true, all subscript and superscript levels are ended. If true, the parameter keepHorizontal is ignored.
|
Returns
|
void. This method does not return a value.
|
superscriptStart
|
|
Parameters
|
None
|
Returns
|
void. This method does not return a value.
|
tableCellStartcellstartColumnendColumnfillCells
|
|
Parameters
|
fTableCellcell
Specifies properties of the new cell.
StringstartColumn
The first column used by the cell. The parameters startColumn and endColumn can either both be integers specifying the desired columns by index or strings giving the column's names (see fTableColumn::name .
StringendColumn
The last column used by the cell. The parameters startColumn and endColumn can either both be integers specifying the desired columns by index or strings giving the column's names (see fTableColumn::name .
intfillCells
If the start column is not the next column, should the intervening cells be filled with an empty cell.
|
Returns
|
void. This method does not return a value.
|
tableColumnFooternumlevelflags
|
|
Parameters
|
intnum
If num is non-zero then this marks the start of the footer, and when zero it indicates that the footer will stop at the end of the current paragraph. (Footers must be a complete number of paragraphs). If num is 2, then it marks the start of the footer in the normal way, but the footer para(s) will be skipped when first encountered in the text.
intlevel
You can have multiple levels of column footers, by using several calls to tableColumnFooter and specifying a level for each, from 1 to 5. This lets you have up to 5 footers running concurrently. When the table overflows a cell, all of the relevant column footers will be inserted in order, from 1 to 5.
Stringflags
The flags consist of a series of letters that let you control when the column footer is included. They come in two halves as follows:
f,l,m
You can specify which columns include the footer by using flags and distinguishing between first column, last column and middle columns by including a combination of the letters f, l and m. If you don't specify f, l or m, 3B2 will default to including the footer on all columns.
o,h,c,r,t
You can also specify whether to include the footer by using flags to distinguish between the different reasons for the cell ending. Again, if you don't specify any of o, h, c, r or t, 3B2 will default to including the footer whatever the reason for the cell ending. The individual flags work as follows:
o
Footer will appear if the cell overflowed.
h
Footer will appear if a hard column or page break is used.
c
Footer will appear if cell break used.
r
Footer will appear if row break used.
t
Footer will appear at end of table.
|
Returns
|
void. This method has no return value.
|
tableColumnHeadernumlevelflags
|
|
Parameters
|
intnum
If num is non-zero then this marks the start of the header, and when zero it indicates that the header will stop at the end of the current paragraph. (Headers must be a complete number of paragraphs). If num is 2, then it marks the start of the header in the normal way, but the header para(s) will be skipped when first encountered in the text.
intlevel
You can have multiple levels of column headers, by using several calls to tableColumnHeader and specifying a level for each, from 1 to 5. This lets you have up to 5 headers running concurrently. When the table starts a new cell, all of the relevant column headers will be inserted in order, from 1 to 5.
Stringflags
You can specify which columns include the header by using flags and distinguishing between first column, last column and middle columns by including a combination of the letters f, l and m.
|
Returns
|
void. This method has no return value.
|
tableEndtopbreakname
|
|
Parameters
|
inttopbreak
If topbreak is set to 1 and the tableEnd call occurs at the start of a line, then it no longer behaves line a carriage return and doesn't create a newline, whilst still ending the table.
Stringname
If a name is provided here, it will be checked against the 'name' property of the table. If the names mismatch the table will still be ended but a warning message will be generated. These messages can be viewed by using the tformat? command and turning on the relevant messages.
|
Returns
|
void. This method does not return a value.
|
tableRowCaptionnum
|
|
Parameters
|
intnum
tableRowCaption(1) specifies the start of a top caption, tableRowCaption(2) specifies the start of a bottom caption, tableRowCaption(4) specifies the start of a mid-colset caption and tableRowCaption(0) specifies the end of the caption row(s).
|
Returns
|
void. This method does not return a value.
|
tableRowFooternum
|
|
Parameters
|
intnum
If num is non-zero then this marks the start of the footer, and when zero it indicates that the footer will stop at the end of the current row. (Footers must be complete rows). The footer row(s) will be inserted whenever the table breaks a column/page. If num is 2, then it marks the start of the footer in the normal way, but the footer row(s) will only be inserted when the table breaks, and will be skipped when encountered otherwise.
|
Returns
|
void. This method does not return a value.
|
tableRowHeadernumlevel
|
|
Parameters
|
intnum
If num is non-zero then this marks the start of the header, and when zero it indicates that the header will stop at the end of the current row. (Headers must be complete rows). The header row(s) will be re-inserted whenever the table starts a new column/page. If num is 2, then it marks the start of the header in the normal way, but the header row(s) will only be inserted when the table restarts, and will be skipped when encountered otherwise.
intlevel
You can have multiple levels of headers, by using several calls to this method and specifying a level for each, from 1 to 5. This lets you have up to 5 headers running concurrently. When the table starts a new column/page, all of the headers will be inserted in order, from 1 to 5.
In addition, you can change headers mid-way through the table. When used in conjunction with levels, you will only override the specified level. Thus you could have a main header on level 1, and sub-headers on level 2 that change for each section of the table. If a change of header occurs, whilst inserting headers, then the new header will be used.
|
Returns
|
void. This method has no return value.
|
tableRowStartrow
|
|
Parameters
|
fTableRowrow
This row object specifies settings for the new row and defaults of its cells.
|
Returns
|
void. This method does not return a value.
|
tableStarttablepreamblename
|
|
Parameters
|
fTabletable
The given table object allows you to set up parameters for the table, the columns and the default cell properties.
Stringpreamble
This optional parameter allows inserting a string of processing instructions literally into the preamble of the new table.
Stringname
This optional parameter allows giving a name to a table. See table 'name' property for more details. This method of giving a name to a table will override the 'name' property, if given previously.
|
Returns
|
void. This method does not return a value.
|
texEnd
|
|
Parameters
|
None
|
Returns
|
void. This method does not return a value
|
texStartblocktex
|
|
Parameters
|
booleanblock
If false, the new TeX formula is formatted within the current paragraph. If true, it is formatted as its own block.
fTeXtex
If specified, this objects sets the properties for the new TeX formula.
|
Returns
|
void. This method does not return a value
|
writestring
|
|
Parameters
|
Stringstring
The string to be inserted at the current formatting position.
|
Returns
|
String. The string that was inserted.
|