public class Word extends ParsedTextImpl
| Modifier and Type | Method and Description |
|---|---|
void |
accumulate(TextAssembler p,
String contextName)
We pass ourselves to the assembler, which is a visitor, so that it can
accumulate information on this text depending on its type.
|
void |
assemble(TextAssembler p) |
FinalText |
getFinalText(PdfReader reader,
int page,
TextAssembler assembler) |
String |
toString() |
getAscent, getDescent, getEndPoint, getSingleSpaceWidth, getStartPoint, getText, getWidthpublic void accumulate(TextAssembler p, String contextName)
TextAssemblyBufferstring - leading - baselinePositionInUserCoords - f - TextAssemblyBuffer.accumulate(com.lowagie.text.pdf.parser.TextAssembler, String)public void assemble(TextAssembler p)
p - TextAssemblyBuffer.assemble(com.lowagie.text.pdf.parser.TextAssembler)public FinalText getFinalText(PdfReader reader, int page, TextAssembler assembler)
reader - pdfReader that knows about our document. (size, etc. available
here).page - which page are we extracting text from.assembler - Builds result by accepting content from text components of
various sorts.TextAssemblyBuffer.getFinalText(PdfReader,
int, TextAssembler)Copyright © 2015. All rights reserved.