|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PdftexSupport
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,
NodeList list)
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 |
|---|
PdfAnnotation getAnnotation(RuleNode node,
java.lang.String annotation)
throws HelpingException
node - the rule specification. Only the width height and depth are
relevant. Either of them can be null.annotation - the annotation text
HelpingException - in case of an error
PdfObject getObject(java.lang.String attr,
boolean isStream,
java.lang.String text)
throws HelpingException
attr - the attribute text. This can be nullisStream - boolean indicator to signal that a stream object or
file object is requestedtext - the object
HelpingException - in case of an error
PdfXForm getXForm(java.lang.String attr,
java.lang.String resources,
NodeList list)
throws HelpingException
attr - the attribute text. This can be nullresources - the resources specificationlist - the content
HelpingException - in case of an error
PdfRefXImage getXImage(java.lang.String resource,
RuleNode rule,
java.lang.String attr,
long page,
boolean immediate)
throws HelpingException
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 nullpage - the page numberimmediate - the indicator that the image should be put into the
PDF output without waiting for a reference
HelpingException - in case of an error
void pdfcatalog(java.lang.String text,
ActionSpec action)
text - the text for the catalogaction - the action specification.
This parameter can be nulljava.lang.String pdffontname(Font font)
font - the font to query
long pdffontobjnum(Font font)
font - the font to query
void pdfincludechars(Font font,
java.lang.String text)
font - the fonttext - the set of characters to includevoid pdfinfo(java.lang.String text)
text - the text to addlong pdflastannot()
long pdflastobj()
long pdflastxform()
long pdflastximage()
void pdfnames(java.lang.String text)
text - the text to add
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 | |||||||||