|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.stefanochizzolini.clown.objects.PdfObjectWrapper<PdfDictionary>
it.stefanochizzolini.clown.documents.interaction.annotations.Annotation
it.stefanochizzolini.clown.documents.interaction.annotations.TextMarkup
public class TextMarkup
Text markup annotation [PDF:1.6:8.4.5].
It displays highlights, underlines, strikeouts, or jagged ("squiggly") underlines in the text of a document.
Nested Class Summary | |
---|---|
static class |
TextMarkup.MarkupTypeEnum
Markup type [PDF:1.6:8.4.5]. |
Nested classes/interfaces inherited from class it.stefanochizzolini.clown.documents.interaction.annotations.Annotation |
---|
Annotation.FlagsEnum |
Constructor Summary | |
---|---|
TextMarkup(Page page,
Rectangle2D box,
TextMarkup.MarkupTypeEnum type)
|
|
TextMarkup(PdfDirectObject baseObject,
PdfIndirectObject container)
|
Method Summary | |
---|---|
TextMarkup |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
List<Rectangle2D> |
getBoxes()
Gets the quadrilaterals encompassing a word or group of contiguous words in the text underlying the annotation. |
TextMarkup.MarkupTypeEnum |
getMarkupType()
Gets the markup type. |
void |
setBoxes(List<Rectangle2D> value)
|
void |
setMarkupType(TextMarkup.MarkupTypeEnum value)
|
Methods inherited from class it.stefanochizzolini.clown.documents.interaction.annotations.Annotation |
---|
getAction, getActions, getAppearance, getBorder, getBox, getFlags, getModificationDate, getName, getPage, getText, isPrintable, isVisible, setAction, setActions, setAppearance, setBorder, setBox, setFlags, setModificationDate, setName, setPage, setPrintable, setText, setVisible, wrap, wrap |
Methods inherited from class it.stefanochizzolini.clown.objects.PdfObjectWrapper |
---|
delete, getBaseDataObject, getBaseObject, getContainer, getDocument, getFile, setBaseObject, setContainer, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextMarkup(Page page, Rectangle2D box, TextMarkup.MarkupTypeEnum type)
public TextMarkup(PdfDirectObject baseObject, PdfIndirectObject container)
Method Detail |
---|
public TextMarkup clone(Document context)
PdfObjectWrapper
clone
in class Annotation
context
- Which document the clone has to be registered in.public List<Rectangle2D> getBoxes()
public TextMarkup.MarkupTypeEnum getMarkupType()
public void setBoxes(List<Rectangle2D> value)
getBoxes()
public void setMarkupType(TextMarkup.MarkupTypeEnum value)
getMarkupType()
|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |