|
articleThreading
|
|
|
Access
|
read-write
|
|
Returns
|
boolean
|
|
augmentationCtrl
|
|
|
Access
|
read-write
|
|
Returns
|
fContexts
|
|
autoIndent
|
|
|
Access
|
read-write
|
|
Returns
|
boolean
|
|
contextsCtrl
|
|
|
Access
|
read-write
|
|
Returns
|
fContexts
|
|
control
|
|
|
Access
|
read-only
|
|
Returns
|
fControl
|
|
cssStart
|
|
|
Access
|
read-write
|
|
Returns
|
Object
|
|
cssStylesheet
|
|
|
Access
|
read-write
|
|
Returns
|
fStream
|
|
currentPos
|
|
|
Access
|
read-write
|
|
Returns
|
int
|
|
defaultStyle
|
|
|
Access
|
read-only
|
|
Returns
|
fStyle
|
|
disableTagSelection
|
|
|
Access
|
read-write
|
|
Returns
|
int
|
|
flags
|
|
|
Access
|
read-write
|
|
Returns
|
int
|
|
ignoreSpaces
|
|
|
Access
|
read-write
|
|
Returns
|
int
|
|
isEncrypted
|
|
|
Access
|
read-only
|
|
Returns
|
boolean
|
|
isXML
|
|
|
Access
|
read-write
|
|
Returns
|
boolean
|
|
mapReturns
|
|
|
Access
|
read-write
|
|
Returns
|
int
|
|
mapTabs
|
|
|
Access
|
read-write
|
|
Returns
|
boolean
|
|
onEnter
|
|
|
Access
|
read-write
|
|
Returns
|
fStream
|
|
onExit
|
|
|
Access
|
read-write
|
|
Returns
|
fStream
|
|
pdfTag
|
|
|
Access
|
read-write
|
|
Returns
|
String
|
|
pdfTagStream
|
|
|
Access
|
read-write
|
|
Returns
|
fStream
|
|
recordRevMarks
|
|
|
Access
|
read-write
|
|
Returns
|
boolean
|
|
recordUndo
|
|
|
Access
|
read-write
|
|
Returns
|
boolean
|
|
revMarksOverride
|
|
|
Access
|
read-write
|
|
Returns
|
boolean
|
|
size
|
|
|
Access
|
read-only
|
|
Returns
|
int
|
|
stripspaceCtrl
|
|
|
Access
|
read-write
|
|
Returns
|
String
|
|
transformCtrl
|
|
|
Access
|
read-write
|
|
Returns
|
fStream
|
|
transformFrequency
|
|
|
Access
|
read-write
|
|
Returns
|
int
|
|
transformParams
|
|
|
Access
|
read-write
|
|
Returns
|
fStream
|
|
transformSource
|
|
|
Access
|
read-write
|
|
Returns
|
fStream
|
|
transformType
|
|
|
Access
|
read-write
|
|
Returns
|
int
|
|
xmlBaseURI
|
|
|
Access
|
read-write
|
|
Returns
|
String
|
|
xmlCatalog
|
|
|
Access
|
read-write
|
|
Returns
|
String
|
|
xmlDocument
|
|
|
Access
|
read-write
|
|
Returns
|
Object
|
|
xmlErrorPosCurrent
|
|
|
Access
|
read-only
|
|
Returns
|
int
|
|
xmlErrorPosLast
|
|
|
Access
|
read-only
|
|
Returns
|
int
|
|
xmlLoadExternal
|
|
|
Access
|
read-write
|
|
Returns
|
boolean
|
|
xmlParseError
|
|
|
Access
|
read-only
|
|
Returns
|
int
|
|
xmlValidError
|
|
|
Access
|
read-only
|
|
Returns
|
int
|
|
xmlValidate
|
|
|
Access
|
read-write
|
|
Returns
|
boolean
|
|
xsltTransformError
|
|
|
Access
|
read-only
|
|
Returns
|
int
|
|
clear
|
|
|
Parameters
|
None
|
|
Returns
|
void. None
|
|
Throws
|
fContentException
TEMPLATE_READONLY: The template is read only and cannot be changed.
|
|
delete position
|
|
|
Parameters
|
int position
Number of characters to delete.
|
|
Returns
|
void. None
|
|
insertMarkup name value
|
|
|
Parameters
|
String name
The name of the markup definition to use.
String value
The value to insert. If this is not specified, a dialog box may be triggered.
|
|
Returns
|
void. None
|
|
load filename link options
|
|
|
Parameters
|
fPath filename
The name and path of the file to be imported.
boolean link
If true, the file will be linked to the text stream. Otherwise, the content will just be loaded into it.
String options
The options for loading the text stream, taken from the tft macro. Defaults to exact copy ("1eutyj").
|
|
Returns
|
void. None
|
|
Throws
|
fContentException
TEMPLATE_READONLY: The template is read only and cannot be changed.
fApplicationException
FILE_READ_ERROR: An error occurred reading from the file.
|
|
parseXML
|
|
|
Parameters
|
None
|
|
Returns
|
void. None
|
|
read numChars
|
|
|
Parameters
|
int numChars
The number of characters to read.
|
|
Returns
|
String. The content read from the stream. If the string is empty, the end of the stream has been reached.
|
|
readln features
|
|
|
Parameters
|
boolean features
If true, obey "#if FEATURE" when finding the next line.
|
|
Returns
|
String. The content read from the stream. If the string is empty, the end of the stream has been reached.
|
|
run
|
|
|
Parameters
|
None
|
|
Returns
|
void. None
|
|
Throws
|
fContentException
INVALID_TYPE: The stream is not a valid script type.
|
|
save filename stripTags
|
|
|
Parameters
|
fPath filename
The name and path of the file to use.
boolean stripTags
If true, any tags or entity references will be removed while saving.
|
|
Returns
|
void. None
|
|
Throws
|
fApplicationException
FILE_WRITE_ERROR: An error occurred writing to the file.
|
|
seek position origin
|
|
|
Parameters
|
int position
Number of characters to move from the origin. This value can be negative.
int origin
The initial position to move from. The possible values are in fStream.SeekOrigin.
|
|
Returns
|
void. None
|
|
sendToDebugger
|
|
|
Parameters
|
None
|
|
Returns
|
void. None
|
|
sendToEditBar start end
|
|
|
Parameters
|
String start
The start cursor position.
String end
The end cursor position.
|
|
Returns
|
void. None
|
|
transform type frequency source control parameters
|
|
|
Parameters
|
int type
Specifies which transformation is responsible for generating the contents of this stream. The possible values for this property are in fStream.StreamTransformType.
int frequency
Specifies how often to run the transformation. The possible values for this property are in fStream.StreamTransformFrequency.
fStream source
Specifies the input stream to use in the transformation.
fStream control
Specifies the control stream to use in the transformation.
fStream parameters
Specifies the parameter control stream to use in the transformation, if required.
|
|
Returns
|
void. None
|
|
Throws
|
fContentException
TEMPLATE_READONLY: The template is read only and cannot be changed.
|
|
write text
|
|
|
Parameters
|
String text
The content to write into the stream.
|
|
Returns
|
void. None
|
|
Throws
|
fContentException
TEMPLATE_READONLY: The template is read only and cannot be changed.
|
|
writeEscaped text
|
|
|
Parameters
|
String text
The content to write into the stream.
|
|
Returns
|
void. None
|
|
Throws
|
fContentException
TEMPLATE_READONLY: The template is read only and cannot be changed.
|
|
xmlNormalizeSpace stripspaceCtrl escapeText
|
|
|
Parameters
|
String stripspaceCtrl
The name of the Stripspace Control Stream to use.
boolean escapeText
If true, the contents of text nodes will be escaped e.g. a single quote (') will become '. The default is to escape the text.
|
|
Returns
|
void. None
|
|
xmlPrettyPrint indent setFlags escapeText
|
|
|
Parameters
|
String indent
The string of characters to indent each line with. If not provided, this defaults to two spaces.
boolean setFlags
If true, the whitespace flags for this stream will be set to map tabs to spaces, and ignore leading and multiple spaces.
boolean escapeText
If true, the contents of text nodes will be escaped e.g. a single quote (') will become '. The default is to escape the text.
|
|
Returns
|
void. None
|