Class TextAnnotationType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.BaseAnnotationType
-
- net.webpdf.wsclient.schema.operation.TextAnnotationType
-
public class TextAnnotationType extends BaseAnnotationType
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p478056_="https://jakarta.ee/xml/ns/jaxb" xmlns:p587657_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p878301_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">An annotation that adds a note icon to a page.</p>
Java class for TextAnnotationType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="TextAnnotationType"> <complexContent> <extension base="{http://schema.webpdf.de/1.0/operation}BaseAnnotationType"> <all> <element name="position" type="{http://schema.webpdf.de/1.0/operation}RectangleType" minOccurs="0"/> <element name="normalAppearance" type="{http://schema.webpdf.de/1.0/operation}AppearanceSourceType" minOccurs="0"/> </all> <attribute name="icon" type="{http://schema.webpdf.de/1.0/operation}TextAnnotationIconsType" default="note" /> <attribute name="initialOpen" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> <attribute name="appearanceGeneration" type="{http://schema.webpdf.de/1.0/operation}AppearanceGenerationType" default="nonStandard" /> <attribute name="customIconName" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected AppearanceGenerationTypeappearanceGeneration<?protected StringcustomIconName<?protected TextAnnotationIconsTypeicon<?protected BooleaninitialOpen<?protected AppearanceSourceTypenormalAppearance<?protected RectangleTypeposition<?
-
Constructor Summary
Constructors Constructor Description TextAnnotationType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AppearanceGenerationTypegetAppearanceGeneration()<?StringgetCustomIconName()<?TextAnnotationIconsTypegetIcon()<?AppearanceSourceTypegetNormalAppearance()<?RectangleTypegetPosition()<?booleanisInitialOpen()<?booleanisSetAppearanceGeneration()booleanisSetCustomIconName()booleanisSetIcon()booleanisSetInitialOpen()booleanisSetNormalAppearance()booleanisSetPosition()voidsetAppearanceGeneration(AppearanceGenerationType value)Sets the value of the appearanceGeneration property.voidsetCustomIconName(String value)Sets the value of the customIconName property.voidsetIcon(TextAnnotationIconsType value)Sets the value of the icon property.voidsetInitialOpen(boolean value)Sets the value of the initialOpen property.voidsetNormalAppearance(AppearanceSourceType value)Sets the value of the normalAppearance property.voidsetPosition(RectangleType value)Sets the value of the position property.voidunsetInitialOpen()-
Methods inherited from class net.webpdf.wsclient.schema.operation.BaseAnnotationType
getColor, getContents, getCreator, getIntents, getName, getOpacity, getPage, getSubject, isHidden, isInvisible, isLocked, isPrintable, isRotatable, isSetColor, isSetContents, isSetCreator, isSetHidden, isSetIntents, isSetInvisible, isSetLocked, isSetName, isSetOpacity, isSetPage, isSetPrintable, isSetRotatable, isSetSubject, isSetViewable, isSetWritable, isSetZoomable, isViewable, isWritable, isZoomable, setColor, setContents, setCreator, setHidden, setIntents, setInvisible, setLocked, setName, setOpacity, setPage, setPrintable, setRotatable, setSubject, setViewable, setWritable, setZoomable, unsetHidden, unsetInvisible, unsetLocked, unsetOpacity, unsetPage, unsetPrintable, unsetRotatable, unsetViewable, unsetWritable, unsetZoomable
-
-
-
-
Field Detail
-
position
protected RectangleType position
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p478056_="https://jakarta.ee/xml/ns/jaxb" xmlns:p587657_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p878301_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to select the bounds within which the shape shall be positioned.</p>
-
normalAppearance
protected AppearanceSourceType normalAppearance
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p478056_="https://jakarta.ee/xml/ns/jaxb" xmlns:p587657_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p878301_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to set the data source for the visible appearance of a customized text annotation. </p><?xml version="1.0" encoding="UTF-8"?><p xmlns:p478056_="https://jakarta.ee/xml/ns/jaxb" xmlns:p587657_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p878301_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema"><b>Important:</b> If this element is present, this shall always take precedence for the appearance generation. </p>
-
icon
protected TextAnnotationIconsType icon
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p478056_="https://jakarta.ee/xml/ns/jaxb" xmlns:p587657_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p878301_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to specify the icon that should be displayed for the note on the page. The following values are available: <ul><li>check = The text annotation approves the content.</li><li>checkmark = The text annotation adds a gray checkmark to the content.</li><li>circle = The text annotation is a comment on the circled content.</li><li>comment = The text annotation is a comment to the marked contents.</li><li>cross = The text annotation marks the content or crosses it out.</li><li>crossHair = The text annotation targets the content in the crosshair.</li><li>insert = The text annotation is suggesting inserting some content.</li><li>key = The text annotation marks or contains a key content/information.</li><li>note = The text annotation is a mere note concerning the marked content.</li><li>help = The text annotation provides helpful information concerning the marked content.</li><li>newParagraph = The text annotation suggests adding a new Paragraph at a specific point.</li><li>paragraph = The text annotation is concerning the whole paragraph.</li><li>rightArrow = The text annotation is concerning the content to the right.</li><li>rightPointer = The text annotation is concerning the content to the right.</li><li>star = The text annotation marks content as especially important.</li><li>upArrow = The text annotation is concerning the content at the top.</li><li>upLeftArrow = The text annotation is concerning the content at the top left.</li></ul></p>
-
initialOpen
protected Boolean initialOpen
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p478056_="https://jakarta.ee/xml/ns/jaxb" xmlns:p587657_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p878301_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If this value is set to "true," the popup for the corresponding "note" annotation will be opened as soon as the corresponding document page is viewed.</p>
-
appearanceGeneration
protected AppearanceGenerationType appearanceGeneration
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p478056_="https://jakarta.ee/xml/ns/jaxb" xmlns:p587657_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p878301_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Determines for which named annotations appearance streams shall be generated.</p>
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p478056_="https://jakarta.ee/xml/ns/jaxb" xmlns:p587657_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p878301_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema"><b>Important:</b> Per definition some named annotations are defined as standard names and PDF readers shall provide the means to draw those. For text annotations: comment, insert, key, note, help, newParagraph and paragraph are standard names. <ul><li>always = An appearance stream shall be prepared for all created named annotations.</li><li>never = Don't provide appearance streams and rely on PDF readers to dynamically generate a proper representation of named annotations.</li><li>nonStandard = Only provide appearance streams for non standard annotations.</li></ul></p>
-
customIconName
protected String customIconName
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p478056_="https://jakarta.ee/xml/ns/jaxb" xmlns:p587657_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p878301_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Sets a custom icon name for this annotation. </p><?xml version="1.0" encoding="UTF-8"?><p xmlns:p478056_="https://jakarta.ee/xml/ns/jaxb" xmlns:p587657_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p878301_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema"><b>Important:</b> This name shall always take precedence over possibly set standard names. (icon) </p>
-
-
Method Detail
-
getPosition
public RectangleType getPosition()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p478056_="https://jakarta.ee/xml/ns/jaxb" xmlns:p587657_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p878301_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to select the bounds within which the shape shall be positioned.</p>
- Returns:
- possible object is
RectangleType
-
setPosition
public void setPosition(RectangleType value)
Sets the value of the position property.- Parameters:
value- allowed object isRectangleType- See Also:
getPosition()
-
isSetPosition
public boolean isSetPosition()
-
getNormalAppearance
public AppearanceSourceType getNormalAppearance()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p478056_="https://jakarta.ee/xml/ns/jaxb" xmlns:p587657_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p878301_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to set the data source for the visible appearance of a customized text annotation. </p><?xml version="1.0" encoding="UTF-8"?><p xmlns:p478056_="https://jakarta.ee/xml/ns/jaxb" xmlns:p587657_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p878301_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema"><b>Important:</b> If this element is present, this shall always take precedence for the appearance generation. </p>- Returns:
- possible object is
AppearanceSourceType
-
setNormalAppearance
public void setNormalAppearance(AppearanceSourceType value)
Sets the value of the normalAppearance property.- Parameters:
value- allowed object isAppearanceSourceType- See Also:
getNormalAppearance()
-
isSetNormalAppearance
public boolean isSetNormalAppearance()
-
getIcon
public TextAnnotationIconsType getIcon()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p478056_="https://jakarta.ee/xml/ns/jaxb" xmlns:p587657_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p878301_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to specify the icon that should be displayed for the note on the page. The following values are available: <ul><li>check = The text annotation approves the content.</li><li>checkmark = The text annotation adds a gray checkmark to the content.</li><li>circle = The text annotation is a comment on the circled content.</li><li>comment = The text annotation is a comment to the marked contents.</li><li>cross = The text annotation marks the content or crosses it out.</li><li>crossHair = The text annotation targets the content in the crosshair.</li><li>insert = The text annotation is suggesting inserting some content.</li><li>key = The text annotation marks or contains a key content/information.</li><li>note = The text annotation is a mere note concerning the marked content.</li><li>help = The text annotation provides helpful information concerning the marked content.</li><li>newParagraph = The text annotation suggests adding a new Paragraph at a specific point.</li><li>paragraph = The text annotation is concerning the whole paragraph.</li><li>rightArrow = The text annotation is concerning the content to the right.</li><li>rightPointer = The text annotation is concerning the content to the right.</li><li>star = The text annotation marks content as especially important.</li><li>upArrow = The text annotation is concerning the content at the top.</li><li>upLeftArrow = The text annotation is concerning the content at the top left.</li></ul></p>- Returns:
- possible object is
TextAnnotationIconsType
-
setIcon
public void setIcon(TextAnnotationIconsType value)
Sets the value of the icon property.- Parameters:
value- allowed object isTextAnnotationIconsType- See Also:
getIcon()
-
isSetIcon
public boolean isSetIcon()
-
isInitialOpen
public boolean isInitialOpen()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p478056_="https://jakarta.ee/xml/ns/jaxb" xmlns:p587657_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p878301_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If this value is set to "true," the popup for the corresponding "note" annotation will be opened as soon as the corresponding document page is viewed.</p>
- Returns:
- possible object is
Boolean
-
setInitialOpen
public void setInitialOpen(boolean value)
Sets the value of the initialOpen property.- Parameters:
value- allowed object isBoolean- See Also:
isInitialOpen()
-
isSetInitialOpen
public boolean isSetInitialOpen()
-
unsetInitialOpen
public void unsetInitialOpen()
-
getAppearanceGeneration
public AppearanceGenerationType getAppearanceGeneration()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p478056_="https://jakarta.ee/xml/ns/jaxb" xmlns:p587657_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p878301_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Determines for which named annotations appearance streams shall be generated.</p>
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p478056_="https://jakarta.ee/xml/ns/jaxb" xmlns:p587657_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p878301_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema"><b>Important:</b> Per definition some named annotations are defined as standard names and PDF readers shall provide the means to draw those. For text annotations: comment, insert, key, note, help, newParagraph and paragraph are standard names. <ul><li>always = An appearance stream shall be prepared for all created named annotations.</li><li>never = Don't provide appearance streams and rely on PDF readers to dynamically generate a proper representation of named annotations.</li><li>nonStandard = Only provide appearance streams for non standard annotations.</li></ul></p>- Returns:
- possible object is
AppearanceGenerationType
-
setAppearanceGeneration
public void setAppearanceGeneration(AppearanceGenerationType value)
Sets the value of the appearanceGeneration property.- Parameters:
value- allowed object isAppearanceGenerationType- See Also:
getAppearanceGeneration()
-
isSetAppearanceGeneration
public boolean isSetAppearanceGeneration()
-
getCustomIconName
public String getCustomIconName()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p478056_="https://jakarta.ee/xml/ns/jaxb" xmlns:p587657_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p878301_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Sets a custom icon name for this annotation. </p><?xml version="1.0" encoding="UTF-8"?><p xmlns:p478056_="https://jakarta.ee/xml/ns/jaxb" xmlns:p587657_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p878301_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema"><b>Important:</b> This name shall always take precedence over possibly set standard names. (icon) </p>- Returns:
- possible object is
String
-
setCustomIconName
public void setCustomIconName(String value)
Sets the value of the customIconName property.- Parameters:
value- allowed object isString- See Also:
getCustomIconName()
-
isSetCustomIconName
public boolean isSetCustomIconName()
-
-