Class Macrosheet

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

public class Macrosheet extends Object implements Child

Java class for CT_Macrosheet complex type.

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

 <complexType name="CT_Macrosheet">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="sheetPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SheetPr" minOccurs="0"/>
         <element name="dimension" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SheetDimension" minOccurs="0"/>
         <element name="sheetViews" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SheetViews" minOccurs="0"/>
         <element name="sheetFormatPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SheetFormatPr" minOccurs="0"/>
         <element name="cols" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Cols" maxOccurs="unbounded" minOccurs="0"/>
         <element name="sheetData" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SheetData"/>
         <element name="sheetProtection" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SheetProtection" minOccurs="0"/>
         <element name="autoFilter" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_AutoFilter" minOccurs="0"/>
         <element name="sortState" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SortState" minOccurs="0"/>
         <element name="dataConsolidate" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_DataConsolidate" minOccurs="0"/>
         <element name="customSheetViews" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CustomSheetViews" minOccurs="0"/>
         <element name="phoneticPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_PhoneticPr" minOccurs="0"/>
         <element name="conditionalFormatting" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ConditionalFormatting" maxOccurs="unbounded" minOccurs="0"/>
         <element name="printOptions" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_PrintOptions" minOccurs="0"/>
         <element name="pageMargins" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_PageMargins" minOccurs="0"/>
         <element name="pageSetup" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_PageSetup" minOccurs="0"/>
         <element name="headerFooter" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_HeaderFooter" minOccurs="0"/>
         <element name="rowBreaks" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_PageBreak" minOccurs="0"/>
         <element name="colBreaks" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_PageBreak" minOccurs="0"/>
         <element name="customProperties" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CustomProperties" minOccurs="0"/>
         <element name="drawing" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Drawing" minOccurs="0"/>
         <element name="legacyDrawing" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_LegacyDrawing" minOccurs="0"/>
         <element name="legacyDrawingHF" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_LegacyDrawing" minOccurs="0"/>
         <element name="drawingHF" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_DrawingHF" minOccurs="0"/>
         <element name="picture" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SheetBackgroundPicture" minOccurs="0"/>
         <element name="oleObjects" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_OleObjects" minOccurs="0"/>
         <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Macrosheet

      public Macrosheet()
  • Method Details

    • getSheetPr

      public CTSheetPr getSheetPr()
      Gets the value of the sheetPr property.
      Returns:
      possible object is CTSheetPr
    • setSheetPr

      public void setSheetPr(CTSheetPr value)
      Sets the value of the sheetPr property.
      Parameters:
      value - allowed object is CTSheetPr
    • getDimension

      public CTSheetDimension getDimension()
      Gets the value of the dimension property.
      Returns:
      possible object is CTSheetDimension
    • setDimension

      public void setDimension(CTSheetDimension value)
      Sets the value of the dimension property.
      Parameters:
      value - allowed object is CTSheetDimension
    • getSheetViews

      public SheetViews getSheetViews()
      Gets the value of the sheetViews property.
      Returns:
      possible object is SheetViews
    • setSheetViews

      public void setSheetViews(SheetViews value)
      Sets the value of the sheetViews property.
      Parameters:
      value - allowed object is SheetViews
    • getSheetFormatPr

      public CTSheetFormatPr getSheetFormatPr()
      Gets the value of the sheetFormatPr property.
      Returns:
      possible object is CTSheetFormatPr
    • setSheetFormatPr

      public void setSheetFormatPr(CTSheetFormatPr value)
      Sets the value of the sheetFormatPr property.
      Parameters:
      value - allowed object is CTSheetFormatPr
    • getCols

      public List<Cols> getCols()
      Gets the value of the cols property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the cols property.

      For example, to add a new item, do as follows:

          getCols().add(newItem);
       

      Objects of the following type(s) are allowed in the list Cols

    • getSheetData

      public SheetData getSheetData()
      Gets the value of the sheetData property.
      Returns:
      possible object is SheetData
    • setSheetData

      public void setSheetData(SheetData value)
      Sets the value of the sheetData property.
      Parameters:
      value - allowed object is SheetData
    • getSheetProtection

      public CTSheetProtection getSheetProtection()
      Gets the value of the sheetProtection property.
      Returns:
      possible object is CTSheetProtection
    • setSheetProtection

      public void setSheetProtection(CTSheetProtection value)
      Sets the value of the sheetProtection property.
      Parameters:
      value - allowed object is CTSheetProtection
    • getAutoFilter

      public CTAutoFilter getAutoFilter()
      Gets the value of the autoFilter property.
      Returns:
      possible object is CTAutoFilter
    • setAutoFilter

      public void setAutoFilter(CTAutoFilter value)
      Sets the value of the autoFilter property.
      Parameters:
      value - allowed object is CTAutoFilter
    • getSortState

      public CTSortState getSortState()
      Gets the value of the sortState property.
      Returns:
      possible object is CTSortState
    • setSortState

      public void setSortState(CTSortState value)
      Sets the value of the sortState property.
      Parameters:
      value - allowed object is CTSortState
    • getDataConsolidate

      public CTDataConsolidate getDataConsolidate()
      Gets the value of the dataConsolidate property.
      Returns:
      possible object is CTDataConsolidate
    • setDataConsolidate

      public void setDataConsolidate(CTDataConsolidate value)
      Sets the value of the dataConsolidate property.
      Parameters:
      value - allowed object is CTDataConsolidate
    • getCustomSheetViews

      public CTCustomSheetViews getCustomSheetViews()
      Gets the value of the customSheetViews property.
      Returns:
      possible object is CTCustomSheetViews
    • setCustomSheetViews

      public void setCustomSheetViews(CTCustomSheetViews value)
      Sets the value of the customSheetViews property.
      Parameters:
      value - allowed object is CTCustomSheetViews
    • getPhoneticPr

      public CTPhoneticPr getPhoneticPr()
      Gets the value of the phoneticPr property.
      Returns:
      possible object is CTPhoneticPr
    • setPhoneticPr

      public void setPhoneticPr(CTPhoneticPr value)
      Sets the value of the phoneticPr property.
      Parameters:
      value - allowed object is CTPhoneticPr
    • getConditionalFormatting

      public List<CTConditionalFormatting> getConditionalFormatting()
      Gets the value of the conditionalFormatting property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the conditionalFormatting property.

      For example, to add a new item, do as follows:

          getConditionalFormatting().add(newItem);
       

      Objects of the following type(s) are allowed in the list CTConditionalFormatting

    • getPrintOptions

      public CTPrintOptions getPrintOptions()
      Gets the value of the printOptions property.
      Returns:
      possible object is CTPrintOptions
    • setPrintOptions

      public void setPrintOptions(CTPrintOptions value)
      Sets the value of the printOptions property.
      Parameters:
      value - allowed object is CTPrintOptions
    • getPageMargins

      public CTPageMargins getPageMargins()
      Gets the value of the pageMargins property.
      Returns:
      possible object is CTPageMargins
    • setPageMargins

      public void setPageMargins(CTPageMargins value)
      Sets the value of the pageMargins property.
      Parameters:
      value - allowed object is CTPageMargins
    • getPageSetup

      public CTPageSetup getPageSetup()
      Gets the value of the pageSetup property.
      Returns:
      possible object is CTPageSetup
    • setPageSetup

      public void setPageSetup(CTPageSetup value)
      Sets the value of the pageSetup property.
      Parameters:
      value - allowed object is CTPageSetup
    • getHeaderFooter

      public CTHeaderFooter getHeaderFooter()
      Gets the value of the headerFooter property.
      Returns:
      possible object is CTHeaderFooter
    • setHeaderFooter

      public void setHeaderFooter(CTHeaderFooter value)
      Sets the value of the headerFooter property.
      Parameters:
      value - allowed object is CTHeaderFooter
    • getRowBreaks

      public CTPageBreak getRowBreaks()
      Gets the value of the rowBreaks property.
      Returns:
      possible object is CTPageBreak
    • setRowBreaks

      public void setRowBreaks(CTPageBreak value)
      Sets the value of the rowBreaks property.
      Parameters:
      value - allowed object is CTPageBreak
    • getColBreaks

      public CTPageBreak getColBreaks()
      Gets the value of the colBreaks property.
      Returns:
      possible object is CTPageBreak
    • setColBreaks

      public void setColBreaks(CTPageBreak value)
      Sets the value of the colBreaks property.
      Parameters:
      value - allowed object is CTPageBreak
    • getCustomProperties

      public CTCustomProperties getCustomProperties()
      Gets the value of the customProperties property.
      Returns:
      possible object is CTCustomProperties
    • setCustomProperties

      public void setCustomProperties(CTCustomProperties value)
      Sets the value of the customProperties property.
      Parameters:
      value - allowed object is CTCustomProperties
    • getDrawing

      public CTDrawing getDrawing()
      Gets the value of the drawing property.
      Returns:
      possible object is CTDrawing
    • setDrawing

      public void setDrawing(CTDrawing value)
      Sets the value of the drawing property.
      Parameters:
      value - allowed object is CTDrawing
    • getLegacyDrawing

      public CTLegacyDrawing getLegacyDrawing()
      Gets the value of the legacyDrawing property.
      Returns:
      possible object is CTLegacyDrawing
    • setLegacyDrawing

      public void setLegacyDrawing(CTLegacyDrawing value)
      Sets the value of the legacyDrawing property.
      Parameters:
      value - allowed object is CTLegacyDrawing
    • getLegacyDrawingHF

      public CTLegacyDrawing getLegacyDrawingHF()
      Gets the value of the legacyDrawingHF property.
      Returns:
      possible object is CTLegacyDrawing
    • setLegacyDrawingHF

      public void setLegacyDrawingHF(CTLegacyDrawing value)
      Sets the value of the legacyDrawingHF property.
      Parameters:
      value - allowed object is CTLegacyDrawing
    • getDrawingHF

      public CTDrawingHF getDrawingHF()
      Gets the value of the drawingHF property.
      Returns:
      possible object is CTDrawingHF
    • setDrawingHF

      public void setDrawingHF(CTDrawingHF value)
      Sets the value of the drawingHF property.
      Parameters:
      value - allowed object is CTDrawingHF
    • getPicture

      public CTSheetBackgroundPicture getPicture()
      Gets the value of the picture property.
      Returns:
      possible object is CTSheetBackgroundPicture
    • setPicture

      public void setPicture(CTSheetBackgroundPicture value)
      Sets the value of the picture property.
      Parameters:
      value - allowed object is CTSheetBackgroundPicture
    • getOleObjects

      public CTOleObjects getOleObjects()
      Gets the value of the oleObjects property.
      Returns:
      possible object is CTOleObjects
    • setOleObjects

      public void setOleObjects(CTOleObjects value)
      Sets the value of the oleObjects property.
      Parameters:
      value - allowed object is CTOleObjects
    • getExtLst

      public CTExtensionList getExtLst()
      Gets the value of the extLst property.
      Returns:
      possible object is CTExtensionList
    • setExtLst

      public void setExtLst(CTExtensionList value)
      Sets the value of the extLst property.
      Parameters:
      value - allowed object is CTExtensionList
    • 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.