Computes the left edge of the current column
It starts with the left margin and adds the width and gutters of any columns between it
and the left margin.
Extracts the font name from an extended entry in PdfSymbols.properties, such as:
[trademark]={SYMBOL}\\u00E4, where the font name is between braces (so SYMBOL, in this example).
Reads the attribute data for the replacement command as it is found in the command table
and extracts the command root that should replace the alias root.
Write the closed block comment to the token list and return the amount by which
the isLineComment point needs to be moved up to get past the block comment.
Force a hard CR/LF (note: this command does *not* force an end of paragraph)
Note that the main token processor in Pdf.Start() will check the token after [].
//curr: do we need the setters? Line probably should be immutable
Defines a InputLine, which simply holds the file#, line # of the current input line, and
the content of the current input line (as a string).
In cases where the current token is an expanded form of a shorthand command,
this routine replaces the lexeme in the processed token with the original shorthand
that the user wrote.
Write an error message to console saying that the command-like token is not actually
a Platypus command, and then write the token out to the output as a text token.
Determines whether the current [] is the first token in the line (which means either
the absolute first token, or the first token other than a command).
Determines whether the current [] is the first token in the line (which means either
the absolute first token, or the first token other than a command).
A new paragraph adds the requisite number of lines presuming that it's adding them
to the end of the previous paragraph, not at the start of the next line, as is the
case here when [-code] is followed by a [cr].
Static class that contains maxima, minima, and other RTF-related limits
These are the same as the PDF limits, for the nonce, but might change as
we implement more aspects of the RTF standard.
Limits() -
Constructor for class org.pz.platypus.plugin.rtf.Limits
Begin a code section or code listing, with options controlling the line count
To be added: - the language for use in syntax highlighting
- file location to extract from a source file
Status of implementation:
TO DO: Currently, line number is hard-coded to a max of three digits.
Force a hard CR/LF (note: this command does *not* force an end of paragraph)
Note that the main token processor in Pdf.Start() will check the token after [].
PdfHardCR() -
Constructor for class org.pz.platypus.plugin.pdf.commands.PdfHardCR
Injects the -inputFile and -outputFile options before correct barewords
The algorithm first checks if we have encountered an option with zero or one argument.
Print the token contents with all the Html bells and whistles
(colors, bold fonts, line breaks etc.)
Get the Html string and output it to the output file.
If the config file for this output format says that Platypus expands macros, this routine
looks up the macro, expands it, and puts the expanded form in gdd.expandedMacro.
Reads a single line from the input file and converts into an InputLine
data structure, which contains, the file number of the input file,
the line number of the line, plus the content of the line
Manages the user-visible Platypus system strings (version #, etc.)
System strings have the format of starting with: _ followed by any number of alphanumerics or _
They can be read by the document processing, but they are not modifiable by the document.
Manages the user-defined strings (essentially macros w/out parameters, currently)
System strings have the format of starting with: $ followed by an alphanumeric and
then alphanumerics or the _ character
They are defined with [def:$macro{meaning}].