Class CTPrintOptions

java.lang.Object
org.xlsx4j.sml.CTPrintOptions
All Implemented Interfaces:
Child

public class CTPrintOptions extends Object implements Child

Java class for CT_PrintOptions complex type.

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

 <complexType name="CT_PrintOptions">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="horizontalCentered" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="verticalCentered" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="headings" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="gridLines" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="gridLinesSet" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • horizontalCentered

      protected Boolean horizontalCentered
    • verticalCentered

      protected Boolean verticalCentered
    • headings

      protected Boolean headings
    • gridLines

      protected Boolean gridLines
    • gridLinesSet

      protected Boolean gridLinesSet
  • Constructor Details

    • CTPrintOptions

      public CTPrintOptions()
  • Method Details

    • isHorizontalCentered

      public boolean isHorizontalCentered()
      Gets the value of the horizontalCentered property.
      Returns:
      possible object is Boolean
    • setHorizontalCentered

      public void setHorizontalCentered(Boolean value)
      Sets the value of the horizontalCentered property.
      Parameters:
      value - allowed object is Boolean
    • isVerticalCentered

      public boolean isVerticalCentered()
      Gets the value of the verticalCentered property.
      Returns:
      possible object is Boolean
    • setVerticalCentered

      public void setVerticalCentered(Boolean value)
      Sets the value of the verticalCentered property.
      Parameters:
      value - allowed object is Boolean
    • isHeadings

      public boolean isHeadings()
      Gets the value of the headings property.
      Returns:
      possible object is Boolean
    • setHeadings

      public void setHeadings(Boolean value)
      Sets the value of the headings property.
      Parameters:
      value - allowed object is Boolean
    • isGridLines

      public boolean isGridLines()
      Gets the value of the gridLines property.
      Returns:
      possible object is Boolean
    • setGridLines

      public void setGridLines(Boolean value)
      Sets the value of the gridLines property.
      Parameters:
      value - allowed object is Boolean
    • isGridLinesSet

      public boolean isGridLinesSet()
      Gets the value of the gridLinesSet property.
      Returns:
      possible object is Boolean
    • setGridLinesSet

      public void setGridLinesSet(Boolean value)
      Sets the value of the gridLinesSet property.
      Parameters:
      value - allowed object is Boolean
    • getParent

      public Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent(Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent)
      This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
      Parameters:
      parent - The parent object in the object tree.
      unmarshaller - The unmarshaller that generated the instance.