Class MarkupAnnotationType


  • public class MarkupAnnotationType
    extends BaseAnnotationType
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:p23729_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:p441386_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:p50928_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">An annotation that adds a text markup to a page.</p>
     

    Java class for MarkupAnnotationType complex type

    .

    The following schema fragment specifies the expected content contained within this class.

    
     <complexType name="MarkupAnnotationType">
       <complexContent>
         <extension base="{http://schema.webpdf.de/1.0/operation}BaseAnnotationType">
           <all>
             <element name="position" minOccurs="0">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <choice maxOccurs="unbounded" minOccurs="0">
                       <element name="pathElement" type="{http://schema.webpdf.de/1.0/operation}RectangleType"/>
                       <element name="quadrilateral" type="{http://schema.webpdf.de/1.0/operation}QuadrilateralType"/>
                     </choice>
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
           </all>
           <attribute name="markupType" type="{http://schema.webpdf.de/1.0/operation}MarkupsAnnotationType" default="highlight" />
         </extension>
       </complexContent>
     </complexType>
     
    • Field Detail

      • position

        protected MarkupAnnotationType.Position position
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p23729_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:p441386_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:p50928_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to define the pathelements in which the annotation shall be positioned.</p>
         
      • markupType

        protected MarkupsAnnotationType markupType
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p23729_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:p441386_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:p50928_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to set the type of markup. The following values are available:
                                         <ul><li>highlight = Highlights text</li><li>underline = Underlines text with a straight line</li><li>strikeOut = Strikes text through</li><li>squiggly = Underlines text with a squiggly line</li></ul></p>
         
    • Constructor Detail

      • MarkupAnnotationType

        public MarkupAnnotationType()
    • Method Detail

      • getPosition

        public MarkupAnnotationType.Position getPosition()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p23729_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:p441386_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:p50928_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to define the pathelements in which the annotation shall be positioned.</p>
         
        Returns:
        possible object is MarkupAnnotationType.Position
      • isSetPosition

        public boolean isSetPosition()
      • getMarkupType

        public MarkupsAnnotationType getMarkupType()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p23729_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:p441386_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:p50928_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to set the type of markup. The following values are available:
                                         <ul><li>highlight = Highlights text</li><li>underline = Underlines text with a straight line</li><li>strikeOut = Strikes text through</li><li>squiggly = Underlines text with a squiggly line</li></ul></p>
         
        Returns:
        possible object is MarkupsAnnotationType
      • isSetMarkupType

        public boolean isSetMarkupType()