Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   *  Copyright 2010-2013, Plutext Pty Ltd.
   *   
   *  This file is part of xlsx4j, a component of docx4j.
  
      docx4j is licensed under the Apache License, Version 2.0 (the "License"); 
      you may not use this file except in compliance with the License. 
  
      You may obtain a copy of the License at 
 
         http://www.apache.org/licenses/LICENSE-2.0 
 
     Unless required by applicable law or agreed to in writing, software 
     distributed under the License is distributed on an "AS IS" BASIS, 
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
     See the License for the specific language governing permissions and 
     limitations under the License.
 
  */
 package org.xlsx4j.sml;
 

Java class for CT_Chartsheet complex type.

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

 <complexType name="CT_Chartsheet">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="sheetPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ChartsheetPr" minOccurs="0"/>
         <element name="sheetViews" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ChartsheetViews"/>
         <element name="sheetProtection" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ChartsheetProtection" minOccurs="0"/>
         <element name="customSheetViews" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CustomChartsheetViews" 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_CsPageSetup" minOccurs="0"/>
         <element name="headerFooter" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_HeaderFooter" minOccurs="0"/>
         <element name="drawing" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Drawing"/>
         <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="webPublishItems" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_WebPublishItems" minOccurs="0"/>
         <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "CT_Chartsheet", propOrder = {
     "sheetPr",
     "sheetViews",
     "sheetProtection",
     "customSheetViews",
     "pageMargins",
     "pageSetup",
     "headerFooter",
     "drawing",
     "legacyDrawing",
     "legacyDrawingHF",
     "drawingHF",
     "picture",
     "webPublishItems",
     "extLst"
 })
 public class CTChartsheet implements Child
 {
 
     protected CTChartsheetPr sheetPr;
     @XmlElement(required = true)
     protected CTChartsheetViews sheetViews;
     protected CTPageMargins pageMargins;
     protected CTCsPageSetup pageSetup;
     protected CTHeaderFooter headerFooter;
     @XmlElement(required = true)
     protected CTDrawing drawing;
     protected CTLegacyDrawing legacyDrawing;
     protected CTLegacyDrawing legacyDrawingHF;
     protected CTDrawingHF drawingHF;
     protected CTSheetBackgroundPicture picture;
     protected CTWebPublishItems webPublishItems;
     protected CTExtensionList extLst;
     @XmlTransient
    private Object parent;

    
Gets the value of the sheetPr property.

Returns:
possible object is
    public CTChartsheetPr getSheetPr() {
        return ;
    }

    
Sets the value of the sheetPr property.

Parameters:
value allowed object is
    public void setSheetPr(CTChartsheetPr value) {
        this. = value;
    }

    
Gets the value of the sheetViews property.

Returns:
possible object is
    public CTChartsheetViews getSheetViews() {
        return ;
    }

    
Sets the value of the sheetViews property.

Parameters:
value allowed object is
    public void setSheetViews(CTChartsheetViews value) {
        this. = value;
    }

    
Gets the value of the sheetProtection property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the sheetProtection property.

Parameters:
value allowed object is
    public void setSheetProtection(CTChartsheetProtection value) {
        this. = value;
    }

    
Gets the value of the customSheetViews property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the customSheetViews property.

Parameters:
value allowed object is
    public void setCustomSheetViews(CTCustomChartsheetViews value) {
        this. = value;
    }

    
Gets the value of the pageMargins property.

Returns:
possible object is
    public CTPageMargins getPageMargins() {
        return ;
    }

    
Sets the value of the pageMargins property.

Parameters:
value allowed object is
    public void setPageMargins(CTPageMargins value) {
        this. = value;
    }

    
Gets the value of the pageSetup property.

Returns:
possible object is
    public CTCsPageSetup getPageSetup() {
        return ;
    }

    
Sets the value of the pageSetup property.

Parameters:
value allowed object is
    public void setPageSetup(CTCsPageSetup value) {
        this. = value;
    }

    
Gets the value of the headerFooter property.

Returns:
possible object is
    public CTHeaderFooter getHeaderFooter() {
        return ;
    }

    
Sets the value of the headerFooter property.

Parameters:
value allowed object is
    public void setHeaderFooter(CTHeaderFooter value) {
        this. = value;
    }

    
Gets the value of the drawing property.

Returns:
possible object is
    public CTDrawing getDrawing() {
        return ;
    }

    
Sets the value of the drawing property.

Parameters:
value allowed object is
    public void setDrawing(CTDrawing value) {
        this. = value;
    }

    
Gets the value of the legacyDrawing property.

Returns:
possible object is
    public CTLegacyDrawing getLegacyDrawing() {
        return ;
    }

    
Sets the value of the legacyDrawing property.

Parameters:
value allowed object is
    public void setLegacyDrawing(CTLegacyDrawing value) {
        this. = value;
    }

    
Gets the value of the legacyDrawingHF property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the legacyDrawingHF property.

Parameters:
value allowed object is
    public void setLegacyDrawingHF(CTLegacyDrawing value) {
        this. = value;
    }

    
Gets the value of the drawingHF property.

Returns:
possible object is
    public CTDrawingHF getDrawingHF() {
        return ;
    }

    
Sets the value of the drawingHF property.

Parameters:
value allowed object is
    public void setDrawingHF(CTDrawingHF value) {
        this. = value;
    }

    
Gets the value of the picture property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the picture property.

Parameters:
value allowed object is
    public void setPicture(CTSheetBackgroundPicture value) {
        this. = value;
    }

    
Gets the value of the webPublishItems property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the webPublishItems property.

Parameters:
value allowed object is
    public void setWebPublishItems(CTWebPublishItems value) {
        this. = value;
    }

    
Gets the value of the extLst property.

Returns:
possible object is
    public CTExtensionList getExtLst() {
        return ;
    }

    
Sets the value of the extLst property.

Parameters:
value allowed object is
    public void setExtLst(CTExtensionList value) {
        this. = value;
    }

    
Gets the parent object in the object tree representing the unmarshalled xml document.

Returns:
The parent object.
    public Object getParent() {
        return this.;
    }
    public void setParent(Object parent) {
        this. = 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.
    public void afterUnmarshal(Unmarshaller unmarshallerObject parent) {
        setParent(parent);
    }
New to GrepCode? Check out our FAQ X