Class ConverterTextType


  • public class ConverterTextType
    extends Object
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:p383362_="https://jakarta.ee/xml/ns/jaxb" xmlns:p837822_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">The settings are used in purely text-based files that can contain source code that would make syntax highlighting advisable. If you configure this element, the system will attempt, during conversion, to detect whether and in which programming/script language content is stored. Based on the result, it will then determine the type of highlighting (in the generated PDF document) is required.
                         SyntaxHighlighter and TextHighlighter are specified alternately. If the syntax highlighter is unable to determine whether the contents belong to any language it knows, the text highlighter will be used instead for formatting.
                     </p>
     

    Java class for ConverterTextType complex type.

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

    
     <complexType name="ConverterTextType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <all>
             <element name="syntaxHighlight" type="{http://schema.webpdf.de/1.0/operation}SyntaxHighlightType" minOccurs="0"/>
             <element name="textHighlight" type="{http://schema.webpdf.de/1.0/operation}TextHighlightType" minOccurs="0"/>
           </all>
           <attribute name="useSyntaxDetection" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • ConverterTextType

        public ConverterTextType()
    • Method Detail

      • setSyntaxHighlight

        public void setSyntaxHighlight​(SyntaxHighlightType value)
        Sets the value of the syntaxHighlight property.
        Parameters:
        value - allowed object is SyntaxHighlightType
      • isSetSyntaxHighlight

        public boolean isSetSyntaxHighlight()
      • setTextHighlight

        public void setTextHighlight​(TextHighlightType value)
        Sets the value of the textHighlight property.
        Parameters:
        value - allowed object is TextHighlightType
      • isSetTextHighlight

        public boolean isSetTextHighlight()
      • isUseSyntaxDetection

        public boolean isUseSyntaxDetection()
        Gets the value of the useSyntaxDetection property.
        Returns:
        possible object is Boolean
      • setUseSyntaxDetection

        public void setUseSyntaxDetection​(boolean value)
        Sets the value of the useSyntaxDetection property.
        Parameters:
        value - allowed object is Boolean
      • isSetUseSyntaxDetection

        public boolean isSetUseSyntaxDetection()
      • unsetUseSyntaxDetection

        public void unsetUseSyntaxDetection()