Parses the page or template content.
- Author
- Paulo Soares (psoar.nosp@m.es@c.nosp@m.onsis.nosp@m.te.p.nosp@m.t)
◆ PdfContentParser()
iTextSharp.text.pdf.PdfContentParser.PdfContentParser |
( |
PRTokeniser |
tokeniser | ) |
|
Creates a new instance of PdfContentParser
- Parameters
-
tokeniser | the tokeniser with the content |
◆ GetTokeniser()
PRTokeniser iTextSharp.text.pdf.PdfContentParser.GetTokeniser |
( |
| ) |
|
Gets the tokeniser.
- Returns
- the tokeniser.
◆ NextValidToken()
bool iTextSharp.text.pdf.PdfContentParser.NextValidToken |
( |
| ) |
|
Reads the next token skipping over the comments.
- Returns
true
if a token was read, false
if the end of content was reached
- Exceptions
-
◆ Parse()
ArrayList iTextSharp.text.pdf.PdfContentParser.Parse |
( |
ArrayList |
ls | ) |
|
Parses a single command from the content. Each command is output as an array of arguments having the command itself as the last element. The returned array will be empty if the end of content was reached.
- Parameters
-
ls | an ArrayList to use. It will be cleared before using. If it's null will create a new ArrayList |
- Returns
- the same
ArrayList
given as argument or a new one
- Exceptions
-
◆ ReadArray()
PdfArray iTextSharp.text.pdf.PdfContentParser.ReadArray |
( |
| ) |
|
Reads an array. The tokeniser must be positioned past the "[" token.
- Returns
- an array
- Exceptions
-
◆ ReadDictionary()
PdfDictionary iTextSharp.text.pdf.PdfContentParser.ReadDictionary |
( |
| ) |
|
Reads a dictionary. The tokeniser must be positioned past the "<<" token.
- Returns
- the dictionary
- Exceptions
-
◆ ReadPRObject()
PdfObject iTextSharp.text.pdf.PdfContentParser.ReadPRObject |
( |
| ) |
|
Reads a pdf object.
- Returns
- the pdf object
- Exceptions
-
◆ COMMAND_TYPE
const int iTextSharp.text.pdf.PdfContentParser.COMMAND_TYPE = 200 |
|
static |
◆ Tokeniser
PRTokeniser iTextSharp.text.pdf.PdfContentParser.Tokeniser |
|
getset |
Sets the tokeniser.
- Parameters
-
The documentation for this class was generated from the following file: