|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.knowcenter.wag.egov.egiz.pdf.StructContentHelper
public class StructContentHelper
Helper class for writing the structure hierarchy of the signature elements.
Everything is written with the PdfObject low level API because there is no better support.
The structured content is only written for structured (==tagged) input documents. The methods have to be called in the
defined order. The object cannot be reused for several signatures.
See pdf spec "Logical Structure" for details.
The struct writing could be a little more abstracted, but this would include quite some itext extension work. And like this it
fits better to PDF-AS / wprinz coding style :-(
| Method Summary | |
|---|---|
void |
beginFigureContent(com.lowagie.text.pdf.PdfContentByte localContent)
Writes start tag for signature logo marked content sequence. |
void |
beginLinkContent(com.lowagie.text.pdf.PdfContentByte localContent,
String urlString)
Writes start tag for verify link marked content sequence. |
protected static com.lowagie.text.pdf.PdfArray |
createPdfArrayFromTablePos(ActualTablePos pos)
|
void |
endFigureContent(com.lowagie.text.pdf.PdfContentByte localContent)
Writes end tag for signature logo marked content sequence. |
void |
endLinkContent(com.lowagie.text.pdf.PdfContentByte localContent)
Writes end tag for verify link marked content sequence. |
void |
markPos(com.lowagie.text.Rectangle pos)
Implements StructContentWriter.markPos(Rectangle) |
void |
putVal(String key,
Object val)
|
void |
removeCurrent()
Remove thread local helper |
void |
storeCurrentPosAsLink()
Implements StructContentWriter.storeCurrentPosAsLink() |
void |
storeVals()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void removeCurrent()
public void beginFigureContent(com.lowagie.text.pdf.PdfContentByte localContent)
beginFigureContent in interface com.lowagie.text.pdfas.StructContentWriterpublic void endFigureContent(com.lowagie.text.pdf.PdfContentByte localContent)
endFigureContent in interface com.lowagie.text.pdfas.StructContentWriter
public void beginLinkContent(com.lowagie.text.pdf.PdfContentByte localContent,
String urlString)
beginLinkContent in interface com.lowagie.text.pdfas.StructContentWriterpublic void endLinkContent(com.lowagie.text.pdf.PdfContentByte localContent)
endLinkContent in interface com.lowagie.text.pdfas.StructContentWriterpublic void markPos(com.lowagie.text.Rectangle pos)
StructContentWriter.markPos(Rectangle)
markPos in interface com.lowagie.text.pdfas.StructContentWriterpublic void storeCurrentPosAsLink()
StructContentWriter.storeCurrentPosAsLink()
storeCurrentPosAsLink in interface com.lowagie.text.pdfas.StructContentWriter
public void putVal(String key,
Object val)
putVal in interface com.lowagie.text.pdfas.StructContentWriterpublic void storeVals()
storeVals in interface com.lowagie.text.pdfas.StructContentWriterprotected static com.lowagie.text.pdf.PdfArray createPdfArrayFromTablePos(ActualTablePos pos)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||