public class Word extends ParsedTextImpl
Modifier and Type | Method and Description |
---|---|
void |
accumulate(TextAssembler p,
String contextName)
accept a visitor that is assembling text
|
void |
assemble(TextAssembler p)
Accept a visitor that is assembling text
|
boolean |
breakBefore() |
FinalText |
getFinalText(PdfReader reader,
int page,
TextAssembler assembler,
boolean useMarkup) |
boolean |
shouldNotSplit() |
String |
toString() |
getAscent, getBaseline, getDescent, getEndPoint, getSingleSpaceWidth, getStartPoint, getText, getWidth
public void accumulate(TextAssembler p, String contextName)
p
- the assembler that is visiting us.contextName
- What is the wrapping markup element name if anyTextAssemblyBuffer.accumulate(com.lowagie.text.pdf.parser.TextAssembler, String)
,
TextAssemblyBuffer.accumulate(com.lowagie.text.pdf.parser.TextAssembler, String)
public void assemble(TextAssembler p)
p
- the assembler that is visiting us.TextAssemblyBuffer.assemble(com.lowagie.text.pdf.parser.TextAssembler)
,
TextAssemblyBuffer.assemble(com.lowagie.text.pdf.parser.TextAssembler)
public FinalText getFinalText(PdfReader reader, int page, TextAssembler assembler, boolean useMarkup)
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.useMarkup
- Should we generate tagged text, or just plain text.TextAssemblyBuffer.getFinalText(PdfReader,
int, TextAssembler, boolean)
public boolean shouldNotSplit()
shouldNotSplit
in class ParsedTextImpl
ParsedTextImpl.shouldNotSplit()
public boolean breakBefore()
breakBefore
in class ParsedTextImpl
ParsedTextImpl.breakBefore()
Copyright © 2020. All rights reserved.