|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface describes the methods needed for
Method Summary | |
PdfAnnotation |
getAnnotation(RuleNode node,
java.lang.String annotation)
Factory method to construct a PdfAnnotation node. |
PdfObject |
getObject(java.lang.String attr,
boolean isStream,
java.lang.String text)
Factory method to construct a PdfObject node. |
PdfXForm |
getXForm(java.lang.String attr,
java.lang.String resources,
Box box)
Factory method to construct a PdfXForm node. |
PdfRefXImage |
getXImage(java.lang.String resource,
RuleNode rule,
java.lang.String attr,
long page,
boolean immediate)
Factory method to construct a PdfXImage node. |
void |
pdfcatalog(java.lang.String text,
ActionSpec action)
Add some material to the PDF catalog. |
java.lang.String |
pdffontname(Font font)
Retrieve the font name for a given font. |
long |
pdffontobjnum(Font font)
Retrieve the font object number for a given font. |
void |
pdfincludechars(Font font,
java.lang.String text)
Include a set of characters from a font into the output regardless of whether they are used or not. |
void |
pdfinfo(java.lang.String text)
This method inserts the text to the info section. |
long |
pdflastannot()
Retrieve the object index of the last annotation. |
long |
pdflastobj()
Retrieve the object index of the last object. |
long |
pdflastxform()
Retrieve the object index of the last XForm. |
long |
pdflastximage()
Retrieve the object index of the last XImage. |
void |
pdfnames(java.lang.String text)
This method inserts the text to /Names array. |
void |
pdfoutline(ActionSpec action,
long count,
java.lang.String text)
Insert some outline into the PDF output. |
Method Detail |
public PdfAnnotation getAnnotation(RuleNode node, java.lang.String annotation) throws InterpreterException
node
- the rule specification. Only the width height and depth are
relevant. Either of them can be null
.annotation
- the annotation text
InterpreterException
- in case of an errorpublic PdfObject getObject(java.lang.String attr, boolean isStream, java.lang.String text) throws InterpreterException
attr
- the attribute text. This can be null
isStream
- boolean indicator to signal that a stream object or
file object is requestedtext
- the object
InterpreterException
- in case of an errorpublic PdfXForm getXForm(java.lang.String attr, java.lang.String resources, Box box) throws InterpreterException
attr
- the attribute text. This can be null
resources
- the resources specificationbox
- the content
InterpreterException
- in case of an errorpublic PdfRefXImage getXImage(java.lang.String resource, RuleNode rule, java.lang.String attr, long page, boolean immediate) throws InterpreterException
resource
- the resource specificationrule
- the rule specification. Only the width height and depth are
relevant. Either of them can be null
.attr
- the attribute text. This can be null
page
- the page numberimmediate
- the indicator that the image should be put into the
PDF output without waiting for a reference
InterpreterException
- in case of an errorpublic void pdfcatalog(java.lang.String text, ActionSpec action)
text
- the text for the catalogaction
- the action specification.
This parameter can be null
public java.lang.String pdffontname(Font font)
font
- the font to query
public long pdffontobjnum(Font font)
font
- the font to query
public void pdfincludechars(Font font, java.lang.String text)
font
- the fonttext
- the set of characters to includepublic void pdfinfo(java.lang.String text)
text
- the text to addpublic long pdflastannot()
public long pdflastobj()
public long pdflastxform()
public long pdflastximage()
public void pdfnames(java.lang.String text)
text
- the text to addpublic void pdfoutline(ActionSpec action, long count, java.lang.String text)
action
- the action specificationcount
- the counttext
- the text
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |