diff --git a/src/xlsx4j/java/org/xlsx4j/sml/BookViews.java b/src/xlsx4j/java/org/xlsx4j/sml/BookViews.java index 3c497d17bb..5f1c40b21d 100644 --- a/src/xlsx4j/java/org/xlsx4j/sml/BookViews.java +++ b/src/xlsx4j/java/org/xlsx4j/sml/BookViews.java @@ -1,89 +1,101 @@ -/* - * Copyright 2010, Plutext Pty Ltd. - * - * This file is part 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; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *
Java class for CT_BookViews complex type. - * - *
The following schema fragment specifies the expected content contained within this class. - * - *
- * <complexType name="CT_BookViews"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="workbookView" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BookView" maxOccurs="unbounded"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - *- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CT_BookViews", propOrder = { - "workbookView" -}) -public class BookViews { - - @XmlElement(required = true) - protected List
- * 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 workbookView property.
- *
- *
- * For example, to add a new item, do as follows: - *
- * getWorkbookView().add(newItem); - *- * - * - *
- * Objects of the following type(s) are allowed in the list
- * {@link CTBookView }
- *
- *
- */
- public List Java class for CT_BookViews complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTBookView }
+ *
+ *
+ */
+ public List Java class for CT_Authors complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link String }
- *
- *
- */
- public List Java class for CT_Authors complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List Java class for CT_AutoFilter complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link CTFilterColumn }
- *
- *
- */
- public List Java class for CT_AutoFilter complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTFilterColumn }
+ *
+ *
+ */
+ public List Java class for CT_AutoSortScope complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_AutoSortScope complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_BookView complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_BookView complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_Boolean complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link CTX }
- *
- *
- */
- public List Java class for CT_Boolean complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTX }
+ *
+ *
+ */
+ public List Java class for CT_BooleanProperty complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_BooleanProperty complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_Border complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_Border complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_BorderPr complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_BorderPr complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_Borders complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link CTBorder }
- *
- *
- */
- public List Java class for CT_Borders complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTBorder }
+ *
+ *
+ */
+ public List Java class for CT_Break complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_Break complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_CacheField complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link CTX }
- *
- *
- */
- public List Java class for CT_CacheField complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTX }
+ *
+ *
+ */
+ public List Java class for CT_CacheFields complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link CTCacheField }
- *
- *
- */
- public List Java class for CT_CacheFields complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTCacheField }
+ *
+ *
+ */
+ public List Java class for CT_CacheHierarchies complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link CTCacheHierarchy }
- *
- *
- */
- public List Java class for CT_CacheHierarchies complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTCacheHierarchy }
+ *
+ *
+ */
+ public List Java class for CT_CacheHierarchy complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_CacheHierarchy complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_CacheSource complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_CacheSource complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_CalcCell complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_CalcCell complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_CalcChain complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link CTCalcCell }
- *
- *
- */
- public List Java class for CT_CalcChain complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTCalcCell }
+ *
+ *
+ */
+ public List Java class for CT_CalcPr complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_CalcPr complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_CalculatedItem complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_CalculatedItem complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_CalculatedItems complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link CTCalculatedItem }
- *
- *
- */
- public List Java class for CT_CalculatedItems complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTCalculatedItem }
+ *
+ *
+ */
+ public List Java class for CT_CalculatedMember complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_CalculatedMember complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_CalculatedMembers complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link CTCalculatedMember }
- *
- *
- */
- public List Java class for CT_CalculatedMembers complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTCalculatedMember }
+ *
+ *
+ */
+ public List Java class for CT_CellAlignment complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_CellAlignment complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_CellFormula complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_CellFormula complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_CellProtection complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_CellProtection complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_CellSmartTag complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link CTCellSmartTagPr }
- *
- *
- */
- public List Java class for CT_CellSmartTag complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTCellSmartTagPr }
+ *
+ *
+ */
+ public List Java class for CT_CellSmartTagPr complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_CellSmartTagPr complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_CellSmartTags complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link CTCellSmartTag }
- *
- *
- */
- public List Java class for CT_CellSmartTags complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTCellSmartTag }
+ *
+ *
+ */
+ public List Java class for CT_CellStyle complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_CellStyle complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_CellStyleXfs complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link CTXf }
- *
- *
- */
- public List Java class for CT_CellStyleXfs complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTXf }
+ *
+ *
+ */
+ public List Java class for CT_CellStyles complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link CTCellStyle }
- *
- *
- */
- public List Java class for CT_CellStyles complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTCellStyle }
+ *
+ *
+ */
+ public List Java class for CT_CellWatch complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_CellWatch complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_CellWatches complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link CTCellWatch }
- *
- *
- */
- public List Java class for CT_CellWatches complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTCellWatch }
+ *
+ *
+ */
+ public List Java class for CT_CellXfs complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link CTXf }
- *
- *
- */
- public List Java class for CT_CellXfs complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTXf }
+ *
+ *
+ */
+ public List Java class for CT_CfRule complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link String }
- *
- *
- */
- public List Java class for CT_CfRule complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List Java class for CT_Cfvo complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_Cfvo complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_ChartFormat complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_ChartFormat complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_ChartFormats complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link CTChartFormat }
- *
- *
- */
- public List Java class for CT_ChartFormats complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTChartFormat }
+ *
+ *
+ */
+ public List Java class for CT_Chartsheet complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_Chartsheet complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_ChartsheetPr complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_ChartsheetPr complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_ChartsheetProtection complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_ChartsheetProtection complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_ChartsheetView complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_ChartsheetView complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_ChartsheetViews complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link CTChartsheetView }
- *
- *
- */
- public List Java class for CT_ChartsheetViews complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTChartsheetView }
+ *
+ *
+ */
+ public List Java class for CT_ColFields complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link CTField }
- *
- *
- */
- public List Java class for CT_ColFields complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTField }
+ *
+ *
+ */
+ public List Java class for CT_ColHierarchiesUsage complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link CTHierarchyUsage }
- *
- *
- */
- public List Java class for CT_ColHierarchiesUsage complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTHierarchyUsage }
+ *
+ *
+ */
+ public List Java class for CT_colItems complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link CTI }
- *
- *
- */
- public List Java class for CT_colItems complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTI }
+ *
+ *
+ */
+ public List Java class for CT_Color complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_Color complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_ColorFilter complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_ColorFilter complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_ColorScale complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link CTCfvo }
- *
- *
- */
- public List
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link CTColor }
- *
- *
- */
- public List Java class for CT_ColorScale complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTCfvo }
+ *
+ *
+ */
+ public List
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTColor }
+ *
+ *
+ */
+ public List Java class for CT_Colors complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_Colors complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_Comment complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_Comment complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_CommentList complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link CTComment }
- *
- *
- */
- public List Java class for CT_CommentList complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTComment }
+ *
+ *
+ */
+ public List Java class for CT_CommentPr complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_Comments complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_Comments complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_ConditionalFormat complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_ConditionalFormat complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_ConditionalFormats complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link CTConditionalFormat }
- *
- *
- */
- public List Java class for CT_ConditionalFormats complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTConditionalFormat }
+ *
+ *
+ */
+ public List Java class for CT_ConditionalFormatting complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link CTCfRule }
- *
- *
- */
- public List
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link String }
- *
- *
- */
- public List Java class for CT_ConditionalFormatting complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTCfRule }
+ *
+ *
+ */
+ public List
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List Java class for CT_Connection complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_Connection complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_Connections complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link CTConnection }
- *
- *
- */
- public List Java class for CT_Connections complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTConnection }
+ *
+ *
+ */
+ public List Java class for CT_Consolidation complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_Consolidation complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_Control complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_Control complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_ControlPr complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_Controls complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link CTControl }
- *
- *
- */
- public List Java class for CT_Controls complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTControl }
+ *
+ *
+ */
+ public List Java class for CT_CsPageSetup complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_CsPageSetup complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_CustomChartsheetView complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for CT_CustomChartsheetView complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for CT_CustomChartsheetViews complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * 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
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link CTCustomChartsheetView }
- *
- *
- */
- public List Java class for CT_CustomChartsheetViews complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link CTCustomChartsheetView }
+ *
+ *
+ */
+ public List
+ * <complexType name="CT_BookViews">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="workbookView" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BookView" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_BookViews", propOrder = {
+ "workbookView"
+})
+public class BookViews implements Child
+{
+
+ @XmlElement(required = true)
+ protected Listset
method for the workbookView property.
+ *
+ *
+ * getWorkbookView().add(newItem);
+ *
+ *
+ *
+ *
- * <complexType name="CT_Authors">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="author" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" maxOccurs="unbounded" minOccurs="0"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_Authors", propOrder = {
- "author"
-})
-public class CTAuthors {
-
- protected Listset
method for the author property.
- *
- *
- * getAuthor().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_Authors">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="author" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_Authors", propOrder = {
+ "author"
+})
+public class CTAuthors implements Child
+{
+
+ protected Listset
method for the author property.
+ *
+ *
+ * getAuthor().add(newItem);
+ *
+ *
+ *
+ *
- * <complexType name="CT_AutoFilter">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="filterColumn" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_FilterColumn" maxOccurs="unbounded" minOccurs="0"/>
- * <element name="sortState" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SortState" minOccurs="0"/>
- * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
- * </sequence>
- * <attribute name="ref" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Ref" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_AutoFilter", propOrder = {
- "filterColumn",
- "sortState",
- "extLst"
-})
-public class CTAutoFilter {
-
- protected Listset
method for the filterColumn property.
- *
- *
- * getFilterColumn().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_AutoFilter">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="filterColumn" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_FilterColumn" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="sortState" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SortState" minOccurs="0"/>
+ * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="ref" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Ref" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_AutoFilter", propOrder = {
+ "filterColumn",
+ "sortState",
+ "extLst"
+})
+public class CTAutoFilter implements Child
+{
+
+ protected Listset
method for the filterColumn property.
+ *
+ *
+ * getFilterColumn().add(newItem);
+ *
+ *
+ *
+ *
- * <complexType name="CT_AutoSortScope">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="pivotArea" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_PivotArea"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_AutoSortScope", propOrder = {
- "pivotArea"
-})
-public class CTAutoSortScope {
-
- @XmlElement(required = true)
- protected CTPivotArea pivotArea;
-
- /**
- * Gets the value of the pivotArea property.
- *
- * @return
- * possible object is
- * {@link CTPivotArea }
- *
- */
- public CTPivotArea getPivotArea() {
- return pivotArea;
- }
-
- /**
- * Sets the value of the pivotArea property.
- *
- * @param value
- * allowed object is
- * {@link CTPivotArea }
- *
- */
- public void setPivotArea(CTPivotArea value) {
- this.pivotArea = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_AutoSortScope">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="pivotArea" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_PivotArea"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_AutoSortScope", propOrder = {
+ "pivotArea"
+})
+public class CTAutoSortScope implements Child
+{
+
+ @XmlElement(required = true)
+ protected CTPivotArea pivotArea;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the pivotArea property.
+ *
+ * @return
+ * possible object is
+ * {@link CTPivotArea }
+ *
+ */
+ public CTPivotArea getPivotArea() {
+ return pivotArea;
+ }
+
+ /**
+ * Sets the value of the pivotArea property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTPivotArea }
+ *
+ */
+ public void setPivotArea(CTPivotArea value) {
+ this.pivotArea = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTBookView.java b/src/xlsx4j/java/org/xlsx4j/sml/CTBookView.java
index 3f8fb58ece..c5ce34867f 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTBookView.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTBookView.java
@@ -1,474 +1,486 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlSchemaType;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_BookView">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
- * </sequence>
- * <attribute name="visibility" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Visibility" default="visible" />
- * <attribute name="minimized" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="showHorizontalScroll" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
- * <attribute name="showVerticalScroll" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
- * <attribute name="showSheetTabs" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
- * <attribute name="xWindow" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="yWindow" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="windowWidth" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * <attribute name="windowHeight" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * <attribute name="tabRatio" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="600" />
- * <attribute name="firstSheet" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
- * <attribute name="activeTab" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
- * <attribute name="autoFilterDateGrouping" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_BookView", propOrder = {
- "extLst"
-})
-public class CTBookView {
-
- protected CTExtensionList extLst;
- @XmlAttribute
- protected STVisibility visibility;
- @XmlAttribute
- protected Boolean minimized;
- @XmlAttribute
- protected Boolean showHorizontalScroll;
- @XmlAttribute
- protected Boolean showVerticalScroll;
- @XmlAttribute
- protected Boolean showSheetTabs;
- @XmlAttribute
- protected Integer xWindow;
- @XmlAttribute
- protected Integer yWindow;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long windowWidth;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long windowHeight;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long tabRatio;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long firstSheet;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long activeTab;
- @XmlAttribute
- protected Boolean autoFilterDateGrouping;
-
- /**
- * Gets the value of the extLst property.
- *
- * @return
- * possible object is
- * {@link CTExtensionList }
- *
- */
- public CTExtensionList getExtLst() {
- return extLst;
- }
-
- /**
- * Sets the value of the extLst property.
- *
- * @param value
- * allowed object is
- * {@link CTExtensionList }
- *
- */
- public void setExtLst(CTExtensionList value) {
- this.extLst = value;
- }
-
- /**
- * Gets the value of the visibility property.
- *
- * @return
- * possible object is
- * {@link STVisibility }
- *
- */
- public STVisibility getVisibility() {
- if (visibility == null) {
- return STVisibility.VISIBLE;
- } else {
- return visibility;
- }
- }
-
- /**
- * Sets the value of the visibility property.
- *
- * @param value
- * allowed object is
- * {@link STVisibility }
- *
- */
- public void setVisibility(STVisibility value) {
- this.visibility = value;
- }
-
- /**
- * Gets the value of the minimized property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isMinimized() {
- if (minimized == null) {
- return false;
- } else {
- return minimized;
- }
- }
-
- /**
- * Sets the value of the minimized property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setMinimized(Boolean value) {
- this.minimized = value;
- }
-
- /**
- * Gets the value of the showHorizontalScroll property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isShowHorizontalScroll() {
- if (showHorizontalScroll == null) {
- return true;
- } else {
- return showHorizontalScroll;
- }
- }
-
- /**
- * Sets the value of the showHorizontalScroll property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setShowHorizontalScroll(Boolean value) {
- this.showHorizontalScroll = value;
- }
-
- /**
- * Gets the value of the showVerticalScroll property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isShowVerticalScroll() {
- if (showVerticalScroll == null) {
- return true;
- } else {
- return showVerticalScroll;
- }
- }
-
- /**
- * Sets the value of the showVerticalScroll property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setShowVerticalScroll(Boolean value) {
- this.showVerticalScroll = value;
- }
-
- /**
- * Gets the value of the showSheetTabs property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isShowSheetTabs() {
- if (showSheetTabs == null) {
- return true;
- } else {
- return showSheetTabs;
- }
- }
-
- /**
- * Sets the value of the showSheetTabs property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setShowSheetTabs(Boolean value) {
- this.showSheetTabs = value;
- }
-
- /**
- * Gets the value of the xWindow property.
- *
- * @return
- * possible object is
- * {@link Integer }
- *
- */
- public Integer getXWindow() {
- return xWindow;
- }
-
- /**
- * Sets the value of the xWindow property.
- *
- * @param value
- * allowed object is
- * {@link Integer }
- *
- */
- public void setXWindow(Integer value) {
- this.xWindow = value;
- }
-
- /**
- * Gets the value of the yWindow property.
- *
- * @return
- * possible object is
- * {@link Integer }
- *
- */
- public Integer getYWindow() {
- return yWindow;
- }
-
- /**
- * Sets the value of the yWindow property.
- *
- * @param value
- * allowed object is
- * {@link Integer }
- *
- */
- public void setYWindow(Integer value) {
- this.yWindow = value;
- }
-
- /**
- * Gets the value of the windowWidth property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public Long getWindowWidth() {
- return windowWidth;
- }
-
- /**
- * Sets the value of the windowWidth property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setWindowWidth(Long value) {
- this.windowWidth = value;
- }
-
- /**
- * Gets the value of the windowHeight property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public Long getWindowHeight() {
- return windowHeight;
- }
-
- /**
- * Sets the value of the windowHeight property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setWindowHeight(Long value) {
- this.windowHeight = value;
- }
-
- /**
- * Gets the value of the tabRatio property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public long getTabRatio() {
- if (tabRatio == null) {
- return 600L;
- } else {
- return tabRatio;
- }
- }
-
- /**
- * Sets the value of the tabRatio property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setTabRatio(Long value) {
- this.tabRatio = value;
- }
-
- /**
- * Gets the value of the firstSheet property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public long getFirstSheet() {
- if (firstSheet == null) {
- return 0L;
- } else {
- return firstSheet;
- }
- }
-
- /**
- * Sets the value of the firstSheet property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setFirstSheet(Long value) {
- this.firstSheet = value;
- }
-
- /**
- * Gets the value of the activeTab property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public long getActiveTab() {
- if (activeTab == null) {
- return 0L;
- } else {
- return activeTab;
- }
- }
-
- /**
- * Sets the value of the activeTab property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setActiveTab(Long value) {
- this.activeTab = value;
- }
-
- /**
- * Gets the value of the autoFilterDateGrouping property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isAutoFilterDateGrouping() {
- if (autoFilterDateGrouping == null) {
- return true;
- } else {
- return autoFilterDateGrouping;
- }
- }
-
- /**
- * Sets the value of the autoFilterDateGrouping property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setAutoFilterDateGrouping(Boolean value) {
- this.autoFilterDateGrouping = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_BookView">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="visibility" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Visibility" default="visible" />
+ * <attribute name="minimized" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="showHorizontalScroll" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * <attribute name="showVerticalScroll" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * <attribute name="showSheetTabs" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * <attribute name="xWindow" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="yWindow" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="windowWidth" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * <attribute name="windowHeight" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * <attribute name="tabRatio" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="600" />
+ * <attribute name="firstSheet" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
+ * <attribute name="activeTab" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
+ * <attribute name="autoFilterDateGrouping" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_BookView", propOrder = {
+ "extLst"
+})
+public class CTBookView implements Child
+{
+
+ protected CTExtensionList extLst;
+ @XmlAttribute(name = "visibility")
+ protected STVisibility visibility;
+ @XmlAttribute(name = "minimized")
+ protected Boolean minimized;
+ @XmlAttribute(name = "showHorizontalScroll")
+ protected Boolean showHorizontalScroll;
+ @XmlAttribute(name = "showVerticalScroll")
+ protected Boolean showVerticalScroll;
+ @XmlAttribute(name = "showSheetTabs")
+ protected Boolean showSheetTabs;
+ @XmlAttribute(name = "xWindow")
+ protected Integer xWindow;
+ @XmlAttribute(name = "yWindow")
+ protected Integer yWindow;
+ @XmlAttribute(name = "windowWidth")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long windowWidth;
+ @XmlAttribute(name = "windowHeight")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long windowHeight;
+ @XmlAttribute(name = "tabRatio")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long tabRatio;
+ @XmlAttribute(name = "firstSheet")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long firstSheet;
+ @XmlAttribute(name = "activeTab")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long activeTab;
+ @XmlAttribute(name = "autoFilterDateGrouping")
+ protected Boolean autoFilterDateGrouping;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the extLst property.
+ *
+ * @return
+ * possible object is
+ * {@link CTExtensionList }
+ *
+ */
+ public CTExtensionList getExtLst() {
+ return extLst;
+ }
+
+ /**
+ * Sets the value of the extLst property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTExtensionList }
+ *
+ */
+ public void setExtLst(CTExtensionList value) {
+ this.extLst = value;
+ }
+
+ /**
+ * Gets the value of the visibility property.
+ *
+ * @return
+ * possible object is
+ * {@link STVisibility }
+ *
+ */
+ public STVisibility getVisibility() {
+ if (visibility == null) {
+ return STVisibility.VISIBLE;
+ } else {
+ return visibility;
+ }
+ }
+
+ /**
+ * Sets the value of the visibility property.
+ *
+ * @param value
+ * allowed object is
+ * {@link STVisibility }
+ *
+ */
+ public void setVisibility(STVisibility value) {
+ this.visibility = value;
+ }
+
+ /**
+ * Gets the value of the minimized property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isMinimized() {
+ if (minimized == null) {
+ return false;
+ } else {
+ return minimized;
+ }
+ }
+
+ /**
+ * Sets the value of the minimized property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setMinimized(Boolean value) {
+ this.minimized = value;
+ }
+
+ /**
+ * Gets the value of the showHorizontalScroll property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isShowHorizontalScroll() {
+ if (showHorizontalScroll == null) {
+ return true;
+ } else {
+ return showHorizontalScroll;
+ }
+ }
+
+ /**
+ * Sets the value of the showHorizontalScroll property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setShowHorizontalScroll(Boolean value) {
+ this.showHorizontalScroll = value;
+ }
+
+ /**
+ * Gets the value of the showVerticalScroll property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isShowVerticalScroll() {
+ if (showVerticalScroll == null) {
+ return true;
+ } else {
+ return showVerticalScroll;
+ }
+ }
+
+ /**
+ * Sets the value of the showVerticalScroll property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setShowVerticalScroll(Boolean value) {
+ this.showVerticalScroll = value;
+ }
+
+ /**
+ * Gets the value of the showSheetTabs property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isShowSheetTabs() {
+ if (showSheetTabs == null) {
+ return true;
+ } else {
+ return showSheetTabs;
+ }
+ }
+
+ /**
+ * Sets the value of the showSheetTabs property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setShowSheetTabs(Boolean value) {
+ this.showSheetTabs = value;
+ }
+
+ /**
+ * Gets the value of the xWindow property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public Integer getXWindow() {
+ return xWindow;
+ }
+
+ /**
+ * Sets the value of the xWindow property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setXWindow(Integer value) {
+ this.xWindow = value;
+ }
+
+ /**
+ * Gets the value of the yWindow property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public Integer getYWindow() {
+ return yWindow;
+ }
+
+ /**
+ * Sets the value of the yWindow property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setYWindow(Integer value) {
+ this.yWindow = value;
+ }
+
+ /**
+ * Gets the value of the windowWidth property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public Long getWindowWidth() {
+ return windowWidth;
+ }
+
+ /**
+ * Sets the value of the windowWidth property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setWindowWidth(Long value) {
+ this.windowWidth = value;
+ }
+
+ /**
+ * Gets the value of the windowHeight property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public Long getWindowHeight() {
+ return windowHeight;
+ }
+
+ /**
+ * Sets the value of the windowHeight property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setWindowHeight(Long value) {
+ this.windowHeight = value;
+ }
+
+ /**
+ * Gets the value of the tabRatio property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public long getTabRatio() {
+ if (tabRatio == null) {
+ return 600L;
+ } else {
+ return tabRatio;
+ }
+ }
+
+ /**
+ * Sets the value of the tabRatio property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setTabRatio(Long value) {
+ this.tabRatio = value;
+ }
+
+ /**
+ * Gets the value of the firstSheet property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public long getFirstSheet() {
+ if (firstSheet == null) {
+ return 0L;
+ } else {
+ return firstSheet;
+ }
+ }
+
+ /**
+ * Sets the value of the firstSheet property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setFirstSheet(Long value) {
+ this.firstSheet = value;
+ }
+
+ /**
+ * Gets the value of the activeTab property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public long getActiveTab() {
+ if (activeTab == null) {
+ return 0L;
+ } else {
+ return activeTab;
+ }
+ }
+
+ /**
+ * Sets the value of the activeTab property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setActiveTab(Long value) {
+ this.activeTab = value;
+ }
+
+ /**
+ * Gets the value of the autoFilterDateGrouping property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isAutoFilterDateGrouping() {
+ if (autoFilterDateGrouping == null) {
+ return true;
+ } else {
+ return autoFilterDateGrouping;
+ }
+ }
+
+ /**
+ * Sets the value of the autoFilterDateGrouping property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setAutoFilterDateGrouping(Boolean value) {
+ this.autoFilterDateGrouping = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTBoolean.java b/src/xlsx4j/java/org/xlsx4j/sml/CTBoolean.java
index 4c19ddd3d2..b2ddd1c22d 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTBoolean.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTBoolean.java
@@ -1,217 +1,229 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import java.util.ArrayList;
-import java.util.List;
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlSchemaType;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_Boolean">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="x" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_X" maxOccurs="unbounded" minOccurs="0"/>
- * </sequence>
- * <attribute name="v" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- * <attribute name="u" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- * <attribute name="f" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- * <attribute name="c" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
- * <attribute name="cp" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_Boolean", propOrder = {
- "x"
-})
-public class CTBoolean {
-
- protected Listset
method for the x property.
- *
- *
- * getX().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_Boolean">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="x" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_X" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="v" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="u" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="f" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="c" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * <attribute name="cp" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_Boolean", propOrder = {
+ "x"
+})
+public class CTBoolean implements Child
+{
+
+ protected Listset
method for the x property.
+ *
+ *
+ * getX().add(newItem);
+ *
+ *
+ *
+ *
- * <complexType name="CT_BooleanProperty">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <attribute name="val" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_BooleanProperty")
-public class CTBooleanProperty {
-
- @XmlAttribute
- protected Boolean val;
-
- /**
- * Gets the value of the val property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isVal() {
- if (val == null) {
- return true;
- } else {
- return val;
- }
- }
-
- /**
- * Sets the value of the val property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setVal(Boolean value) {
- this.val = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_BooleanProperty">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="val" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_BooleanProperty")
+public class CTBooleanProperty implements Child
+{
+
+ @XmlAttribute(name = "val")
+ protected Boolean val;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the val property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isVal() {
+ if (val == null) {
+ return true;
+ } else {
+ return val;
+ }
+ }
+
+ /**
+ * Sets the value of the val property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setVal(Boolean value) {
+ this.val = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTBorder.java b/src/xlsx4j/java/org/xlsx4j/sml/CTBorder.java
index 354c169bbe..ffb41a6f70 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTBorder.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTBorder.java
@@ -1,328 +1,394 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_Border">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="left" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BorderPr" minOccurs="0"/>
- * <element name="right" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BorderPr" minOccurs="0"/>
- * <element name="top" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BorderPr" minOccurs="0"/>
- * <element name="bottom" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BorderPr" minOccurs="0"/>
- * <element name="diagonal" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BorderPr" minOccurs="0"/>
- * <element name="vertical" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BorderPr" minOccurs="0"/>
- * <element name="horizontal" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BorderPr" minOccurs="0"/>
- * </sequence>
- * <attribute name="diagonalUp" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- * <attribute name="diagonalDown" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- * <attribute name="outline" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_Border", propOrder = {
- "left",
- "right",
- "top",
- "bottom",
- "diagonal",
- "vertical",
- "horizontal"
-})
-public class CTBorder {
-
- protected CTBorderPr left;
- protected CTBorderPr right;
- protected CTBorderPr top;
- protected CTBorderPr bottom;
- protected CTBorderPr diagonal;
- protected CTBorderPr vertical;
- protected CTBorderPr horizontal;
- @XmlAttribute
- protected Boolean diagonalUp;
- @XmlAttribute
- protected Boolean diagonalDown;
- @XmlAttribute
- protected Boolean outline;
-
- /**
- * Gets the value of the left property.
- *
- * @return
- * possible object is
- * {@link CTBorderPr }
- *
- */
- public CTBorderPr getLeft() {
- return left;
- }
-
- /**
- * Sets the value of the left property.
- *
- * @param value
- * allowed object is
- * {@link CTBorderPr }
- *
- */
- public void setLeft(CTBorderPr value) {
- this.left = value;
- }
-
- /**
- * Gets the value of the right property.
- *
- * @return
- * possible object is
- * {@link CTBorderPr }
- *
- */
- public CTBorderPr getRight() {
- return right;
- }
-
- /**
- * Sets the value of the right property.
- *
- * @param value
- * allowed object is
- * {@link CTBorderPr }
- *
- */
- public void setRight(CTBorderPr value) {
- this.right = value;
- }
-
- /**
- * Gets the value of the top property.
- *
- * @return
- * possible object is
- * {@link CTBorderPr }
- *
- */
- public CTBorderPr getTop() {
- return top;
- }
-
- /**
- * Sets the value of the top property.
- *
- * @param value
- * allowed object is
- * {@link CTBorderPr }
- *
- */
- public void setTop(CTBorderPr value) {
- this.top = value;
- }
-
- /**
- * Gets the value of the bottom property.
- *
- * @return
- * possible object is
- * {@link CTBorderPr }
- *
- */
- public CTBorderPr getBottom() {
- return bottom;
- }
-
- /**
- * Sets the value of the bottom property.
- *
- * @param value
- * allowed object is
- * {@link CTBorderPr }
- *
- */
- public void setBottom(CTBorderPr value) {
- this.bottom = value;
- }
-
- /**
- * Gets the value of the diagonal property.
- *
- * @return
- * possible object is
- * {@link CTBorderPr }
- *
- */
- public CTBorderPr getDiagonal() {
- return diagonal;
- }
-
- /**
- * Sets the value of the diagonal property.
- *
- * @param value
- * allowed object is
- * {@link CTBorderPr }
- *
- */
- public void setDiagonal(CTBorderPr value) {
- this.diagonal = value;
- }
-
- /**
- * Gets the value of the vertical property.
- *
- * @return
- * possible object is
- * {@link CTBorderPr }
- *
- */
- public CTBorderPr getVertical() {
- return vertical;
- }
-
- /**
- * Sets the value of the vertical property.
- *
- * @param value
- * allowed object is
- * {@link CTBorderPr }
- *
- */
- public void setVertical(CTBorderPr value) {
- this.vertical = value;
- }
-
- /**
- * Gets the value of the horizontal property.
- *
- * @return
- * possible object is
- * {@link CTBorderPr }
- *
- */
- public CTBorderPr getHorizontal() {
- return horizontal;
- }
-
- /**
- * Sets the value of the horizontal property.
- *
- * @param value
- * allowed object is
- * {@link CTBorderPr }
- *
- */
- public void setHorizontal(CTBorderPr value) {
- this.horizontal = value;
- }
-
- /**
- * Gets the value of the diagonalUp property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public Boolean isDiagonalUp() {
- return diagonalUp;
- }
-
- /**
- * Sets the value of the diagonalUp property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setDiagonalUp(Boolean value) {
- this.diagonalUp = value;
- }
-
- /**
- * Gets the value of the diagonalDown property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public Boolean isDiagonalDown() {
- return diagonalDown;
- }
-
- /**
- * Sets the value of the diagonalDown property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setDiagonalDown(Boolean value) {
- this.diagonalDown = value;
- }
-
- /**
- * Gets the value of the outline property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isOutline() {
- if (outline == null) {
- return true;
- } else {
- return outline;
- }
- }
-
- /**
- * Sets the value of the outline property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setOutline(Boolean value) {
- this.outline = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_Border">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="start" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BorderPr" minOccurs="0"/>
+ * <element name="end" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BorderPr" minOccurs="0"/>
+ * <element name="left" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BorderPr" minOccurs="0"/>
+ * <element name="right" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BorderPr" minOccurs="0"/>
+ * <element name="top" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BorderPr" minOccurs="0"/>
+ * <element name="bottom" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BorderPr" minOccurs="0"/>
+ * <element name="diagonal" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BorderPr" minOccurs="0"/>
+ * <element name="vertical" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BorderPr" minOccurs="0"/>
+ * <element name="horizontal" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BorderPr" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="diagonalUp" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="diagonalDown" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="outline" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_Border", propOrder = {
+ "start",
+ "end",
+ "left",
+ "right",
+ "top",
+ "bottom",
+ "diagonal",
+ "vertical",
+ "horizontal"
+})
+public class CTBorder implements Child
+{
+
+ protected CTBorderPr start;
+ protected CTBorderPr end;
+ protected CTBorderPr left;
+ protected CTBorderPr right;
+ protected CTBorderPr top;
+ protected CTBorderPr bottom;
+ protected CTBorderPr diagonal;
+ protected CTBorderPr vertical;
+ protected CTBorderPr horizontal;
+ @XmlAttribute(name = "diagonalUp")
+ protected Boolean diagonalUp;
+ @XmlAttribute(name = "diagonalDown")
+ protected Boolean diagonalDown;
+ @XmlAttribute(name = "outline")
+ protected Boolean outline;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the start property.
+ *
+ * @return
+ * possible object is
+ * {@link CTBorderPr }
+ *
+ */
+ public CTBorderPr getStart() {
+ return start;
+ }
+
+ /**
+ * Sets the value of the start property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTBorderPr }
+ *
+ */
+ public void setStart(CTBorderPr value) {
+ this.start = value;
+ }
+
+ /**
+ * Gets the value of the end property.
+ *
+ * @return
+ * possible object is
+ * {@link CTBorderPr }
+ *
+ */
+ public CTBorderPr getEnd() {
+ return end;
+ }
+
+ /**
+ * Sets the value of the end property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTBorderPr }
+ *
+ */
+ public void setEnd(CTBorderPr value) {
+ this.end = value;
+ }
+
+ /**
+ * Gets the value of the left property.
+ *
+ * @return
+ * possible object is
+ * {@link CTBorderPr }
+ *
+ */
+ public CTBorderPr getLeft() {
+ return left;
+ }
+
+ /**
+ * Sets the value of the left property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTBorderPr }
+ *
+ */
+ public void setLeft(CTBorderPr value) {
+ this.left = value;
+ }
+
+ /**
+ * Gets the value of the right property.
+ *
+ * @return
+ * possible object is
+ * {@link CTBorderPr }
+ *
+ */
+ public CTBorderPr getRight() {
+ return right;
+ }
+
+ /**
+ * Sets the value of the right property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTBorderPr }
+ *
+ */
+ public void setRight(CTBorderPr value) {
+ this.right = value;
+ }
+
+ /**
+ * Gets the value of the top property.
+ *
+ * @return
+ * possible object is
+ * {@link CTBorderPr }
+ *
+ */
+ public CTBorderPr getTop() {
+ return top;
+ }
+
+ /**
+ * Sets the value of the top property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTBorderPr }
+ *
+ */
+ public void setTop(CTBorderPr value) {
+ this.top = value;
+ }
+
+ /**
+ * Gets the value of the bottom property.
+ *
+ * @return
+ * possible object is
+ * {@link CTBorderPr }
+ *
+ */
+ public CTBorderPr getBottom() {
+ return bottom;
+ }
+
+ /**
+ * Sets the value of the bottom property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTBorderPr }
+ *
+ */
+ public void setBottom(CTBorderPr value) {
+ this.bottom = value;
+ }
+
+ /**
+ * Gets the value of the diagonal property.
+ *
+ * @return
+ * possible object is
+ * {@link CTBorderPr }
+ *
+ */
+ public CTBorderPr getDiagonal() {
+ return diagonal;
+ }
+
+ /**
+ * Sets the value of the diagonal property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTBorderPr }
+ *
+ */
+ public void setDiagonal(CTBorderPr value) {
+ this.diagonal = value;
+ }
+
+ /**
+ * Gets the value of the vertical property.
+ *
+ * @return
+ * possible object is
+ * {@link CTBorderPr }
+ *
+ */
+ public CTBorderPr getVertical() {
+ return vertical;
+ }
+
+ /**
+ * Sets the value of the vertical property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTBorderPr }
+ *
+ */
+ public void setVertical(CTBorderPr value) {
+ this.vertical = value;
+ }
+
+ /**
+ * Gets the value of the horizontal property.
+ *
+ * @return
+ * possible object is
+ * {@link CTBorderPr }
+ *
+ */
+ public CTBorderPr getHorizontal() {
+ return horizontal;
+ }
+
+ /**
+ * Sets the value of the horizontal property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTBorderPr }
+ *
+ */
+ public void setHorizontal(CTBorderPr value) {
+ this.horizontal = value;
+ }
+
+ /**
+ * Gets the value of the diagonalUp property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isDiagonalUp() {
+ return diagonalUp;
+ }
+
+ /**
+ * Sets the value of the diagonalUp property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setDiagonalUp(Boolean value) {
+ this.diagonalUp = value;
+ }
+
+ /**
+ * Gets the value of the diagonalDown property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isDiagonalDown() {
+ return diagonalDown;
+ }
+
+ /**
+ * Sets the value of the diagonalDown property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setDiagonalDown(Boolean value) {
+ this.diagonalDown = value;
+ }
+
+ /**
+ * Gets the value of the outline property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isOutline() {
+ if (outline == null) {
+ return true;
+ } else {
+ return outline;
+ }
+ }
+
+ /**
+ * Sets the value of the outline property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setOutline(Boolean value) {
+ this.outline = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTBorderPr.java b/src/xlsx4j/java/org/xlsx4j/sml/CTBorderPr.java
index 200cb47e08..68b69673fc 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTBorderPr.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTBorderPr.java
@@ -1,112 +1,124 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_BorderPr">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="color" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Color" minOccurs="0"/>
- * </sequence>
- * <attribute name="style" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_BorderStyle" default="none" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_BorderPr", propOrder = {
- "color"
-})
-public class CTBorderPr {
-
- protected CTColor color;
- @XmlAttribute
- protected STBorderStyle style;
-
- /**
- * Gets the value of the color property.
- *
- * @return
- * possible object is
- * {@link CTColor }
- *
- */
- public CTColor getColor() {
- return color;
- }
-
- /**
- * Sets the value of the color property.
- *
- * @param value
- * allowed object is
- * {@link CTColor }
- *
- */
- public void setColor(CTColor value) {
- this.color = value;
- }
-
- /**
- * Gets the value of the style property.
- *
- * @return
- * possible object is
- * {@link STBorderStyle }
- *
- */
- public STBorderStyle getStyle() {
- if (style == null) {
- return STBorderStyle.NONE;
- } else {
- return style;
- }
- }
-
- /**
- * Sets the value of the style property.
- *
- * @param value
- * allowed object is
- * {@link STBorderStyle }
- *
- */
- public void setStyle(STBorderStyle value) {
- this.style = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_BorderPr">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="color" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Color" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="style" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_BorderStyle" default="none" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_BorderPr", propOrder = {
+ "color"
+})
+public class CTBorderPr implements Child
+{
+
+ protected CTColor color;
+ @XmlAttribute(name = "style")
+ protected STBorderStyle style;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the color property.
+ *
+ * @return
+ * possible object is
+ * {@link CTColor }
+ *
+ */
+ public CTColor getColor() {
+ return color;
+ }
+
+ /**
+ * Sets the value of the color property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTColor }
+ *
+ */
+ public void setColor(CTColor value) {
+ this.color = value;
+ }
+
+ /**
+ * Gets the value of the style property.
+ *
+ * @return
+ * possible object is
+ * {@link STBorderStyle }
+ *
+ */
+ public STBorderStyle getStyle() {
+ if (style == null) {
+ return STBorderStyle.NONE;
+ } else {
+ return style;
+ }
+ }
+
+ /**
+ * Sets the value of the style property.
+ *
+ * @param value
+ * allowed object is
+ * {@link STBorderStyle }
+ *
+ */
+ public void setStyle(STBorderStyle value) {
+ this.style = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTBorders.java b/src/xlsx4j/java/org/xlsx4j/sml/CTBorders.java
index bc95d0a3c3..ab208114e8 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTBorders.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTBorders.java
@@ -1,117 +1,129 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import java.util.ArrayList;
-import java.util.List;
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlSchemaType;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_Borders">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="border" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Border" maxOccurs="unbounded" minOccurs="0"/>
- * </sequence>
- * <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_Borders", propOrder = {
- "border"
-})
-public class CTBorders {
-
- protected Listset
method for the border property.
- *
- *
- * getBorder().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_Borders">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="border" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Border" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_Borders", propOrder = {
+ "border"
+})
+public class CTBorders implements Child
+{
+
+ protected Listset
method for the border property.
+ *
+ *
+ * getBorder().add(newItem);
+ *
+ *
+ *
+ *
- * <complexType name="CT_Break">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
- * <attribute name="min" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
- * <attribute name="max" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
- * <attribute name="man" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="pt" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_Break")
-public class CTBreak {
-
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long id;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long min;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long max;
- @XmlAttribute
- protected Boolean man;
- @XmlAttribute
- protected Boolean pt;
-
- /**
- * Gets the value of the id property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public long getId() {
- if (id == null) {
- return 0L;
- } else {
- return id;
- }
- }
-
- /**
- * Sets the value of the id property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setId(Long value) {
- this.id = value;
- }
-
- /**
- * Gets the value of the min property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public long getMin() {
- if (min == null) {
- return 0L;
- } else {
- return min;
- }
- }
-
- /**
- * Sets the value of the min property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setMin(Long value) {
- this.min = value;
- }
-
- /**
- * Gets the value of the max property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public long getMax() {
- if (max == null) {
- return 0L;
- } else {
- return max;
- }
- }
-
- /**
- * Sets the value of the max property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setMax(Long value) {
- this.max = value;
- }
-
- /**
- * Gets the value of the man property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isMan() {
- if (man == null) {
- return false;
- } else {
- return man;
- }
- }
-
- /**
- * Sets the value of the man property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setMan(Boolean value) {
- this.man = value;
- }
-
- /**
- * Gets the value of the pt property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isPt() {
- if (pt == null) {
- return false;
- } else {
- return pt;
- }
- }
-
- /**
- * Sets the value of the pt property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setPt(Boolean value) {
- this.pt = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_Break">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
+ * <attribute name="min" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
+ * <attribute name="max" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
+ * <attribute name="man" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="pt" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_Break")
+public class CTBreak implements Child
+{
+
+ @XmlAttribute(name = "id")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long id;
+ @XmlAttribute(name = "min")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long min;
+ @XmlAttribute(name = "max")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long max;
+ @XmlAttribute(name = "man")
+ protected Boolean man;
+ @XmlAttribute(name = "pt")
+ protected Boolean pt;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public long getId() {
+ if (id == null) {
+ return 0L;
+ } else {
+ return id;
+ }
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setId(Long value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the min property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public long getMin() {
+ if (min == null) {
+ return 0L;
+ } else {
+ return min;
+ }
+ }
+
+ /**
+ * Sets the value of the min property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setMin(Long value) {
+ this.min = value;
+ }
+
+ /**
+ * Gets the value of the max property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public long getMax() {
+ if (max == null) {
+ return 0L;
+ } else {
+ return max;
+ }
+ }
+
+ /**
+ * Sets the value of the max property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setMax(Long value) {
+ this.max = value;
+ }
+
+ /**
+ * Gets the value of the man property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isMan() {
+ if (man == null) {
+ return false;
+ } else {
+ return man;
+ }
+ }
+
+ /**
+ * Sets the value of the man property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setMan(Boolean value) {
+ this.man = value;
+ }
+
+ /**
+ * Gets the value of the pt property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isPt() {
+ if (pt == null) {
+ return false;
+ } else {
+ return pt;
+ }
+ }
+
+ /**
+ * Sets the value of the pt property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setPt(Boolean value) {
+ this.pt = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTCacheField.java b/src/xlsx4j/java/org/xlsx4j/sml/CTCacheField.java
index 092ea13c3f..0203bd45cc 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTCacheField.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTCacheField.java
@@ -1,551 +1,563 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import java.util.ArrayList;
-import java.util.List;
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlSchemaType;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_CacheField">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="sharedItems" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SharedItems" minOccurs="0"/>
- * <element name="fieldGroup" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_FieldGroup" minOccurs="0"/>
- * <element name="mpMap" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_X" maxOccurs="unbounded" minOccurs="0"/>
- * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
- * </sequence>
- * <attribute name="name" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
- * <attribute name="caption" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
- * <attribute name="propertyName" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
- * <attribute name="serverField" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="uniqueList" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
- * <attribute name="numFmtId" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_NumFmtId" />
- * <attribute name="formula" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
- * <attribute name="sqlType" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
- * <attribute name="hierarchy" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
- * <attribute name="level" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
- * <attribute name="databaseField" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
- * <attribute name="mappingCount" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * <attribute name="memberPropertyField" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CacheField", propOrder = {
- "sharedItems",
- "fieldGroup",
- "mpMap",
- "extLst"
-})
-public class CTCacheField {
-
- protected CTSharedItems sharedItems;
- protected CTFieldGroup fieldGroup;
- protected Listset
method for the mpMap property.
- *
- *
- * getMpMap().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_CacheField">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="sharedItems" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SharedItems" minOccurs="0"/>
+ * <element name="fieldGroup" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_FieldGroup" minOccurs="0"/>
+ * <element name="mpMap" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_X" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="name" use="required" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * <attribute name="caption" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * <attribute name="propertyName" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * <attribute name="serverField" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="uniqueList" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * <attribute name="numFmtId" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_NumFmtId" />
+ * <attribute name="formula" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * <attribute name="sqlType" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
+ * <attribute name="hierarchy" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
+ * <attribute name="level" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
+ * <attribute name="databaseField" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * <attribute name="mappingCount" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * <attribute name="memberPropertyField" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CacheField", propOrder = {
+ "sharedItems",
+ "fieldGroup",
+ "mpMap",
+ "extLst"
+})
+public class CTCacheField implements Child
+{
+
+ protected CTSharedItems sharedItems;
+ protected CTFieldGroup fieldGroup;
+ protected Listset
method for the mpMap property.
+ *
+ *
+ * getMpMap().add(newItem);
+ *
+ *
+ *
+ *
- * <complexType name="CT_CacheFields">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="cacheField" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CacheField" maxOccurs="unbounded" minOccurs="0"/>
- * </sequence>
- * <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CacheFields", propOrder = {
- "cacheField"
-})
-public class CTCacheFields {
-
- protected Listset
method for the cacheField property.
- *
- *
- * getCacheField().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_CacheFields">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="cacheField" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CacheField" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CacheFields", propOrder = {
+ "cacheField"
+})
+public class CTCacheFields implements Child
+{
+
+ protected Listset
method for the cacheField property.
+ *
+ *
+ * getCacheField().add(newItem);
+ *
+ *
+ *
+ *
- * <complexType name="CT_CacheHierarchies">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="cacheHierarchy" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CacheHierarchy" maxOccurs="unbounded" minOccurs="0"/>
- * </sequence>
- * <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CacheHierarchies", propOrder = {
- "cacheHierarchy"
-})
-public class CTCacheHierarchies {
-
- protected Listset
method for the cacheHierarchy property.
- *
- *
- * getCacheHierarchy().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_CacheHierarchies">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="cacheHierarchy" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CacheHierarchy" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CacheHierarchies", propOrder = {
+ "cacheHierarchy"
+})
+public class CTCacheHierarchies implements Child
+{
+
+ protected Listset
method for the cacheHierarchy property.
+ *
+ *
+ * getCacheHierarchy().add(newItem);
+ *
+ *
+ *
+ *
- * <complexType name="CT_CacheHierarchy">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="fieldsUsage" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_FieldsUsage" minOccurs="0"/>
- * <element name="groupLevels" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_GroupLevels" minOccurs="0"/>
- * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
- * </sequence>
- * <attribute name="uniqueName" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
- * <attribute name="caption" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
- * <attribute name="measure" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="set" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="parentSet" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * <attribute name="iconSet" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
- * <attribute name="attribute" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="time" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="keyAttribute" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="defaultMemberUniqueName" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
- * <attribute name="allUniqueName" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
- * <attribute name="allCaption" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
- * <attribute name="dimensionUniqueName" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
- * <attribute name="displayFolder" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
- * <attribute name="measureGroup" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
- * <attribute name="measures" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="count" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * <attribute name="oneField" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="memberValueDatatype" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
- * <attribute name="unbalanced" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- * <attribute name="unbalancedGroup" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- * <attribute name="hidden" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CacheHierarchy", propOrder = {
- "fieldsUsage",
- "groupLevels",
- "extLst"
-})
-public class CTCacheHierarchy {
-
- protected CTFieldsUsage fieldsUsage;
- protected CTGroupLevels groupLevels;
- protected CTExtensionList extLst;
- @XmlAttribute(required = true)
- protected String uniqueName;
- @XmlAttribute
- protected String caption;
- @XmlAttribute
- protected Boolean measure;
- @XmlAttribute
- protected Boolean set;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long parentSet;
- @XmlAttribute
- protected Integer iconSet;
- @XmlAttribute
- protected Boolean attribute;
- @XmlAttribute
- protected Boolean time;
- @XmlAttribute
- protected Boolean keyAttribute;
- @XmlAttribute
- protected String defaultMemberUniqueName;
- @XmlAttribute
- protected String allUniqueName;
- @XmlAttribute
- protected String allCaption;
- @XmlAttribute
- protected String dimensionUniqueName;
- @XmlAttribute
- protected String displayFolder;
- @XmlAttribute
- protected String measureGroup;
- @XmlAttribute
- protected Boolean measures;
- @XmlAttribute(required = true)
- @XmlSchemaType(name = "unsignedInt")
- protected long count;
- @XmlAttribute
- protected Boolean oneField;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedShort")
- protected Integer memberValueDatatype;
- @XmlAttribute
- protected Boolean unbalanced;
- @XmlAttribute
- protected Boolean unbalancedGroup;
- @XmlAttribute
- protected Boolean hidden;
-
- /**
- * Gets the value of the fieldsUsage property.
- *
- * @return
- * possible object is
- * {@link CTFieldsUsage }
- *
- */
- public CTFieldsUsage getFieldsUsage() {
- return fieldsUsage;
- }
-
- /**
- * Sets the value of the fieldsUsage property.
- *
- * @param value
- * allowed object is
- * {@link CTFieldsUsage }
- *
- */
- public void setFieldsUsage(CTFieldsUsage value) {
- this.fieldsUsage = value;
- }
-
- /**
- * Gets the value of the groupLevels property.
- *
- * @return
- * possible object is
- * {@link CTGroupLevels }
- *
- */
- public CTGroupLevels getGroupLevels() {
- return groupLevels;
- }
-
- /**
- * Sets the value of the groupLevels property.
- *
- * @param value
- * allowed object is
- * {@link CTGroupLevels }
- *
- */
- public void setGroupLevels(CTGroupLevels value) {
- this.groupLevels = value;
- }
-
- /**
- * Gets the value of the extLst property.
- *
- * @return
- * possible object is
- * {@link CTExtensionList }
- *
- */
- public CTExtensionList getExtLst() {
- return extLst;
- }
-
- /**
- * Sets the value of the extLst property.
- *
- * @param value
- * allowed object is
- * {@link CTExtensionList }
- *
- */
- public void setExtLst(CTExtensionList value) {
- this.extLst = value;
- }
-
- /**
- * Gets the value of the uniqueName property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getUniqueName() {
- return uniqueName;
- }
-
- /**
- * Sets the value of the uniqueName property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setUniqueName(String value) {
- this.uniqueName = value;
- }
-
- /**
- * Gets the value of the caption property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getCaption() {
- return caption;
- }
-
- /**
- * Sets the value of the caption property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setCaption(String value) {
- this.caption = value;
- }
-
- /**
- * Gets the value of the measure property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isMeasure() {
- if (measure == null) {
- return false;
- } else {
- return measure;
- }
- }
-
- /**
- * Sets the value of the measure property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setMeasure(Boolean value) {
- this.measure = value;
- }
-
- /**
- * Gets the value of the set property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isSet() {
- if (set == null) {
- return false;
- } else {
- return set;
- }
- }
-
- /**
- * Sets the value of the set property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setSet(Boolean value) {
- this.set = value;
- }
-
- /**
- * Gets the value of the parentSet property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public Long getParentSet() {
- return parentSet;
- }
-
- /**
- * Sets the value of the parentSet property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setParentSet(Long value) {
- this.parentSet = value;
- }
-
- /**
- * Gets the value of the iconSet property.
- *
- * @return
- * possible object is
- * {@link Integer }
- *
- */
- public int getIconSet() {
- if (iconSet == null) {
- return 0;
- } else {
- return iconSet;
- }
- }
-
- /**
- * Sets the value of the iconSet property.
- *
- * @param value
- * allowed object is
- * {@link Integer }
- *
- */
- public void setIconSet(Integer value) {
- this.iconSet = value;
- }
-
- /**
- * Gets the value of the attribute property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isAttribute() {
- if (attribute == null) {
- return false;
- } else {
- return attribute;
- }
- }
-
- /**
- * Sets the value of the attribute property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setAttribute(Boolean value) {
- this.attribute = value;
- }
-
- /**
- * Gets the value of the time property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isTime() {
- if (time == null) {
- return false;
- } else {
- return time;
- }
- }
-
- /**
- * Sets the value of the time property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setTime(Boolean value) {
- this.time = value;
- }
-
- /**
- * Gets the value of the keyAttribute property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isKeyAttribute() {
- if (keyAttribute == null) {
- return false;
- } else {
- return keyAttribute;
- }
- }
-
- /**
- * Sets the value of the keyAttribute property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setKeyAttribute(Boolean value) {
- this.keyAttribute = value;
- }
-
- /**
- * Gets the value of the defaultMemberUniqueName property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getDefaultMemberUniqueName() {
- return defaultMemberUniqueName;
- }
-
- /**
- * Sets the value of the defaultMemberUniqueName property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setDefaultMemberUniqueName(String value) {
- this.defaultMemberUniqueName = value;
- }
-
- /**
- * Gets the value of the allUniqueName property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getAllUniqueName() {
- return allUniqueName;
- }
-
- /**
- * Sets the value of the allUniqueName property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setAllUniqueName(String value) {
- this.allUniqueName = value;
- }
-
- /**
- * Gets the value of the allCaption property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getAllCaption() {
- return allCaption;
- }
-
- /**
- * Sets the value of the allCaption property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setAllCaption(String value) {
- this.allCaption = value;
- }
-
- /**
- * Gets the value of the dimensionUniqueName property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getDimensionUniqueName() {
- return dimensionUniqueName;
- }
-
- /**
- * Sets the value of the dimensionUniqueName property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setDimensionUniqueName(String value) {
- this.dimensionUniqueName = value;
- }
-
- /**
- * Gets the value of the displayFolder property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getDisplayFolder() {
- return displayFolder;
- }
-
- /**
- * Sets the value of the displayFolder property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setDisplayFolder(String value) {
- this.displayFolder = value;
- }
-
- /**
- * Gets the value of the measureGroup property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getMeasureGroup() {
- return measureGroup;
- }
-
- /**
- * Sets the value of the measureGroup property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setMeasureGroup(String value) {
- this.measureGroup = value;
- }
-
- /**
- * Gets the value of the measures property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isMeasures() {
- if (measures == null) {
- return false;
- } else {
- return measures;
- }
- }
-
- /**
- * Sets the value of the measures property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setMeasures(Boolean value) {
- this.measures = value;
- }
-
- /**
- * Gets the value of the count property.
- *
- */
- public long getCount() {
- return count;
- }
-
- /**
- * Sets the value of the count property.
- *
- */
- public void setCount(long value) {
- this.count = value;
- }
-
- /**
- * Gets the value of the oneField property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isOneField() {
- if (oneField == null) {
- return false;
- } else {
- return oneField;
- }
- }
-
- /**
- * Sets the value of the oneField property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setOneField(Boolean value) {
- this.oneField = value;
- }
-
- /**
- * Gets the value of the memberValueDatatype property.
- *
- * @return
- * possible object is
- * {@link Integer }
- *
- */
- public Integer getMemberValueDatatype() {
- return memberValueDatatype;
- }
-
- /**
- * Sets the value of the memberValueDatatype property.
- *
- * @param value
- * allowed object is
- * {@link Integer }
- *
- */
- public void setMemberValueDatatype(Integer value) {
- this.memberValueDatatype = value;
- }
-
- /**
- * Gets the value of the unbalanced property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public Boolean isUnbalanced() {
- return unbalanced;
- }
-
- /**
- * Sets the value of the unbalanced property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setUnbalanced(Boolean value) {
- this.unbalanced = value;
- }
-
- /**
- * Gets the value of the unbalancedGroup property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public Boolean isUnbalancedGroup() {
- return unbalancedGroup;
- }
-
- /**
- * Sets the value of the unbalancedGroup property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setUnbalancedGroup(Boolean value) {
- this.unbalancedGroup = value;
- }
-
- /**
- * Gets the value of the hidden property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isHidden() {
- if (hidden == null) {
- return false;
- } else {
- return hidden;
- }
- }
-
- /**
- * Sets the value of the hidden property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setHidden(Boolean value) {
- this.hidden = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_CacheHierarchy">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="fieldsUsage" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_FieldsUsage" minOccurs="0"/>
+ * <element name="groupLevels" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_GroupLevels" minOccurs="0"/>
+ * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="uniqueName" use="required" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * <attribute name="caption" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * <attribute name="measure" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="set" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="parentSet" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * <attribute name="iconSet" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
+ * <attribute name="attribute" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="time" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="keyAttribute" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="defaultMemberUniqueName" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * <attribute name="allUniqueName" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * <attribute name="allCaption" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * <attribute name="dimensionUniqueName" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * <attribute name="displayFolder" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * <attribute name="measureGroup" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * <attribute name="measures" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="count" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * <attribute name="oneField" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="memberValueDatatype" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
+ * <attribute name="unbalanced" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="unbalancedGroup" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="hidden" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CacheHierarchy", propOrder = {
+ "fieldsUsage",
+ "groupLevels",
+ "extLst"
+})
+public class CTCacheHierarchy implements Child
+{
+
+ protected CTFieldsUsage fieldsUsage;
+ protected CTGroupLevels groupLevels;
+ protected CTExtensionList extLst;
+ @XmlAttribute(name = "uniqueName", required = true)
+ protected String uniqueName;
+ @XmlAttribute(name = "caption")
+ protected String caption;
+ @XmlAttribute(name = "measure")
+ protected Boolean measure;
+ @XmlAttribute(name = "set")
+ protected Boolean set;
+ @XmlAttribute(name = "parentSet")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long parentSet;
+ @XmlAttribute(name = "iconSet")
+ protected Integer iconSet;
+ @XmlAttribute(name = "attribute")
+ protected Boolean attribute;
+ @XmlAttribute(name = "time")
+ protected Boolean time;
+ @XmlAttribute(name = "keyAttribute")
+ protected Boolean keyAttribute;
+ @XmlAttribute(name = "defaultMemberUniqueName")
+ protected String defaultMemberUniqueName;
+ @XmlAttribute(name = "allUniqueName")
+ protected String allUniqueName;
+ @XmlAttribute(name = "allCaption")
+ protected String allCaption;
+ @XmlAttribute(name = "dimensionUniqueName")
+ protected String dimensionUniqueName;
+ @XmlAttribute(name = "displayFolder")
+ protected String displayFolder;
+ @XmlAttribute(name = "measureGroup")
+ protected String measureGroup;
+ @XmlAttribute(name = "measures")
+ protected Boolean measures;
+ @XmlAttribute(name = "count", required = true)
+ @XmlSchemaType(name = "unsignedInt")
+ protected long count;
+ @XmlAttribute(name = "oneField")
+ protected Boolean oneField;
+ @XmlAttribute(name = "memberValueDatatype")
+ @XmlSchemaType(name = "unsignedShort")
+ protected Integer memberValueDatatype;
+ @XmlAttribute(name = "unbalanced")
+ protected Boolean unbalanced;
+ @XmlAttribute(name = "unbalancedGroup")
+ protected Boolean unbalancedGroup;
+ @XmlAttribute(name = "hidden")
+ protected Boolean hidden;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the fieldsUsage property.
+ *
+ * @return
+ * possible object is
+ * {@link CTFieldsUsage }
+ *
+ */
+ public CTFieldsUsage getFieldsUsage() {
+ return fieldsUsage;
+ }
+
+ /**
+ * Sets the value of the fieldsUsage property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTFieldsUsage }
+ *
+ */
+ public void setFieldsUsage(CTFieldsUsage value) {
+ this.fieldsUsage = value;
+ }
+
+ /**
+ * Gets the value of the groupLevels property.
+ *
+ * @return
+ * possible object is
+ * {@link CTGroupLevels }
+ *
+ */
+ public CTGroupLevels getGroupLevels() {
+ return groupLevels;
+ }
+
+ /**
+ * Sets the value of the groupLevels property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTGroupLevels }
+ *
+ */
+ public void setGroupLevels(CTGroupLevels value) {
+ this.groupLevels = value;
+ }
+
+ /**
+ * Gets the value of the extLst property.
+ *
+ * @return
+ * possible object is
+ * {@link CTExtensionList }
+ *
+ */
+ public CTExtensionList getExtLst() {
+ return extLst;
+ }
+
+ /**
+ * Sets the value of the extLst property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTExtensionList }
+ *
+ */
+ public void setExtLst(CTExtensionList value) {
+ this.extLst = value;
+ }
+
+ /**
+ * Gets the value of the uniqueName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUniqueName() {
+ return uniqueName;
+ }
+
+ /**
+ * Sets the value of the uniqueName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUniqueName(String value) {
+ this.uniqueName = value;
+ }
+
+ /**
+ * Gets the value of the caption property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getCaption() {
+ return caption;
+ }
+
+ /**
+ * Sets the value of the caption property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setCaption(String value) {
+ this.caption = value;
+ }
+
+ /**
+ * Gets the value of the measure property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isMeasure() {
+ if (measure == null) {
+ return false;
+ } else {
+ return measure;
+ }
+ }
+
+ /**
+ * Sets the value of the measure property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setMeasure(Boolean value) {
+ this.measure = value;
+ }
+
+ /**
+ * Gets the value of the set property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isSet() {
+ if (set == null) {
+ return false;
+ } else {
+ return set;
+ }
+ }
+
+ /**
+ * Sets the value of the set property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setSet(Boolean value) {
+ this.set = value;
+ }
+
+ /**
+ * Gets the value of the parentSet property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public Long getParentSet() {
+ return parentSet;
+ }
+
+ /**
+ * Sets the value of the parentSet property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setParentSet(Long value) {
+ this.parentSet = value;
+ }
+
+ /**
+ * Gets the value of the iconSet property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public int getIconSet() {
+ if (iconSet == null) {
+ return 0;
+ } else {
+ return iconSet;
+ }
+ }
+
+ /**
+ * Sets the value of the iconSet property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setIconSet(Integer value) {
+ this.iconSet = value;
+ }
+
+ /**
+ * Gets the value of the attribute property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isAttribute() {
+ if (attribute == null) {
+ return false;
+ } else {
+ return attribute;
+ }
+ }
+
+ /**
+ * Sets the value of the attribute property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setAttribute(Boolean value) {
+ this.attribute = value;
+ }
+
+ /**
+ * Gets the value of the time property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isTime() {
+ if (time == null) {
+ return false;
+ } else {
+ return time;
+ }
+ }
+
+ /**
+ * Sets the value of the time property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setTime(Boolean value) {
+ this.time = value;
+ }
+
+ /**
+ * Gets the value of the keyAttribute property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isKeyAttribute() {
+ if (keyAttribute == null) {
+ return false;
+ } else {
+ return keyAttribute;
+ }
+ }
+
+ /**
+ * Sets the value of the keyAttribute property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setKeyAttribute(Boolean value) {
+ this.keyAttribute = value;
+ }
+
+ /**
+ * Gets the value of the defaultMemberUniqueName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDefaultMemberUniqueName() {
+ return defaultMemberUniqueName;
+ }
+
+ /**
+ * Sets the value of the defaultMemberUniqueName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDefaultMemberUniqueName(String value) {
+ this.defaultMemberUniqueName = value;
+ }
+
+ /**
+ * Gets the value of the allUniqueName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAllUniqueName() {
+ return allUniqueName;
+ }
+
+ /**
+ * Sets the value of the allUniqueName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAllUniqueName(String value) {
+ this.allUniqueName = value;
+ }
+
+ /**
+ * Gets the value of the allCaption property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAllCaption() {
+ return allCaption;
+ }
+
+ /**
+ * Sets the value of the allCaption property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAllCaption(String value) {
+ this.allCaption = value;
+ }
+
+ /**
+ * Gets the value of the dimensionUniqueName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDimensionUniqueName() {
+ return dimensionUniqueName;
+ }
+
+ /**
+ * Sets the value of the dimensionUniqueName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDimensionUniqueName(String value) {
+ this.dimensionUniqueName = value;
+ }
+
+ /**
+ * Gets the value of the displayFolder property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDisplayFolder() {
+ return displayFolder;
+ }
+
+ /**
+ * Sets the value of the displayFolder property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDisplayFolder(String value) {
+ this.displayFolder = value;
+ }
+
+ /**
+ * Gets the value of the measureGroup property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMeasureGroup() {
+ return measureGroup;
+ }
+
+ /**
+ * Sets the value of the measureGroup property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMeasureGroup(String value) {
+ this.measureGroup = value;
+ }
+
+ /**
+ * Gets the value of the measures property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isMeasures() {
+ if (measures == null) {
+ return false;
+ } else {
+ return measures;
+ }
+ }
+
+ /**
+ * Sets the value of the measures property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setMeasures(Boolean value) {
+ this.measures = value;
+ }
+
+ /**
+ * Gets the value of the count property.
+ *
+ */
+ public long getCount() {
+ return count;
+ }
+
+ /**
+ * Sets the value of the count property.
+ *
+ */
+ public void setCount(long value) {
+ this.count = value;
+ }
+
+ /**
+ * Gets the value of the oneField property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isOneField() {
+ if (oneField == null) {
+ return false;
+ } else {
+ return oneField;
+ }
+ }
+
+ /**
+ * Sets the value of the oneField property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setOneField(Boolean value) {
+ this.oneField = value;
+ }
+
+ /**
+ * Gets the value of the memberValueDatatype property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public Integer getMemberValueDatatype() {
+ return memberValueDatatype;
+ }
+
+ /**
+ * Sets the value of the memberValueDatatype property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setMemberValueDatatype(Integer value) {
+ this.memberValueDatatype = value;
+ }
+
+ /**
+ * Gets the value of the unbalanced property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isUnbalanced() {
+ return unbalanced;
+ }
+
+ /**
+ * Sets the value of the unbalanced property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setUnbalanced(Boolean value) {
+ this.unbalanced = value;
+ }
+
+ /**
+ * Gets the value of the unbalancedGroup property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isUnbalancedGroup() {
+ return unbalancedGroup;
+ }
+
+ /**
+ * Sets the value of the unbalancedGroup property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setUnbalancedGroup(Boolean value) {
+ this.unbalancedGroup = value;
+ }
+
+ /**
+ * Gets the value of the hidden property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isHidden() {
+ if (hidden == null) {
+ return false;
+ } else {
+ return hidden;
+ }
+ }
+
+ /**
+ * Sets the value of the hidden property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setHidden(Boolean value) {
+ this.hidden = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTCacheSource.java b/src/xlsx4j/java/org/xlsx4j/sml/CTCacheSource.java
index 15ef85354a..e48f452f5e 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTCacheSource.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTCacheSource.java
@@ -1,195 +1,207 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlSchemaType;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_CacheSource">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <choice minOccurs="0">
- * <element name="worksheetSource" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_WorksheetSource"/>
- * <element name="consolidation" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Consolidation"/>
- * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
- * </choice>
- * <attribute name="type" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_SourceType" />
- * <attribute name="connectionId" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CacheSource", propOrder = {
- "worksheetSource",
- "consolidation",
- "extLst"
-})
-public class CTCacheSource {
-
- protected CTWorksheetSource worksheetSource;
- protected CTConsolidation consolidation;
- protected CTExtensionList extLst;
- @XmlAttribute(required = true)
- protected STSourceType type;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long connectionId;
-
- /**
- * Gets the value of the worksheetSource property.
- *
- * @return
- * possible object is
- * {@link CTWorksheetSource }
- *
- */
- public CTWorksheetSource getWorksheetSource() {
- return worksheetSource;
- }
-
- /**
- * Sets the value of the worksheetSource property.
- *
- * @param value
- * allowed object is
- * {@link CTWorksheetSource }
- *
- */
- public void setWorksheetSource(CTWorksheetSource value) {
- this.worksheetSource = value;
- }
-
- /**
- * Gets the value of the consolidation property.
- *
- * @return
- * possible object is
- * {@link CTConsolidation }
- *
- */
- public CTConsolidation getConsolidation() {
- return consolidation;
- }
-
- /**
- * Sets the value of the consolidation property.
- *
- * @param value
- * allowed object is
- * {@link CTConsolidation }
- *
- */
- public void setConsolidation(CTConsolidation value) {
- this.consolidation = value;
- }
-
- /**
- * Gets the value of the extLst property.
- *
- * @return
- * possible object is
- * {@link CTExtensionList }
- *
- */
- public CTExtensionList getExtLst() {
- return extLst;
- }
-
- /**
- * Sets the value of the extLst property.
- *
- * @param value
- * allowed object is
- * {@link CTExtensionList }
- *
- */
- public void setExtLst(CTExtensionList value) {
- this.extLst = value;
- }
-
- /**
- * Gets the value of the type property.
- *
- * @return
- * possible object is
- * {@link STSourceType }
- *
- */
- public STSourceType getType() {
- return type;
- }
-
- /**
- * Sets the value of the type property.
- *
- * @param value
- * allowed object is
- * {@link STSourceType }
- *
- */
- public void setType(STSourceType value) {
- this.type = value;
- }
-
- /**
- * Gets the value of the connectionId property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public long getConnectionId() {
- if (connectionId == null) {
- return 0L;
- } else {
- return connectionId;
- }
- }
-
- /**
- * Sets the value of the connectionId property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setConnectionId(Long value) {
- this.connectionId = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_CacheSource">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice minOccurs="0">
+ * <element name="worksheetSource" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_WorksheetSource"/>
+ * <element name="consolidation" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Consolidation"/>
+ * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
+ * </choice>
+ * <attribute name="type" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_SourceType" />
+ * <attribute name="connectionId" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CacheSource", propOrder = {
+ "worksheetSource",
+ "consolidation",
+ "extLst"
+})
+public class CTCacheSource implements Child
+{
+
+ protected CTWorksheetSource worksheetSource;
+ protected CTConsolidation consolidation;
+ protected CTExtensionList extLst;
+ @XmlAttribute(name = "type", required = true)
+ protected STSourceType type;
+ @XmlAttribute(name = "connectionId")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long connectionId;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the worksheetSource property.
+ *
+ * @return
+ * possible object is
+ * {@link CTWorksheetSource }
+ *
+ */
+ public CTWorksheetSource getWorksheetSource() {
+ return worksheetSource;
+ }
+
+ /**
+ * Sets the value of the worksheetSource property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTWorksheetSource }
+ *
+ */
+ public void setWorksheetSource(CTWorksheetSource value) {
+ this.worksheetSource = value;
+ }
+
+ /**
+ * Gets the value of the consolidation property.
+ *
+ * @return
+ * possible object is
+ * {@link CTConsolidation }
+ *
+ */
+ public CTConsolidation getConsolidation() {
+ return consolidation;
+ }
+
+ /**
+ * Sets the value of the consolidation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTConsolidation }
+ *
+ */
+ public void setConsolidation(CTConsolidation value) {
+ this.consolidation = value;
+ }
+
+ /**
+ * Gets the value of the extLst property.
+ *
+ * @return
+ * possible object is
+ * {@link CTExtensionList }
+ *
+ */
+ public CTExtensionList getExtLst() {
+ return extLst;
+ }
+
+ /**
+ * Sets the value of the extLst property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTExtensionList }
+ *
+ */
+ public void setExtLst(CTExtensionList value) {
+ this.extLst = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link STSourceType }
+ *
+ */
+ public STSourceType getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link STSourceType }
+ *
+ */
+ public void setType(STSourceType value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the connectionId property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public long getConnectionId() {
+ if (connectionId == null) {
+ return 0L;
+ } else {
+ return connectionId;
+ }
+ }
+
+ /**
+ * Sets the value of the connectionId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setConnectionId(Long value) {
+ this.connectionId = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTCalcCell.java b/src/xlsx4j/java/org/xlsx4j/sml/CTCalcCell.java
index 2e4503cdc6..4d9423f387 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTCalcCell.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTCalcCell.java
@@ -1,233 +1,272 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_CalcCell">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <attribute name="r" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CellRef" />
- * <attribute name="i" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
- * <attribute name="s" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="l" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="t" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="a" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CalcCell")
-public class CTCalcCell {
-
- @XmlAttribute(required = true)
- protected String r;
- @XmlAttribute
- protected Integer i;
- @XmlAttribute
- protected Boolean s;
- @XmlAttribute
- protected Boolean l;
- @XmlAttribute
- protected Boolean t;
- @XmlAttribute
- protected Boolean a;
-
- /**
- * Gets the value of the r property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getR() {
- return r;
- }
-
- /**
- * Sets the value of the r property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setR(String value) {
- this.r = value;
- }
-
- /**
- * Gets the value of the i property.
- *
- * @return
- * possible object is
- * {@link Integer }
- *
- */
- public int getI() {
- if (i == null) {
- return 0;
- } else {
- return i;
- }
- }
-
- /**
- * Sets the value of the i property.
- *
- * @param value
- * allowed object is
- * {@link Integer }
- *
- */
- public void setI(Integer value) {
- this.i = value;
- }
-
- /**
- * Gets the value of the s property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isS() {
- if (s == null) {
- return false;
- } else {
- return s;
- }
- }
-
- /**
- * Sets the value of the s property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setS(Boolean value) {
- this.s = value;
- }
-
- /**
- * Gets the value of the l property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isL() {
- if (l == null) {
- return false;
- } else {
- return l;
- }
- }
-
- /**
- * Sets the value of the l property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setL(Boolean value) {
- this.l = value;
- }
-
- /**
- * Gets the value of the t property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isT() {
- if (t == null) {
- return false;
- } else {
- return t;
- }
- }
-
- /**
- * Sets the value of the t property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setT(Boolean value) {
- this.t = value;
- }
-
- /**
- * Gets the value of the a property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isA() {
- if (a == null) {
- return false;
- } else {
- return a;
- }
- }
-
- /**
- * Sets the value of the a property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setA(Boolean value) {
- this.a = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_CalcCell">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="r" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CellRef" />
+ * <attribute name="ref" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CellRef" />
+ * <attribute name="i" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
+ * <attribute name="s" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="l" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="t" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="a" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CalcCell")
+public class CTCalcCell implements Child
+{
+
+ @XmlAttribute(name = "r")
+ protected String r;
+ @XmlAttribute(name = "ref")
+ protected String ref;
+ @XmlAttribute(name = "i")
+ protected Integer i;
+ @XmlAttribute(name = "s")
+ protected Boolean s;
+ @XmlAttribute(name = "l")
+ protected Boolean l;
+ @XmlAttribute(name = "t")
+ protected Boolean t;
+ @XmlAttribute(name = "a")
+ protected Boolean a;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the r property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getR() {
+ return r;
+ }
+
+ /**
+ * Sets the value of the r property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setR(String value) {
+ this.r = value;
+ }
+
+ /**
+ * Gets the value of the ref property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRef() {
+ return ref;
+ }
+
+ /**
+ * Sets the value of the ref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRef(String value) {
+ this.ref = value;
+ }
+
+ /**
+ * Gets the value of the i property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public int getI() {
+ if (i == null) {
+ return 0;
+ } else {
+ return i;
+ }
+ }
+
+ /**
+ * Sets the value of the i property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setI(Integer value) {
+ this.i = value;
+ }
+
+ /**
+ * Gets the value of the s property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isS() {
+ if (s == null) {
+ return false;
+ } else {
+ return s;
+ }
+ }
+
+ /**
+ * Sets the value of the s property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setS(Boolean value) {
+ this.s = value;
+ }
+
+ /**
+ * Gets the value of the l property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isL() {
+ if (l == null) {
+ return false;
+ } else {
+ return l;
+ }
+ }
+
+ /**
+ * Sets the value of the l property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setL(Boolean value) {
+ this.l = value;
+ }
+
+ /**
+ * Gets the value of the t property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isT() {
+ if (t == null) {
+ return false;
+ } else {
+ return t;
+ }
+ }
+
+ /**
+ * Sets the value of the t property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setT(Boolean value) {
+ this.t = value;
+ }
+
+ /**
+ * Gets the value of the a property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isA() {
+ if (a == null) {
+ return false;
+ } else {
+ return a;
+ }
+ }
+
+ /**
+ * Sets the value of the a property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setA(Boolean value) {
+ this.a = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTCalcChain.java b/src/xlsx4j/java/org/xlsx4j/sml/CTCalcChain.java
index 3a6ac2e084..ea4660b1e1 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTCalcChain.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTCalcChain.java
@@ -1,118 +1,130 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import java.util.ArrayList;
-import java.util.List;
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_CalcChain">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="c" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CalcCell" maxOccurs="unbounded"/>
- * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CalcChain", propOrder = {
- "c",
- "extLst"
-})
-@XmlRootElement(name = "calcChain")
-public class CTCalcChain {
-
- @XmlElement(required = true)
- protected Listset
method for the c property.
- *
- *
- * getC().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_CalcChain">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="c" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CalcCell" maxOccurs="unbounded"/>
+ * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CalcChain", propOrder = {
+ "c",
+ "extLst"
+})
+@XmlRootElement(name = "calcChain")
+public class CTCalcChain implements Child
+{
+
+ @XmlElement(required = true)
+ protected Listset
method for the c property.
+ *
+ *
+ * getC().add(newItem);
+ *
+ *
+ *
+ *
- * <complexType name="CT_CalcPr">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <attribute name="calcId" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * <attribute name="calcMode" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CalcMode" default="auto" />
- * <attribute name="fullCalcOnLoad" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="refMode" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_RefMode" default="A1" />
- * <attribute name="iterate" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="iterateCount" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="100" />
- * <attribute name="iterateDelta" type="{http://www.w3.org/2001/XMLSchema}double" default="0.001" />
- * <attribute name="fullPrecision" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
- * <attribute name="calcCompleted" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
- * <attribute name="calcOnSave" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
- * <attribute name="concurrentCalc" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
- * <attribute name="concurrentManualCount" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * <attribute name="forceFullCalc" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CalcPr")
-public class CTCalcPr {
-
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long calcId;
- @XmlAttribute
- protected STCalcMode calcMode;
- @XmlAttribute
- protected Boolean fullCalcOnLoad;
- @XmlAttribute
- protected STRefMode refMode;
- @XmlAttribute
- protected Boolean iterate;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long iterateCount;
- @XmlAttribute
- protected Double iterateDelta;
- @XmlAttribute
- protected Boolean fullPrecision;
- @XmlAttribute
- protected Boolean calcCompleted;
- @XmlAttribute
- protected Boolean calcOnSave;
- @XmlAttribute
- protected Boolean concurrentCalc;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long concurrentManualCount;
- @XmlAttribute
- protected Boolean forceFullCalc;
-
- /**
- * Gets the value of the calcId property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public Long getCalcId() {
- return calcId;
- }
-
- /**
- * Sets the value of the calcId property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setCalcId(Long value) {
- this.calcId = value;
- }
-
- /**
- * Gets the value of the calcMode property.
- *
- * @return
- * possible object is
- * {@link STCalcMode }
- *
- */
- public STCalcMode getCalcMode() {
- if (calcMode == null) {
- return STCalcMode.AUTO;
- } else {
- return calcMode;
- }
- }
-
- /**
- * Sets the value of the calcMode property.
- *
- * @param value
- * allowed object is
- * {@link STCalcMode }
- *
- */
- public void setCalcMode(STCalcMode value) {
- this.calcMode = value;
- }
-
- /**
- * Gets the value of the fullCalcOnLoad property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isFullCalcOnLoad() {
- if (fullCalcOnLoad == null) {
- return false;
- } else {
- return fullCalcOnLoad;
- }
- }
-
- /**
- * Sets the value of the fullCalcOnLoad property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setFullCalcOnLoad(Boolean value) {
- this.fullCalcOnLoad = value;
- }
-
- /**
- * Gets the value of the refMode property.
- *
- * @return
- * possible object is
- * {@link STRefMode }
- *
- */
- public STRefMode getRefMode() {
- if (refMode == null) {
- return STRefMode.A_1;
- } else {
- return refMode;
- }
- }
-
- /**
- * Sets the value of the refMode property.
- *
- * @param value
- * allowed object is
- * {@link STRefMode }
- *
- */
- public void setRefMode(STRefMode value) {
- this.refMode = value;
- }
-
- /**
- * Gets the value of the iterate property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isIterate() {
- if (iterate == null) {
- return false;
- } else {
- return iterate;
- }
- }
-
- /**
- * Sets the value of the iterate property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setIterate(Boolean value) {
- this.iterate = value;
- }
-
- /**
- * Gets the value of the iterateCount property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public long getIterateCount() {
- if (iterateCount == null) {
- return 100L;
- } else {
- return iterateCount;
- }
- }
-
- /**
- * Sets the value of the iterateCount property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setIterateCount(Long value) {
- this.iterateCount = value;
- }
-
- /**
- * Gets the value of the iterateDelta property.
- *
- * @return
- * possible object is
- * {@link Double }
- *
- */
- public double getIterateDelta() {
- if (iterateDelta == null) {
- return 0.0010D;
- } else {
- return iterateDelta;
- }
- }
-
- /**
- * Sets the value of the iterateDelta property.
- *
- * @param value
- * allowed object is
- * {@link Double }
- *
- */
- public void setIterateDelta(Double value) {
- this.iterateDelta = value;
- }
-
- /**
- * Gets the value of the fullPrecision property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isFullPrecision() {
- if (fullPrecision == null) {
- return true;
- } else {
- return fullPrecision;
- }
- }
-
- /**
- * Sets the value of the fullPrecision property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setFullPrecision(Boolean value) {
- this.fullPrecision = value;
- }
-
- /**
- * Gets the value of the calcCompleted property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isCalcCompleted() {
- if (calcCompleted == null) {
- return true;
- } else {
- return calcCompleted;
- }
- }
-
- /**
- * Sets the value of the calcCompleted property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setCalcCompleted(Boolean value) {
- this.calcCompleted = value;
- }
-
- /**
- * Gets the value of the calcOnSave property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isCalcOnSave() {
- if (calcOnSave == null) {
- return true;
- } else {
- return calcOnSave;
- }
- }
-
- /**
- * Sets the value of the calcOnSave property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setCalcOnSave(Boolean value) {
- this.calcOnSave = value;
- }
-
- /**
- * Gets the value of the concurrentCalc property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isConcurrentCalc() {
- if (concurrentCalc == null) {
- return true;
- } else {
- return concurrentCalc;
- }
- }
-
- /**
- * Sets the value of the concurrentCalc property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setConcurrentCalc(Boolean value) {
- this.concurrentCalc = value;
- }
-
- /**
- * Gets the value of the concurrentManualCount property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public Long getConcurrentManualCount() {
- return concurrentManualCount;
- }
-
- /**
- * Sets the value of the concurrentManualCount property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setConcurrentManualCount(Long value) {
- this.concurrentManualCount = value;
- }
-
- /**
- * Gets the value of the forceFullCalc property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public Boolean isForceFullCalc() {
- return forceFullCalc;
- }
-
- /**
- * Sets the value of the forceFullCalc property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setForceFullCalc(Boolean value) {
- this.forceFullCalc = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_CalcPr">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="calcId" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * <attribute name="calcMode" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CalcMode" default="auto" />
+ * <attribute name="fullCalcOnLoad" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="refMode" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_RefMode" default="A1" />
+ * <attribute name="iterate" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="iterateCount" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="100" />
+ * <attribute name="iterateDelta" type="{http://www.w3.org/2001/XMLSchema}double" default="0.001" />
+ * <attribute name="fullPrecision" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * <attribute name="calcCompleted" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * <attribute name="calcOnSave" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * <attribute name="concurrentCalc" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * <attribute name="concurrentManualCount" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * <attribute name="forceFullCalc" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CalcPr")
+public class CTCalcPr implements Child
+{
+
+ @XmlAttribute(name = "calcId")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long calcId;
+ @XmlAttribute(name = "calcMode")
+ protected STCalcMode calcMode;
+ @XmlAttribute(name = "fullCalcOnLoad")
+ protected Boolean fullCalcOnLoad;
+ @XmlAttribute(name = "refMode")
+ protected STRefMode refMode;
+ @XmlAttribute(name = "iterate")
+ protected Boolean iterate;
+ @XmlAttribute(name = "iterateCount")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long iterateCount;
+ @XmlAttribute(name = "iterateDelta")
+ protected Double iterateDelta;
+ @XmlAttribute(name = "fullPrecision")
+ protected Boolean fullPrecision;
+ @XmlAttribute(name = "calcCompleted")
+ protected Boolean calcCompleted;
+ @XmlAttribute(name = "calcOnSave")
+ protected Boolean calcOnSave;
+ @XmlAttribute(name = "concurrentCalc")
+ protected Boolean concurrentCalc;
+ @XmlAttribute(name = "concurrentManualCount")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long concurrentManualCount;
+ @XmlAttribute(name = "forceFullCalc")
+ protected Boolean forceFullCalc;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the calcId property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public Long getCalcId() {
+ return calcId;
+ }
+
+ /**
+ * Sets the value of the calcId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setCalcId(Long value) {
+ this.calcId = value;
+ }
+
+ /**
+ * Gets the value of the calcMode property.
+ *
+ * @return
+ * possible object is
+ * {@link STCalcMode }
+ *
+ */
+ public STCalcMode getCalcMode() {
+ if (calcMode == null) {
+ return STCalcMode.AUTO;
+ } else {
+ return calcMode;
+ }
+ }
+
+ /**
+ * Sets the value of the calcMode property.
+ *
+ * @param value
+ * allowed object is
+ * {@link STCalcMode }
+ *
+ */
+ public void setCalcMode(STCalcMode value) {
+ this.calcMode = value;
+ }
+
+ /**
+ * Gets the value of the fullCalcOnLoad property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isFullCalcOnLoad() {
+ if (fullCalcOnLoad == null) {
+ return false;
+ } else {
+ return fullCalcOnLoad;
+ }
+ }
+
+ /**
+ * Sets the value of the fullCalcOnLoad property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setFullCalcOnLoad(Boolean value) {
+ this.fullCalcOnLoad = value;
+ }
+
+ /**
+ * Gets the value of the refMode property.
+ *
+ * @return
+ * possible object is
+ * {@link STRefMode }
+ *
+ */
+ public STRefMode getRefMode() {
+ if (refMode == null) {
+ return STRefMode.A_1;
+ } else {
+ return refMode;
+ }
+ }
+
+ /**
+ * Sets the value of the refMode property.
+ *
+ * @param value
+ * allowed object is
+ * {@link STRefMode }
+ *
+ */
+ public void setRefMode(STRefMode value) {
+ this.refMode = value;
+ }
+
+ /**
+ * Gets the value of the iterate property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isIterate() {
+ if (iterate == null) {
+ return false;
+ } else {
+ return iterate;
+ }
+ }
+
+ /**
+ * Sets the value of the iterate property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setIterate(Boolean value) {
+ this.iterate = value;
+ }
+
+ /**
+ * Gets the value of the iterateCount property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public long getIterateCount() {
+ if (iterateCount == null) {
+ return 100L;
+ } else {
+ return iterateCount;
+ }
+ }
+
+ /**
+ * Sets the value of the iterateCount property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setIterateCount(Long value) {
+ this.iterateCount = value;
+ }
+
+ /**
+ * Gets the value of the iterateDelta property.
+ *
+ * @return
+ * possible object is
+ * {@link Double }
+ *
+ */
+ public double getIterateDelta() {
+ if (iterateDelta == null) {
+ return 0.0010D;
+ } else {
+ return iterateDelta;
+ }
+ }
+
+ /**
+ * Sets the value of the iterateDelta property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Double }
+ *
+ */
+ public void setIterateDelta(Double value) {
+ this.iterateDelta = value;
+ }
+
+ /**
+ * Gets the value of the fullPrecision property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isFullPrecision() {
+ if (fullPrecision == null) {
+ return true;
+ } else {
+ return fullPrecision;
+ }
+ }
+
+ /**
+ * Sets the value of the fullPrecision property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setFullPrecision(Boolean value) {
+ this.fullPrecision = value;
+ }
+
+ /**
+ * Gets the value of the calcCompleted property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isCalcCompleted() {
+ if (calcCompleted == null) {
+ return true;
+ } else {
+ return calcCompleted;
+ }
+ }
+
+ /**
+ * Sets the value of the calcCompleted property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setCalcCompleted(Boolean value) {
+ this.calcCompleted = value;
+ }
+
+ /**
+ * Gets the value of the calcOnSave property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isCalcOnSave() {
+ if (calcOnSave == null) {
+ return true;
+ } else {
+ return calcOnSave;
+ }
+ }
+
+ /**
+ * Sets the value of the calcOnSave property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setCalcOnSave(Boolean value) {
+ this.calcOnSave = value;
+ }
+
+ /**
+ * Gets the value of the concurrentCalc property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isConcurrentCalc() {
+ if (concurrentCalc == null) {
+ return true;
+ } else {
+ return concurrentCalc;
+ }
+ }
+
+ /**
+ * Sets the value of the concurrentCalc property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setConcurrentCalc(Boolean value) {
+ this.concurrentCalc = value;
+ }
+
+ /**
+ * Gets the value of the concurrentManualCount property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public Long getConcurrentManualCount() {
+ return concurrentManualCount;
+ }
+
+ /**
+ * Sets the value of the concurrentManualCount property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setConcurrentManualCount(Long value) {
+ this.concurrentManualCount = value;
+ }
+
+ /**
+ * Gets the value of the forceFullCalc property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isForceFullCalc() {
+ return forceFullCalc;
+ }
+
+ /**
+ * Sets the value of the forceFullCalc property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setForceFullCalc(Boolean value) {
+ this.forceFullCalc = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTCalculatedItem.java b/src/xlsx4j/java/org/xlsx4j/sml/CTCalculatedItem.java
index 29b3387bc3..57797256a5 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTCalculatedItem.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTCalculatedItem.java
@@ -1,166 +1,178 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlSchemaType;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_CalculatedItem">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="pivotArea" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_PivotArea"/>
- * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
- * </sequence>
- * <attribute name="field" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * <attribute name="formula" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CalculatedItem", propOrder = {
- "pivotArea",
- "extLst"
-})
-public class CTCalculatedItem {
-
- @XmlElement(required = true)
- protected CTPivotArea pivotArea;
- protected CTExtensionList extLst;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long field;
- @XmlAttribute
- protected String formula;
-
- /**
- * Gets the value of the pivotArea property.
- *
- * @return
- * possible object is
- * {@link CTPivotArea }
- *
- */
- public CTPivotArea getPivotArea() {
- return pivotArea;
- }
-
- /**
- * Sets the value of the pivotArea property.
- *
- * @param value
- * allowed object is
- * {@link CTPivotArea }
- *
- */
- public void setPivotArea(CTPivotArea value) {
- this.pivotArea = value;
- }
-
- /**
- * Gets the value of the extLst property.
- *
- * @return
- * possible object is
- * {@link CTExtensionList }
- *
- */
- public CTExtensionList getExtLst() {
- return extLst;
- }
-
- /**
- * Sets the value of the extLst property.
- *
- * @param value
- * allowed object is
- * {@link CTExtensionList }
- *
- */
- public void setExtLst(CTExtensionList value) {
- this.extLst = value;
- }
-
- /**
- * Gets the value of the field property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public Long getField() {
- return field;
- }
-
- /**
- * Sets the value of the field property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setField(Long value) {
- this.field = value;
- }
-
- /**
- * Gets the value of the formula property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getFormula() {
- return formula;
- }
-
- /**
- * Sets the value of the formula property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setFormula(String value) {
- this.formula = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_CalculatedItem">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="pivotArea" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_PivotArea"/>
+ * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="field" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * <attribute name="formula" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CalculatedItem", propOrder = {
+ "pivotArea",
+ "extLst"
+})
+public class CTCalculatedItem implements Child
+{
+
+ @XmlElement(required = true)
+ protected CTPivotArea pivotArea;
+ protected CTExtensionList extLst;
+ @XmlAttribute(name = "field")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long field;
+ @XmlAttribute(name = "formula")
+ protected String formula;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the pivotArea property.
+ *
+ * @return
+ * possible object is
+ * {@link CTPivotArea }
+ *
+ */
+ public CTPivotArea getPivotArea() {
+ return pivotArea;
+ }
+
+ /**
+ * Sets the value of the pivotArea property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTPivotArea }
+ *
+ */
+ public void setPivotArea(CTPivotArea value) {
+ this.pivotArea = value;
+ }
+
+ /**
+ * Gets the value of the extLst property.
+ *
+ * @return
+ * possible object is
+ * {@link CTExtensionList }
+ *
+ */
+ public CTExtensionList getExtLst() {
+ return extLst;
+ }
+
+ /**
+ * Sets the value of the extLst property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTExtensionList }
+ *
+ */
+ public void setExtLst(CTExtensionList value) {
+ this.extLst = value;
+ }
+
+ /**
+ * Gets the value of the field property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public Long getField() {
+ return field;
+ }
+
+ /**
+ * Sets the value of the field property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setField(Long value) {
+ this.field = value;
+ }
+
+ /**
+ * Gets the value of the formula property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFormula() {
+ return formula;
+ }
+
+ /**
+ * Sets the value of the formula property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFormula(String value) {
+ this.formula = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTCalculatedItems.java b/src/xlsx4j/java/org/xlsx4j/sml/CTCalculatedItems.java
index 2efd359ea5..060288fe8a 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTCalculatedItems.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTCalculatedItems.java
@@ -1,119 +1,131 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import java.util.ArrayList;
-import java.util.List;
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlSchemaType;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_CalculatedItems">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="calculatedItem" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CalculatedItem" maxOccurs="unbounded"/>
- * </sequence>
- * <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CalculatedItems", propOrder = {
- "calculatedItem"
-})
-public class CTCalculatedItems {
-
- @XmlElement(required = true)
- protected Listset
method for the calculatedItem property.
- *
- *
- * getCalculatedItem().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_CalculatedItems">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="calculatedItem" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CalculatedItem" maxOccurs="unbounded"/>
+ * </sequence>
+ * <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CalculatedItems", propOrder = {
+ "calculatedItem"
+})
+public class CTCalculatedItems implements Child
+{
+
+ @XmlElement(required = true)
+ protected Listset
method for the calculatedItem property.
+ *
+ *
+ * getCalculatedItem().add(newItem);
+ *
+ *
+ *
+ *
- * <complexType name="CT_CalculatedMember">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence minOccurs="0">
- * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
- * </sequence>
- * <attribute name="name" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
- * <attribute name="mdx" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
- * <attribute name="memberName" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
- * <attribute name="hierarchy" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
- * <attribute name="parent" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
- * <attribute name="solveOrder" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
- * <attribute name="set" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CalculatedMember", propOrder = {
- "extLst"
-})
-public class CTCalculatedMember {
-
- protected CTExtensionList extLst;
- @XmlAttribute(required = true)
- protected String name;
- @XmlAttribute(required = true)
- protected String mdx;
- @XmlAttribute
- protected String memberName;
- @XmlAttribute
- protected String hierarchy;
- @XmlAttribute
- protected String parent;
- @XmlAttribute
- protected Integer solveOrder;
- @XmlAttribute
- protected Boolean set;
-
- /**
- * Gets the value of the extLst property.
- *
- * @return
- * possible object is
- * {@link CTExtensionList }
- *
- */
- public CTExtensionList getExtLst() {
- return extLst;
- }
-
- /**
- * Sets the value of the extLst property.
- *
- * @param value
- * allowed object is
- * {@link CTExtensionList }
- *
- */
- public void setExtLst(CTExtensionList value) {
- this.extLst = value;
- }
-
- /**
- * Gets the value of the name property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getName() {
- return name;
- }
-
- /**
- * Sets the value of the name property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setName(String value) {
- this.name = value;
- }
-
- /**
- * Gets the value of the mdx property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getMdx() {
- return mdx;
- }
-
- /**
- * Sets the value of the mdx property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setMdx(String value) {
- this.mdx = value;
- }
-
- /**
- * Gets the value of the memberName property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getMemberName() {
- return memberName;
- }
-
- /**
- * Sets the value of the memberName property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setMemberName(String value) {
- this.memberName = value;
- }
-
- /**
- * Gets the value of the hierarchy property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getHierarchy() {
- return hierarchy;
- }
-
- /**
- * Sets the value of the hierarchy property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setHierarchy(String value) {
- this.hierarchy = value;
- }
-
- /**
- * Gets the value of the parent property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getParent() {
- return parent;
- }
-
- /**
- * Sets the value of the parent property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setParent(String value) {
- this.parent = value;
- }
-
- /**
- * Gets the value of the solveOrder property.
- *
- * @return
- * possible object is
- * {@link Integer }
- *
- */
- public int getSolveOrder() {
- if (solveOrder == null) {
- return 0;
- } else {
- return solveOrder;
- }
- }
-
- /**
- * Sets the value of the solveOrder property.
- *
- * @param value
- * allowed object is
- * {@link Integer }
- *
- */
- public void setSolveOrder(Integer value) {
- this.solveOrder = value;
- }
-
- /**
- * Gets the value of the set property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isSet() {
- if (set == null) {
- return false;
- } else {
- return set;
- }
- }
-
- /**
- * Sets the value of the set property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setSet(Boolean value) {
- this.set = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_CalculatedMember">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence minOccurs="0">
+ * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="name" use="required" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * <attribute name="mdx" use="required" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * <attribute name="memberName" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * <attribute name="hierarchy" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * <attribute name="parent" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * <attribute name="solveOrder" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
+ * <attribute name="set" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CalculatedMember", propOrder = {
+ "extLst"
+})
+public class CTCalculatedMember implements Child
+{
+
+ protected CTExtensionList extLst;
+ @XmlAttribute(name = "name", required = true)
+ protected String name;
+ @XmlAttribute(name = "mdx", required = true)
+ protected String mdx;
+ @XmlAttribute(name = "memberName")
+ protected String memberName;
+ @XmlAttribute(name = "hierarchy")
+ protected String hierarchy;
+ @XmlAttribute(name = "parent")
+ protected String parent;
+ @XmlAttribute(name = "solveOrder")
+ protected Integer solveOrder;
+ @XmlAttribute(name = "set")
+ protected Boolean set;
+ @XmlTransient
+ private Object parentObj;
+
+ /**
+ * Gets the value of the extLst property.
+ *
+ * @return
+ * possible object is
+ * {@link CTExtensionList }
+ *
+ */
+ public CTExtensionList getExtLst() {
+ return extLst;
+ }
+
+ /**
+ * Sets the value of the extLst property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTExtensionList }
+ *
+ */
+ public void setExtLst(CTExtensionList value) {
+ this.extLst = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the mdx property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMdx() {
+ return mdx;
+ }
+
+ /**
+ * Sets the value of the mdx property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMdx(String value) {
+ this.mdx = value;
+ }
+
+ /**
+ * Gets the value of the memberName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMemberName() {
+ return memberName;
+ }
+
+ /**
+ * Sets the value of the memberName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMemberName(String value) {
+ this.memberName = value;
+ }
+
+ /**
+ * Gets the value of the hierarchy property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getHierarchy() {
+ return hierarchy;
+ }
+
+ /**
+ * Sets the value of the hierarchy property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setHierarchy(String value) {
+ this.hierarchy = value;
+ }
+
+ /**
+ * Gets the value of the parent property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getParentAttr() {
+ return parent;
+ }
+
+ /**
+ * Sets the value of the parent property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setParent(String value) {
+ this.parent = value;
+ }
+
+ /**
+ * Gets the value of the solveOrder property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public int getSolveOrder() {
+ if (solveOrder == null) {
+ return 0;
+ } else {
+ return solveOrder;
+ }
+ }
+
+ /**
+ * Sets the value of the solveOrder property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setSolveOrder(Integer value) {
+ this.solveOrder = value;
+ }
+
+ /**
+ * Gets the value of the set property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isSet() {
+ if (set == null) {
+ return false;
+ } else {
+ return set;
+ }
+ }
+
+ /**
+ * Sets the value of the set property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setSet(Boolean value) {
+ this.set = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parentObj;
+ }
+
+ public void setParent(Object parent) {
+ this.parentObj = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTCalculatedMembers.java b/src/xlsx4j/java/org/xlsx4j/sml/CTCalculatedMembers.java
index ac05af27a5..1d8f999247 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTCalculatedMembers.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTCalculatedMembers.java
@@ -1,119 +1,131 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import java.util.ArrayList;
-import java.util.List;
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlSchemaType;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_CalculatedMembers">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="calculatedMember" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CalculatedMember" maxOccurs="unbounded"/>
- * </sequence>
- * <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CalculatedMembers", propOrder = {
- "calculatedMember"
-})
-public class CTCalculatedMembers {
-
- @XmlElement(required = true)
- protected Listset
method for the calculatedMember property.
- *
- *
- * getCalculatedMember().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_CalculatedMembers">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="calculatedMember" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CalculatedMember" maxOccurs="unbounded"/>
+ * </sequence>
+ * <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CalculatedMembers", propOrder = {
+ "calculatedMember"
+})
+public class CTCalculatedMembers implements Child
+{
+
+ @XmlElement(required = true)
+ protected Listset
method for the calculatedMember property.
+ *
+ *
+ * getCalculatedMember().add(newItem);
+ *
+ *
+ *
+ *
- * <complexType name="CT_CellAlignment">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <attribute name="horizontal" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_HorizontalAlignment" />
- * <attribute name="vertical" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_VerticalAlignment" />
- * <attribute name="textRotation" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * <attribute name="wrapText" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- * <attribute name="indent" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * <attribute name="relativeIndent" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="justifyLastLine" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- * <attribute name="shrinkToFit" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- * <attribute name="readingOrder" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CellAlignment")
-public class CTCellAlignment {
-
- @XmlAttribute
- protected STHorizontalAlignment horizontal;
- @XmlAttribute
- protected STVerticalAlignment vertical;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long textRotation;
- @XmlAttribute
- protected Boolean wrapText;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long indent;
- @XmlAttribute
- protected Integer relativeIndent;
- @XmlAttribute
- protected Boolean justifyLastLine;
- @XmlAttribute
- protected Boolean shrinkToFit;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long readingOrder;
-
- /**
- * Gets the value of the horizontal property.
- *
- * @return
- * possible object is
- * {@link STHorizontalAlignment }
- *
- */
- public STHorizontalAlignment getHorizontal() {
- return horizontal;
- }
-
- /**
- * Sets the value of the horizontal property.
- *
- * @param value
- * allowed object is
- * {@link STHorizontalAlignment }
- *
- */
- public void setHorizontal(STHorizontalAlignment value) {
- this.horizontal = value;
- }
-
- /**
- * Gets the value of the vertical property.
- *
- * @return
- * possible object is
- * {@link STVerticalAlignment }
- *
- */
- public STVerticalAlignment getVertical() {
- return vertical;
- }
-
- /**
- * Sets the value of the vertical property.
- *
- * @param value
- * allowed object is
- * {@link STVerticalAlignment }
- *
- */
- public void setVertical(STVerticalAlignment value) {
- this.vertical = value;
- }
-
- /**
- * Gets the value of the textRotation property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public Long getTextRotation() {
- return textRotation;
- }
-
- /**
- * Sets the value of the textRotation property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setTextRotation(Long value) {
- this.textRotation = value;
- }
-
- /**
- * Gets the value of the wrapText property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public Boolean isWrapText() {
- return wrapText;
- }
-
- /**
- * Sets the value of the wrapText property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setWrapText(Boolean value) {
- this.wrapText = value;
- }
-
- /**
- * Gets the value of the indent property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public Long getIndent() {
- return indent;
- }
-
- /**
- * Sets the value of the indent property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setIndent(Long value) {
- this.indent = value;
- }
-
- /**
- * Gets the value of the relativeIndent property.
- *
- * @return
- * possible object is
- * {@link Integer }
- *
- */
- public Integer getRelativeIndent() {
- return relativeIndent;
- }
-
- /**
- * Sets the value of the relativeIndent property.
- *
- * @param value
- * allowed object is
- * {@link Integer }
- *
- */
- public void setRelativeIndent(Integer value) {
- this.relativeIndent = value;
- }
-
- /**
- * Gets the value of the justifyLastLine property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public Boolean isJustifyLastLine() {
- return justifyLastLine;
- }
-
- /**
- * Sets the value of the justifyLastLine property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setJustifyLastLine(Boolean value) {
- this.justifyLastLine = value;
- }
-
- /**
- * Gets the value of the shrinkToFit property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public Boolean isShrinkToFit() {
- return shrinkToFit;
- }
-
- /**
- * Sets the value of the shrinkToFit property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setShrinkToFit(Boolean value) {
- this.shrinkToFit = value;
- }
-
- /**
- * Gets the value of the readingOrder property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public Long getReadingOrder() {
- return readingOrder;
- }
-
- /**
- * Sets the value of the readingOrder property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setReadingOrder(Long value) {
- this.readingOrder = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_CellAlignment">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="horizontal" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_HorizontalAlignment" />
+ * <attribute name="vertical" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_VerticalAlignment" />
+ * <attribute name="textRotation" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * <attribute name="wrapText" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="indent" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * <attribute name="relativeIndent" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="justifyLastLine" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="shrinkToFit" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="readingOrder" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CellAlignment")
+public class CTCellAlignment implements Child
+{
+
+ @XmlAttribute(name = "horizontal")
+ protected STHorizontalAlignment horizontal;
+ @XmlAttribute(name = "vertical")
+ protected STVerticalAlignment vertical;
+ @XmlAttribute(name = "textRotation")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long textRotation;
+ @XmlAttribute(name = "wrapText")
+ protected Boolean wrapText;
+ @XmlAttribute(name = "indent")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long indent;
+ @XmlAttribute(name = "relativeIndent")
+ protected Integer relativeIndent;
+ @XmlAttribute(name = "justifyLastLine")
+ protected Boolean justifyLastLine;
+ @XmlAttribute(name = "shrinkToFit")
+ protected Boolean shrinkToFit;
+ @XmlAttribute(name = "readingOrder")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long readingOrder;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the horizontal property.
+ *
+ * @return
+ * possible object is
+ * {@link STHorizontalAlignment }
+ *
+ */
+ public STHorizontalAlignment getHorizontal() {
+ return horizontal;
+ }
+
+ /**
+ * Sets the value of the horizontal property.
+ *
+ * @param value
+ * allowed object is
+ * {@link STHorizontalAlignment }
+ *
+ */
+ public void setHorizontal(STHorizontalAlignment value) {
+ this.horizontal = value;
+ }
+
+ /**
+ * Gets the value of the vertical property.
+ *
+ * @return
+ * possible object is
+ * {@link STVerticalAlignment }
+ *
+ */
+ public STVerticalAlignment getVertical() {
+ return vertical;
+ }
+
+ /**
+ * Sets the value of the vertical property.
+ *
+ * @param value
+ * allowed object is
+ * {@link STVerticalAlignment }
+ *
+ */
+ public void setVertical(STVerticalAlignment value) {
+ this.vertical = value;
+ }
+
+ /**
+ * Gets the value of the textRotation property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public Long getTextRotation() {
+ return textRotation;
+ }
+
+ /**
+ * Sets the value of the textRotation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setTextRotation(Long value) {
+ this.textRotation = value;
+ }
+
+ /**
+ * Gets the value of the wrapText property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isWrapText() {
+ return wrapText;
+ }
+
+ /**
+ * Sets the value of the wrapText property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setWrapText(Boolean value) {
+ this.wrapText = value;
+ }
+
+ /**
+ * Gets the value of the indent property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public Long getIndent() {
+ return indent;
+ }
+
+ /**
+ * Sets the value of the indent property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setIndent(Long value) {
+ this.indent = value;
+ }
+
+ /**
+ * Gets the value of the relativeIndent property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public Integer getRelativeIndent() {
+ return relativeIndent;
+ }
+
+ /**
+ * Sets the value of the relativeIndent property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setRelativeIndent(Integer value) {
+ this.relativeIndent = value;
+ }
+
+ /**
+ * Gets the value of the justifyLastLine property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isJustifyLastLine() {
+ return justifyLastLine;
+ }
+
+ /**
+ * Sets the value of the justifyLastLine property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setJustifyLastLine(Boolean value) {
+ this.justifyLastLine = value;
+ }
+
+ /**
+ * Gets the value of the shrinkToFit property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isShrinkToFit() {
+ return shrinkToFit;
+ }
+
+ /**
+ * Sets the value of the shrinkToFit property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setShrinkToFit(Boolean value) {
+ this.shrinkToFit = value;
+ }
+
+ /**
+ * Gets the value of the readingOrder property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public Long getReadingOrder() {
+ return readingOrder;
+ }
+
+ /**
+ * Sets the value of the readingOrder property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setReadingOrder(Long value) {
+ this.readingOrder = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTCellFormula.java b/src/xlsx4j/java/org/xlsx4j/sml/CTCellFormula.java
index 83cf97c732..77963f2229 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTCellFormula.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTCellFormula.java
@@ -1,438 +1,450 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlSchemaType;
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.XmlValue;
-
-
-/**
- *
- * <complexType name="CT_CellFormula">
- * <simpleContent>
- * <extension base="<http://schemas.openxmlformats.org/spreadsheetml/2006/main>ST_Formula">
- * <attribute name="t" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CellFormulaType" default="normal" />
- * <attribute name="aca" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="ref" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Ref" />
- * <attribute name="dt2D" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="dtr" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="del1" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="del2" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="r1" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CellRef" />
- * <attribute name="r2" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CellRef" />
- * <attribute name="ca" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="si" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * <attribute name="bx" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * </extension>
- * </simpleContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CellFormula", propOrder = {
- "value"
-})
-public class CTCellFormula {
-
- @XmlValue
- protected String value;
- @XmlAttribute
- protected STCellFormulaType t;
- @XmlAttribute
- protected Boolean aca;
- @XmlAttribute
- protected String ref;
- @XmlAttribute
- protected Boolean dt2D;
- @XmlAttribute
- protected Boolean dtr;
- @XmlAttribute
- protected Boolean del1;
- @XmlAttribute
- protected Boolean del2;
- @XmlAttribute
- protected String r1;
- @XmlAttribute
- protected String r2;
- @XmlAttribute
- protected Boolean ca;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long si;
- @XmlAttribute
- protected Boolean bx;
-
- /**
- * Formula
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getValue() {
- return value;
- }
-
- /**
- * Sets the value of the value property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setValue(String value) {
- this.value = value;
- }
-
- /**
- * Gets the value of the t property.
- *
- * @return
- * possible object is
- * {@link STCellFormulaType }
- *
- */
- public STCellFormulaType getT() {
- if (t == null) {
- return STCellFormulaType.NORMAL;
- } else {
- return t;
- }
- }
-
- /**
- * Sets the value of the t property.
- *
- * @param value
- * allowed object is
- * {@link STCellFormulaType }
- *
- */
- public void setT(STCellFormulaType value) {
- this.t = value;
- }
-
- /**
- * Gets the value of the aca property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isAca() {
- if (aca == null) {
- return false;
- } else {
- return aca;
- }
- }
-
- /**
- * Sets the value of the aca property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setAca(Boolean value) {
- this.aca = value;
- }
-
- /**
- * Gets the value of the ref property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getRef() {
- return ref;
- }
-
- /**
- * Sets the value of the ref property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setRef(String value) {
- this.ref = value;
- }
-
- /**
- * Gets the value of the dt2D property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isDt2D() {
- if (dt2D == null) {
- return false;
- } else {
- return dt2D;
- }
- }
-
- /**
- * Sets the value of the dt2D property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setDt2D(Boolean value) {
- this.dt2D = value;
- }
-
- /**
- * Gets the value of the dtr property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isDtr() {
- if (dtr == null) {
- return false;
- } else {
- return dtr;
- }
- }
-
- /**
- * Sets the value of the dtr property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setDtr(Boolean value) {
- this.dtr = value;
- }
-
- /**
- * Gets the value of the del1 property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isDel1() {
- if (del1 == null) {
- return false;
- } else {
- return del1;
- }
- }
-
- /**
- * Sets the value of the del1 property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setDel1(Boolean value) {
- this.del1 = value;
- }
-
- /**
- * Gets the value of the del2 property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isDel2() {
- if (del2 == null) {
- return false;
- } else {
- return del2;
- }
- }
-
- /**
- * Sets the value of the del2 property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setDel2(Boolean value) {
- this.del2 = value;
- }
-
- /**
- * Gets the value of the r1 property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getR1() {
- return r1;
- }
-
- /**
- * Sets the value of the r1 property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setR1(String value) {
- this.r1 = value;
- }
-
- /**
- * Gets the value of the r2 property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getR2() {
- return r2;
- }
-
- /**
- * Sets the value of the r2 property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setR2(String value) {
- this.r2 = value;
- }
-
- /**
- * Gets the value of the ca property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isCa() {
- if (ca == null) {
- return false;
- } else {
- return ca;
- }
- }
-
- /**
- * Sets the value of the ca property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setCa(Boolean value) {
- this.ca = value;
- }
-
- /**
- * Gets the value of the si property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public Long getSi() {
- return si;
- }
-
- /**
- * Sets the value of the si property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setSi(Long value) {
- this.si = value;
- }
-
- /**
- * Gets the value of the bx property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isBx() {
- if (bx == null) {
- return false;
- } else {
- return bx;
- }
- }
-
- /**
- * Sets the value of the bx property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setBx(Boolean value) {
- this.bx = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_CellFormula">
+ * <simpleContent>
+ * <extension base="<http://schemas.openxmlformats.org/spreadsheetml/2006/main>ST_Formula">
+ * <attribute name="t" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CellFormulaType" default="normal" />
+ * <attribute name="aca" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="ref" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Ref" />
+ * <attribute name="dt2D" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="dtr" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="del1" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="del2" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="r1" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CellRef" />
+ * <attribute name="r2" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CellRef" />
+ * <attribute name="ca" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="si" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * <attribute name="bx" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CellFormula", propOrder = {
+ "value"
+})
+public class CTCellFormula implements Child
+{
+
+ @XmlValue
+ protected String value;
+ @XmlAttribute(name = "t")
+ protected STCellFormulaType t;
+ @XmlAttribute(name = "aca")
+ protected Boolean aca;
+ @XmlAttribute(name = "ref")
+ protected String ref;
+ @XmlAttribute(name = "dt2D")
+ protected Boolean dt2D;
+ @XmlAttribute(name = "dtr")
+ protected Boolean dtr;
+ @XmlAttribute(name = "del1")
+ protected Boolean del1;
+ @XmlAttribute(name = "del2")
+ protected Boolean del2;
+ @XmlAttribute(name = "r1")
+ protected String r1;
+ @XmlAttribute(name = "r2")
+ protected String r2;
+ @XmlAttribute(name = "ca")
+ protected Boolean ca;
+ @XmlAttribute(name = "si")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long si;
+ @XmlAttribute(name = "bx")
+ protected Boolean bx;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets the value of the t property.
+ *
+ * @return
+ * possible object is
+ * {@link STCellFormulaType }
+ *
+ */
+ public STCellFormulaType getT() {
+ if (t == null) {
+ return STCellFormulaType.NORMAL;
+ } else {
+ return t;
+ }
+ }
+
+ /**
+ * Sets the value of the t property.
+ *
+ * @param value
+ * allowed object is
+ * {@link STCellFormulaType }
+ *
+ */
+ public void setT(STCellFormulaType value) {
+ this.t = value;
+ }
+
+ /**
+ * Gets the value of the aca property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isAca() {
+ if (aca == null) {
+ return false;
+ } else {
+ return aca;
+ }
+ }
+
+ /**
+ * Sets the value of the aca property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setAca(Boolean value) {
+ this.aca = value;
+ }
+
+ /**
+ * Gets the value of the ref property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRef() {
+ return ref;
+ }
+
+ /**
+ * Sets the value of the ref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRef(String value) {
+ this.ref = value;
+ }
+
+ /**
+ * Gets the value of the dt2D property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isDt2D() {
+ if (dt2D == null) {
+ return false;
+ } else {
+ return dt2D;
+ }
+ }
+
+ /**
+ * Sets the value of the dt2D property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setDt2D(Boolean value) {
+ this.dt2D = value;
+ }
+
+ /**
+ * Gets the value of the dtr property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isDtr() {
+ if (dtr == null) {
+ return false;
+ } else {
+ return dtr;
+ }
+ }
+
+ /**
+ * Sets the value of the dtr property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setDtr(Boolean value) {
+ this.dtr = value;
+ }
+
+ /**
+ * Gets the value of the del1 property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isDel1() {
+ if (del1 == null) {
+ return false;
+ } else {
+ return del1;
+ }
+ }
+
+ /**
+ * Sets the value of the del1 property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setDel1(Boolean value) {
+ this.del1 = value;
+ }
+
+ /**
+ * Gets the value of the del2 property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isDel2() {
+ if (del2 == null) {
+ return false;
+ } else {
+ return del2;
+ }
+ }
+
+ /**
+ * Sets the value of the del2 property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setDel2(Boolean value) {
+ this.del2 = value;
+ }
+
+ /**
+ * Gets the value of the r1 property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getR1() {
+ return r1;
+ }
+
+ /**
+ * Sets the value of the r1 property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setR1(String value) {
+ this.r1 = value;
+ }
+
+ /**
+ * Gets the value of the r2 property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getR2() {
+ return r2;
+ }
+
+ /**
+ * Sets the value of the r2 property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setR2(String value) {
+ this.r2 = value;
+ }
+
+ /**
+ * Gets the value of the ca property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isCa() {
+ if (ca == null) {
+ return false;
+ } else {
+ return ca;
+ }
+ }
+
+ /**
+ * Sets the value of the ca property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setCa(Boolean value) {
+ this.ca = value;
+ }
+
+ /**
+ * Gets the value of the si property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public Long getSi() {
+ return si;
+ }
+
+ /**
+ * Sets the value of the si property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setSi(Long value) {
+ this.si = value;
+ }
+
+ /**
+ * Gets the value of the bx property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isBx() {
+ if (bx == null) {
+ return false;
+ } else {
+ return bx;
+ }
+ }
+
+ /**
+ * Sets the value of the bx property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setBx(Boolean value) {
+ this.bx = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTCellProtection.java b/src/xlsx4j/java/org/xlsx4j/sml/CTCellProtection.java
index 30d7c2350b..d6db564f89 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTCellProtection.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTCellProtection.java
@@ -1,105 +1,117 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_CellProtection">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <attribute name="locked" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- * <attribute name="hidden" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CellProtection")
-public class CTCellProtection {
-
- @XmlAttribute
- protected Boolean locked;
- @XmlAttribute
- protected Boolean hidden;
-
- /**
- * Gets the value of the locked property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public Boolean isLocked() {
- return locked;
- }
-
- /**
- * Sets the value of the locked property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setLocked(Boolean value) {
- this.locked = value;
- }
-
- /**
- * Gets the value of the hidden property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public Boolean isHidden() {
- return hidden;
- }
-
- /**
- * Sets the value of the hidden property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setHidden(Boolean value) {
- this.hidden = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_CellProtection">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="locked" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="hidden" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CellProtection")
+public class CTCellProtection implements Child
+{
+
+ @XmlAttribute(name = "locked")
+ protected Boolean locked;
+ @XmlAttribute(name = "hidden")
+ protected Boolean hidden;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the locked property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isLocked() {
+ return locked;
+ }
+
+ /**
+ * Sets the value of the locked property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setLocked(Boolean value) {
+ this.locked = value;
+ }
+
+ /**
+ * Gets the value of the hidden property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isHidden() {
+ return hidden;
+ }
+
+ /**
+ * Sets the value of the hidden property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setHidden(Boolean value) {
+ this.hidden = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTCellSmartTag.java b/src/xlsx4j/java/org/xlsx4j/sml/CTCellSmartTag.java
index 1a587ef21f..c6015f5b49 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTCellSmartTag.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTCellSmartTag.java
@@ -1,171 +1,183 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import java.util.ArrayList;
-import java.util.List;
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlSchemaType;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_CellSmartTag">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="cellSmartTagPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CellSmartTagPr" maxOccurs="unbounded" minOccurs="0"/>
- * </sequence>
- * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * <attribute name="deleted" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="xmlBased" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CellSmartTag", propOrder = {
- "cellSmartTagPr"
-})
-public class CTCellSmartTag {
-
- protected Listset
method for the cellSmartTagPr property.
- *
- *
- * getCellSmartTagPr().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_CellSmartTag">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="cellSmartTagPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CellSmartTagPr" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * <attribute name="deleted" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="xmlBased" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CellSmartTag", propOrder = {
+ "cellSmartTagPr"
+})
+public class CTCellSmartTag implements Child
+{
+
+ protected Listset
method for the cellSmartTagPr property.
+ *
+ *
+ * getCellSmartTagPr().add(newItem);
+ *
+ *
+ *
+ *
- * <complexType name="CT_CellSmartTagPr">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <attribute name="key" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
- * <attribute name="val" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CellSmartTagPr")
-public class CTCellSmartTagPr {
-
- @XmlAttribute(required = true)
- protected String key;
- @XmlAttribute(required = true)
- protected String val;
-
- /**
- * Gets the value of the key property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getKey() {
- return key;
- }
-
- /**
- * Sets the value of the key property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setKey(String value) {
- this.key = value;
- }
-
- /**
- * Gets the value of the val property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getVal() {
- return val;
- }
-
- /**
- * Sets the value of the val property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setVal(String value) {
- this.val = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_CellSmartTagPr">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="key" use="required" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * <attribute name="val" use="required" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CellSmartTagPr")
+public class CTCellSmartTagPr implements Child
+{
+
+ @XmlAttribute(name = "key", required = true)
+ protected String key;
+ @XmlAttribute(name = "val", required = true)
+ protected String val;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the key property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getKey() {
+ return key;
+ }
+
+ /**
+ * Sets the value of the key property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setKey(String value) {
+ this.key = value;
+ }
+
+ /**
+ * Gets the value of the val property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVal() {
+ return val;
+ }
+
+ /**
+ * Sets the value of the val property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVal(String value) {
+ this.val = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTCellSmartTags.java b/src/xlsx4j/java/org/xlsx4j/sml/CTCellSmartTags.java
index cc4a81437b..80cdadfa0f 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTCellSmartTags.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTCellSmartTags.java
@@ -1,117 +1,129 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import java.util.ArrayList;
-import java.util.List;
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_CellSmartTags">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="cellSmartTag" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CellSmartTag" maxOccurs="unbounded"/>
- * </sequence>
- * <attribute name="r" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CellRef" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CellSmartTags", propOrder = {
- "cellSmartTag"
-})
-public class CTCellSmartTags {
-
- @XmlElement(required = true)
- protected Listset
method for the cellSmartTag property.
- *
- *
- * getCellSmartTag().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_CellSmartTags">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="cellSmartTag" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CellSmartTag" maxOccurs="unbounded"/>
+ * </sequence>
+ * <attribute name="r" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CellRef" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CellSmartTags", propOrder = {
+ "cellSmartTag"
+})
+public class CTCellSmartTags implements Child
+{
+
+ @XmlElement(required = true)
+ protected Listset
method for the cellSmartTag property.
+ *
+ *
+ * getCellSmartTag().add(newItem);
+ *
+ *
+ *
+ *
- * <complexType name="CT_CellStyle">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
- * </sequence>
- * <attribute name="name" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
- * <attribute name="xfId" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CellStyleXfId" />
- * <attribute name="builtinId" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * <attribute name="iLevel" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * <attribute name="hidden" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- * <attribute name="customBuiltin" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CellStyle", propOrder = {
- "extLst"
-})
-public class CTCellStyle {
-
- protected CTExtensionList extLst;
- @XmlAttribute
- protected String name;
- @XmlAttribute(required = true)
- protected long xfId;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long builtinId;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long iLevel;
- @XmlAttribute
- protected Boolean hidden;
- @XmlAttribute
- protected Boolean customBuiltin;
-
- /**
- * Gets the value of the extLst property.
- *
- * @return
- * possible object is
- * {@link CTExtensionList }
- *
- */
- public CTExtensionList getExtLst() {
- return extLst;
- }
-
- /**
- * Sets the value of the extLst property.
- *
- * @param value
- * allowed object is
- * {@link CTExtensionList }
- *
- */
- public void setExtLst(CTExtensionList value) {
- this.extLst = value;
- }
-
- /**
- * Gets the value of the name property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getName() {
- return name;
- }
-
- /**
- * Sets the value of the name property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setName(String value) {
- this.name = value;
- }
-
- /**
- * Gets the value of the xfId property.
- *
- */
- public long getXfId() {
- return xfId;
- }
-
- /**
- * Sets the value of the xfId property.
- *
- */
- public void setXfId(long value) {
- this.xfId = value;
- }
-
- /**
- * Gets the value of the builtinId property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public Long getBuiltinId() {
- return builtinId;
- }
-
- /**
- * Sets the value of the builtinId property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setBuiltinId(Long value) {
- this.builtinId = value;
- }
-
- /**
- * Gets the value of the iLevel property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public Long getILevel() {
- return iLevel;
- }
-
- /**
- * Sets the value of the iLevel property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setILevel(Long value) {
- this.iLevel = value;
- }
-
- /**
- * Gets the value of the hidden property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public Boolean isHidden() {
- return hidden;
- }
-
- /**
- * Sets the value of the hidden property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setHidden(Boolean value) {
- this.hidden = value;
- }
-
- /**
- * Gets the value of the customBuiltin property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public Boolean isCustomBuiltin() {
- return customBuiltin;
- }
-
- /**
- * Sets the value of the customBuiltin property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setCustomBuiltin(Boolean value) {
- this.customBuiltin = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_CellStyle">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="name" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * <attribute name="xfId" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CellStyleXfId" />
+ * <attribute name="builtinId" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * <attribute name="iLevel" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * <attribute name="hidden" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="customBuiltin" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CellStyle", propOrder = {
+ "extLst"
+})
+public class CTCellStyle implements Child
+{
+
+ protected CTExtensionList extLst;
+ @XmlAttribute(name = "name")
+ protected String name;
+ @XmlAttribute(name = "xfId", required = true)
+ protected long xfId;
+ @XmlAttribute(name = "builtinId")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long builtinId;
+ @XmlAttribute(name = "iLevel")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long iLevel;
+ @XmlAttribute(name = "hidden")
+ protected Boolean hidden;
+ @XmlAttribute(name = "customBuiltin")
+ protected Boolean customBuiltin;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the extLst property.
+ *
+ * @return
+ * possible object is
+ * {@link CTExtensionList }
+ *
+ */
+ public CTExtensionList getExtLst() {
+ return extLst;
+ }
+
+ /**
+ * Sets the value of the extLst property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTExtensionList }
+ *
+ */
+ public void setExtLst(CTExtensionList value) {
+ this.extLst = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the xfId property.
+ *
+ */
+ public long getXfId() {
+ return xfId;
+ }
+
+ /**
+ * Sets the value of the xfId property.
+ *
+ */
+ public void setXfId(long value) {
+ this.xfId = value;
+ }
+
+ /**
+ * Gets the value of the builtinId property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public Long getBuiltinId() {
+ return builtinId;
+ }
+
+ /**
+ * Sets the value of the builtinId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setBuiltinId(Long value) {
+ this.builtinId = value;
+ }
+
+ /**
+ * Gets the value of the iLevel property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public Long getILevel() {
+ return iLevel;
+ }
+
+ /**
+ * Sets the value of the iLevel property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setILevel(Long value) {
+ this.iLevel = value;
+ }
+
+ /**
+ * Gets the value of the hidden property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isHidden() {
+ return hidden;
+ }
+
+ /**
+ * Sets the value of the hidden property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setHidden(Boolean value) {
+ this.hidden = value;
+ }
+
+ /**
+ * Gets the value of the customBuiltin property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isCustomBuiltin() {
+ return customBuiltin;
+ }
+
+ /**
+ * Sets the value of the customBuiltin property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setCustomBuiltin(Boolean value) {
+ this.customBuiltin = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTCellStyleXfs.java b/src/xlsx4j/java/org/xlsx4j/sml/CTCellStyleXfs.java
index dd0ffc0e95..4753cd78c6 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTCellStyleXfs.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTCellStyleXfs.java
@@ -1,119 +1,131 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import java.util.ArrayList;
-import java.util.List;
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlSchemaType;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_CellStyleXfs">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="xf" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Xf" maxOccurs="unbounded"/>
- * </sequence>
- * <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CellStyleXfs", propOrder = {
- "xf"
-})
-public class CTCellStyleXfs {
-
- @XmlElement(required = true)
- protected Listset
method for the xf property.
- *
- *
- * getXf().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_CellStyleXfs">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="xf" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Xf" maxOccurs="unbounded"/>
+ * </sequence>
+ * <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CellStyleXfs", propOrder = {
+ "xf"
+})
+public class CTCellStyleXfs implements Child
+{
+
+ @XmlElement(required = true)
+ protected Listset
method for the xf property.
+ *
+ *
+ * getXf().add(newItem);
+ *
+ *
+ *
+ *
- * <complexType name="CT_CellStyles">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="cellStyle" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CellStyle" maxOccurs="unbounded"/>
- * </sequence>
- * <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CellStyles", propOrder = {
- "cellStyle"
-})
-public class CTCellStyles {
-
- @XmlElement(required = true)
- protected Listset
method for the cellStyle property.
- *
- *
- * getCellStyle().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_CellStyles">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="cellStyle" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CellStyle" maxOccurs="unbounded"/>
+ * </sequence>
+ * <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CellStyles", propOrder = {
+ "cellStyle"
+})
+public class CTCellStyles implements Child
+{
+
+ @XmlElement(required = true)
+ protected Listset
method for the cellStyle property.
+ *
+ *
+ * getCellStyle().add(newItem);
+ *
+ *
+ *
+ *
- * <complexType name="CT_CellWatch">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <attribute name="r" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CellRef" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CellWatch")
-public class CTCellWatch {
-
- @XmlAttribute(required = true)
- protected String r;
-
- /**
- * Gets the value of the r property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getR() {
- return r;
- }
-
- /**
- * Sets the value of the r property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setR(String value) {
- this.r = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_CellWatch">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="r" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CellRef" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CellWatch")
+public class CTCellWatch implements Child
+{
+
+ @XmlAttribute(name = "r", required = true)
+ protected String r;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the r property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getR() {
+ return r;
+ }
+
+ /**
+ * Sets the value of the r property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setR(String value) {
+ this.r = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTCellWatches.java b/src/xlsx4j/java/org/xlsx4j/sml/CTCellWatches.java
index 8ea3c6cbb6..80f058589a 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTCellWatches.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTCellWatches.java
@@ -1,89 +1,101 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import java.util.ArrayList;
-import java.util.List;
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_CellWatches">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="cellWatch" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CellWatch" maxOccurs="unbounded"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CellWatches", propOrder = {
- "cellWatch"
-})
-public class CTCellWatches {
-
- @XmlElement(required = true)
- protected Listset
method for the cellWatch property.
- *
- *
- * getCellWatch().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_CellWatches">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="cellWatch" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CellWatch" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CellWatches", propOrder = {
+ "cellWatch"
+})
+public class CTCellWatches implements Child
+{
+
+ @XmlElement(required = true)
+ protected Listset
method for the cellWatch property.
+ *
+ *
+ * getCellWatch().add(newItem);
+ *
+ *
+ *
+ *
- * <complexType name="CT_CellXfs">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="xf" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Xf" maxOccurs="unbounded"/>
- * </sequence>
- * <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CellXfs", propOrder = {
- "xf"
-})
-public class CTCellXfs {
-
- @XmlElement(required = true)
- protected Listset
method for the xf property.
- *
- *
- * getXf().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_CellXfs">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="xf" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Xf" maxOccurs="unbounded"/>
+ * </sequence>
+ * <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CellXfs", propOrder = {
+ "xf"
+})
+public class CTCellXfs implements Child
+{
+
+ @XmlElement(required = true)
+ protected Listset
method for the xf property.
+ *
+ *
+ * getXf().add(newItem);
+ *
+ *
+ *
+ *
- * <complexType name="CT_CfRule">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="formula" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Formula" maxOccurs="3" minOccurs="0"/>
- * <element name="colorScale" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ColorScale" minOccurs="0"/>
- * <element name="dataBar" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_DataBar" minOccurs="0"/>
- * <element name="iconSet" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_IconSet" minOccurs="0"/>
- * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
- * </sequence>
- * <attribute name="type" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CfType" />
- * <attribute name="dxfId" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_DxfId" />
- * <attribute name="priority" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="stopIfTrue" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="aboveAverage" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
- * <attribute name="percent" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="bottom" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="operator" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_ConditionalFormattingOperator" />
- * <attribute name="text" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="timePeriod" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_TimePeriod" />
- * <attribute name="rank" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * <attribute name="stdDev" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="equalAverage" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CfRule", propOrder = {
- "formula",
- "colorScale",
- "dataBar",
- "iconSet",
- "extLst"
-})
-public class CTCfRule {
-
- protected Listset
method for the formula property.
- *
- *
- * getFormula().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_CfRule">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="formula" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Formula" maxOccurs="3" minOccurs="0"/>
+ * <element name="colorScale" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ColorScale" minOccurs="0"/>
+ * <element name="dataBar" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_DataBar" minOccurs="0"/>
+ * <element name="iconSet" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_IconSet" minOccurs="0"/>
+ * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="type" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CfType" />
+ * <attribute name="dxfId" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_DxfId" />
+ * <attribute name="priority" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="stopIfTrue" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="aboveAverage" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * <attribute name="percent" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="bottom" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="operator" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_ConditionalFormattingOperator" />
+ * <attribute name="text" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="timePeriod" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_TimePeriod" />
+ * <attribute name="rank" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * <attribute name="stdDev" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="equalAverage" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CfRule", propOrder = {
+ "formula",
+ "colorScale",
+ "dataBar",
+ "iconSet",
+ "extLst"
+})
+public class CTCfRule implements Child
+{
+
+ protected Listset
method for the formula property.
+ *
+ *
+ * getFormula().add(newItem);
+ *
+ *
+ *
+ *
- * <complexType name="CT_Cfvo">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
- * </sequence>
- * <attribute name="type" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CfvoType" />
- * <attribute name="val" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
- * <attribute name="gte" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_Cfvo", propOrder = {
- "extLst"
-})
-public class CTCfvo {
-
- protected CTExtensionList extLst;
- @XmlAttribute(required = true)
- protected STCfvoType type;
- @XmlAttribute
- protected String val;
- @XmlAttribute
- protected Boolean gte;
-
- /**
- * Gets the value of the extLst property.
- *
- * @return
- * possible object is
- * {@link CTExtensionList }
- *
- */
- public CTExtensionList getExtLst() {
- return extLst;
- }
-
- /**
- * Sets the value of the extLst property.
- *
- * @param value
- * allowed object is
- * {@link CTExtensionList }
- *
- */
- public void setExtLst(CTExtensionList value) {
- this.extLst = value;
- }
-
- /**
- * Gets the value of the type property.
- *
- * @return
- * possible object is
- * {@link STCfvoType }
- *
- */
- public STCfvoType getType() {
- return type;
- }
-
- /**
- * Sets the value of the type property.
- *
- * @param value
- * allowed object is
- * {@link STCfvoType }
- *
- */
- public void setType(STCfvoType value) {
- this.type = value;
- }
-
- /**
- * Gets the value of the val property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getVal() {
- return val;
- }
-
- /**
- * Sets the value of the val property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setVal(String value) {
- this.val = value;
- }
-
- /**
- * Gets the value of the gte property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isGte() {
- if (gte == null) {
- return true;
- } else {
- return gte;
- }
- }
-
- /**
- * Sets the value of the gte property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setGte(Boolean value) {
- this.gte = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_Cfvo">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="type" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CfvoType" />
+ * <attribute name="val" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * <attribute name="gte" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_Cfvo", propOrder = {
+ "extLst"
+})
+public class CTCfvo implements Child
+{
+
+ protected CTExtensionList extLst;
+ @XmlAttribute(name = "type", required = true)
+ protected STCfvoType type;
+ @XmlAttribute(name = "val")
+ protected String val;
+ @XmlAttribute(name = "gte")
+ protected Boolean gte;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the extLst property.
+ *
+ * @return
+ * possible object is
+ * {@link CTExtensionList }
+ *
+ */
+ public CTExtensionList getExtLst() {
+ return extLst;
+ }
+
+ /**
+ * Sets the value of the extLst property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTExtensionList }
+ *
+ */
+ public void setExtLst(CTExtensionList value) {
+ this.extLst = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link STCfvoType }
+ *
+ */
+ public STCfvoType getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link STCfvoType }
+ *
+ */
+ public void setType(STCfvoType value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the val property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVal() {
+ return val;
+ }
+
+ /**
+ * Sets the value of the val property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVal(String value) {
+ this.val = value;
+ }
+
+ /**
+ * Gets the value of the gte property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isGte() {
+ if (gte == null) {
+ return true;
+ } else {
+ return gte;
+ }
+ }
+
+ /**
+ * Sets the value of the gte property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setGte(Boolean value) {
+ this.gte = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTChartFormat.java b/src/xlsx4j/java/org/xlsx4j/sml/CTChartFormat.java
index 0c46acfd49..4e1616e552 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTChartFormat.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTChartFormat.java
@@ -1,155 +1,167 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlSchemaType;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_ChartFormat">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="pivotArea" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_PivotArea"/>
- * </sequence>
- * <attribute name="chart" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * <attribute name="format" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * <attribute name="series" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_ChartFormat", propOrder = {
- "pivotArea"
-})
-public class CTChartFormat {
-
- @XmlElement(required = true)
- protected CTPivotArea pivotArea;
- @XmlAttribute(required = true)
- @XmlSchemaType(name = "unsignedInt")
- protected long chart;
- @XmlAttribute(required = true)
- @XmlSchemaType(name = "unsignedInt")
- protected long format;
- @XmlAttribute
- protected Boolean series;
-
- /**
- * Gets the value of the pivotArea property.
- *
- * @return
- * possible object is
- * {@link CTPivotArea }
- *
- */
- public CTPivotArea getPivotArea() {
- return pivotArea;
- }
-
- /**
- * Sets the value of the pivotArea property.
- *
- * @param value
- * allowed object is
- * {@link CTPivotArea }
- *
- */
- public void setPivotArea(CTPivotArea value) {
- this.pivotArea = value;
- }
-
- /**
- * Gets the value of the chart property.
- *
- */
- public long getChart() {
- return chart;
- }
-
- /**
- * Sets the value of the chart property.
- *
- */
- public void setChart(long value) {
- this.chart = value;
- }
-
- /**
- * Gets the value of the format property.
- *
- */
- public long getFormat() {
- return format;
- }
-
- /**
- * Sets the value of the format property.
- *
- */
- public void setFormat(long value) {
- this.format = value;
- }
-
- /**
- * Gets the value of the series property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isSeries() {
- if (series == null) {
- return false;
- } else {
- return series;
- }
- }
-
- /**
- * Sets the value of the series property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setSeries(Boolean value) {
- this.series = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_ChartFormat">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="pivotArea" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_PivotArea"/>
+ * </sequence>
+ * <attribute name="chart" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * <attribute name="format" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * <attribute name="series" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_ChartFormat", propOrder = {
+ "pivotArea"
+})
+public class CTChartFormat implements Child
+{
+
+ @XmlElement(required = true)
+ protected CTPivotArea pivotArea;
+ @XmlAttribute(name = "chart", required = true)
+ @XmlSchemaType(name = "unsignedInt")
+ protected long chart;
+ @XmlAttribute(name = "format", required = true)
+ @XmlSchemaType(name = "unsignedInt")
+ protected long format;
+ @XmlAttribute(name = "series")
+ protected Boolean series;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the pivotArea property.
+ *
+ * @return
+ * possible object is
+ * {@link CTPivotArea }
+ *
+ */
+ public CTPivotArea getPivotArea() {
+ return pivotArea;
+ }
+
+ /**
+ * Sets the value of the pivotArea property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTPivotArea }
+ *
+ */
+ public void setPivotArea(CTPivotArea value) {
+ this.pivotArea = value;
+ }
+
+ /**
+ * Gets the value of the chart property.
+ *
+ */
+ public long getChart() {
+ return chart;
+ }
+
+ /**
+ * Sets the value of the chart property.
+ *
+ */
+ public void setChart(long value) {
+ this.chart = value;
+ }
+
+ /**
+ * Gets the value of the format property.
+ *
+ */
+ public long getFormat() {
+ return format;
+ }
+
+ /**
+ * Sets the value of the format property.
+ *
+ */
+ public void setFormat(long value) {
+ this.format = value;
+ }
+
+ /**
+ * Gets the value of the series property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isSeries() {
+ if (series == null) {
+ return false;
+ } else {
+ return series;
+ }
+ }
+
+ /**
+ * Sets the value of the series property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setSeries(Boolean value) {
+ this.series = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTChartFormats.java b/src/xlsx4j/java/org/xlsx4j/sml/CTChartFormats.java
index 14139af978..58b83d6ffe 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTChartFormats.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTChartFormats.java
@@ -1,123 +1,135 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import java.util.ArrayList;
-import java.util.List;
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlSchemaType;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_ChartFormats">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="chartFormat" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ChartFormat" maxOccurs="unbounded"/>
- * </sequence>
- * <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_ChartFormats", propOrder = {
- "chartFormat"
-})
-public class CTChartFormats {
-
- @XmlElement(required = true)
- protected Listset
method for the chartFormat property.
- *
- *
- * getChartFormat().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_ChartFormats">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="chartFormat" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ChartFormat" maxOccurs="unbounded"/>
+ * </sequence>
+ * <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_ChartFormats", propOrder = {
+ "chartFormat"
+})
+public class CTChartFormats implements Child
+{
+
+ @XmlElement(required = true)
+ protected Listset
method for the chartFormat property.
+ *
+ *
+ * getChartFormat().add(newItem);
+ *
+ *
+ *
+ *
- * <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="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>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_Chartsheet", propOrder = {
- "sheetPr",
- "sheetViews",
- "sheetProtection",
- "customSheetViews",
- "pageMargins",
- "pageSetup",
- "headerFooter",
- "drawing",
- "legacyDrawing",
- "legacyDrawingHF",
- "picture",
- "webPublishItems",
- "extLst"
-})
-public class CTChartsheet {
-
- protected CTChartsheetPr sheetPr;
- @XmlElement(required = true)
- protected CTChartsheetViews sheetViews;
- protected CTChartsheetProtection sheetProtection;
- protected CTCustomChartsheetViews customSheetViews;
- protected CTPageMargins pageMargins;
- protected CTCsPageSetup pageSetup;
- protected CTHeaderFooter headerFooter;
- @XmlElement(required = true)
- protected CTDrawing drawing;
- protected CTLegacyDrawing legacyDrawing;
- protected CTLegacyDrawing legacyDrawingHF;
- protected CTSheetBackgroundPicture picture;
- protected CTWebPublishItems webPublishItems;
- protected CTExtensionList extLst;
-
- /**
- * Gets the value of the sheetPr property.
- *
- * @return
- * possible object is
- * {@link CTChartsheetPr }
- *
- */
- public CTChartsheetPr getSheetPr() {
- return sheetPr;
- }
-
- /**
- * Sets the value of the sheetPr property.
- *
- * @param value
- * allowed object is
- * {@link CTChartsheetPr }
- *
- */
- public void setSheetPr(CTChartsheetPr value) {
- this.sheetPr = value;
- }
-
- /**
- * Gets the value of the sheetViews property.
- *
- * @return
- * possible object is
- * {@link CTChartsheetViews }
- *
- */
- public CTChartsheetViews getSheetViews() {
- return sheetViews;
- }
-
- /**
- * Sets the value of the sheetViews property.
- *
- * @param value
- * allowed object is
- * {@link CTChartsheetViews }
- *
- */
- public void setSheetViews(CTChartsheetViews value) {
- this.sheetViews = value;
- }
-
- /**
- * Gets the value of the sheetProtection property.
- *
- * @return
- * possible object is
- * {@link CTChartsheetProtection }
- *
- */
- public CTChartsheetProtection getSheetProtection() {
- return sheetProtection;
- }
-
- /**
- * Sets the value of the sheetProtection property.
- *
- * @param value
- * allowed object is
- * {@link CTChartsheetProtection }
- *
- */
- public void setSheetProtection(CTChartsheetProtection value) {
- this.sheetProtection = value;
- }
-
- /**
- * Gets the value of the customSheetViews property.
- *
- * @return
- * possible object is
- * {@link CTCustomChartsheetViews }
- *
- */
- public CTCustomChartsheetViews getCustomSheetViews() {
- return customSheetViews;
- }
-
- /**
- * Sets the value of the customSheetViews property.
- *
- * @param value
- * allowed object is
- * {@link CTCustomChartsheetViews }
- *
- */
- public void setCustomSheetViews(CTCustomChartsheetViews value) {
- this.customSheetViews = value;
- }
-
- /**
- * Gets the value of the pageMargins property.
- *
- * @return
- * possible object is
- * {@link CTPageMargins }
- *
- */
- public CTPageMargins getPageMargins() {
- return pageMargins;
- }
-
- /**
- * Sets the value of the pageMargins property.
- *
- * @param value
- * allowed object is
- * {@link CTPageMargins }
- *
- */
- public void setPageMargins(CTPageMargins value) {
- this.pageMargins = value;
- }
-
- /**
- * Gets the value of the pageSetup property.
- *
- * @return
- * possible object is
- * {@link CTCsPageSetup }
- *
- */
- public CTCsPageSetup getPageSetup() {
- return pageSetup;
- }
-
- /**
- * Sets the value of the pageSetup property.
- *
- * @param value
- * allowed object is
- * {@link CTCsPageSetup }
- *
- */
- public void setPageSetup(CTCsPageSetup value) {
- this.pageSetup = value;
- }
-
- /**
- * Gets the value of the headerFooter property.
- *
- * @return
- * possible object is
- * {@link CTHeaderFooter }
- *
- */
- public CTHeaderFooter getHeaderFooter() {
- return headerFooter;
- }
-
- /**
- * Sets the value of the headerFooter property.
- *
- * @param value
- * allowed object is
- * {@link CTHeaderFooter }
- *
- */
- public void setHeaderFooter(CTHeaderFooter value) {
- this.headerFooter = value;
- }
-
- /**
- * Gets the value of the drawing property.
- *
- * @return
- * possible object is
- * {@link CTDrawing }
- *
- */
- public CTDrawing getDrawing() {
- return drawing;
- }
-
- /**
- * Sets the value of the drawing property.
- *
- * @param value
- * allowed object is
- * {@link CTDrawing }
- *
- */
- public void setDrawing(CTDrawing value) {
- this.drawing = value;
- }
-
- /**
- * Gets the value of the legacyDrawing property.
- *
- * @return
- * possible object is
- * {@link CTLegacyDrawing }
- *
- */
- public CTLegacyDrawing getLegacyDrawing() {
- return legacyDrawing;
- }
-
- /**
- * Sets the value of the legacyDrawing property.
- *
- * @param value
- * allowed object is
- * {@link CTLegacyDrawing }
- *
- */
- public void setLegacyDrawing(CTLegacyDrawing value) {
- this.legacyDrawing = value;
- }
-
- /**
- * Gets the value of the legacyDrawingHF property.
- *
- * @return
- * possible object is
- * {@link CTLegacyDrawing }
- *
- */
- public CTLegacyDrawing getLegacyDrawingHF() {
- return legacyDrawingHF;
- }
-
- /**
- * Sets the value of the legacyDrawingHF property.
- *
- * @param value
- * allowed object is
- * {@link CTLegacyDrawing }
- *
- */
- public void setLegacyDrawingHF(CTLegacyDrawing value) {
- this.legacyDrawingHF = value;
- }
-
- /**
- * Gets the value of the picture property.
- *
- * @return
- * possible object is
- * {@link CTSheetBackgroundPicture }
- *
- */
- public CTSheetBackgroundPicture getPicture() {
- return picture;
- }
-
- /**
- * Sets the value of the picture property.
- *
- * @param value
- * allowed object is
- * {@link CTSheetBackgroundPicture }
- *
- */
- public void setPicture(CTSheetBackgroundPicture value) {
- this.picture = value;
- }
-
- /**
- * Gets the value of the webPublishItems property.
- *
- * @return
- * possible object is
- * {@link CTWebPublishItems }
- *
- */
- public CTWebPublishItems getWebPublishItems() {
- return webPublishItems;
- }
-
- /**
- * Sets the value of the webPublishItems property.
- *
- * @param value
- * allowed object is
- * {@link CTWebPublishItems }
- *
- */
- public void setWebPublishItems(CTWebPublishItems value) {
- this.webPublishItems = value;
- }
-
- /**
- * Gets the value of the extLst property.
- *
- * @return
- * possible object is
- * {@link CTExtensionList }
- *
- */
- public CTExtensionList getExtLst() {
- return extLst;
- }
-
- /**
- * Sets the value of the extLst property.
- *
- * @param value
- * allowed object is
- * {@link CTExtensionList }
- *
- */
- public void setExtLst(CTExtensionList value) {
- this.extLst = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <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>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@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 CTChartsheetProtection sheetProtection;
+ protected CTCustomChartsheetViews customSheetViews;
+ 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.
+ *
+ * @return
+ * possible object is
+ * {@link CTChartsheetPr }
+ *
+ */
+ public CTChartsheetPr getSheetPr() {
+ return sheetPr;
+ }
+
+ /**
+ * Sets the value of the sheetPr property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTChartsheetPr }
+ *
+ */
+ public void setSheetPr(CTChartsheetPr value) {
+ this.sheetPr = value;
+ }
+
+ /**
+ * Gets the value of the sheetViews property.
+ *
+ * @return
+ * possible object is
+ * {@link CTChartsheetViews }
+ *
+ */
+ public CTChartsheetViews getSheetViews() {
+ return sheetViews;
+ }
+
+ /**
+ * Sets the value of the sheetViews property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTChartsheetViews }
+ *
+ */
+ public void setSheetViews(CTChartsheetViews value) {
+ this.sheetViews = value;
+ }
+
+ /**
+ * Gets the value of the sheetProtection property.
+ *
+ * @return
+ * possible object is
+ * {@link CTChartsheetProtection }
+ *
+ */
+ public CTChartsheetProtection getSheetProtection() {
+ return sheetProtection;
+ }
+
+ /**
+ * Sets the value of the sheetProtection property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTChartsheetProtection }
+ *
+ */
+ public void setSheetProtection(CTChartsheetProtection value) {
+ this.sheetProtection = value;
+ }
+
+ /**
+ * Gets the value of the customSheetViews property.
+ *
+ * @return
+ * possible object is
+ * {@link CTCustomChartsheetViews }
+ *
+ */
+ public CTCustomChartsheetViews getCustomSheetViews() {
+ return customSheetViews;
+ }
+
+ /**
+ * Sets the value of the customSheetViews property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTCustomChartsheetViews }
+ *
+ */
+ public void setCustomSheetViews(CTCustomChartsheetViews value) {
+ this.customSheetViews = value;
+ }
+
+ /**
+ * Gets the value of the pageMargins property.
+ *
+ * @return
+ * possible object is
+ * {@link CTPageMargins }
+ *
+ */
+ public CTPageMargins getPageMargins() {
+ return pageMargins;
+ }
+
+ /**
+ * Sets the value of the pageMargins property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTPageMargins }
+ *
+ */
+ public void setPageMargins(CTPageMargins value) {
+ this.pageMargins = value;
+ }
+
+ /**
+ * Gets the value of the pageSetup property.
+ *
+ * @return
+ * possible object is
+ * {@link CTCsPageSetup }
+ *
+ */
+ public CTCsPageSetup getPageSetup() {
+ return pageSetup;
+ }
+
+ /**
+ * Sets the value of the pageSetup property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTCsPageSetup }
+ *
+ */
+ public void setPageSetup(CTCsPageSetup value) {
+ this.pageSetup = value;
+ }
+
+ /**
+ * Gets the value of the headerFooter property.
+ *
+ * @return
+ * possible object is
+ * {@link CTHeaderFooter }
+ *
+ */
+ public CTHeaderFooter getHeaderFooter() {
+ return headerFooter;
+ }
+
+ /**
+ * Sets the value of the headerFooter property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTHeaderFooter }
+ *
+ */
+ public void setHeaderFooter(CTHeaderFooter value) {
+ this.headerFooter = value;
+ }
+
+ /**
+ * Gets the value of the drawing property.
+ *
+ * @return
+ * possible object is
+ * {@link CTDrawing }
+ *
+ */
+ public CTDrawing getDrawing() {
+ return drawing;
+ }
+
+ /**
+ * Sets the value of the drawing property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTDrawing }
+ *
+ */
+ public void setDrawing(CTDrawing value) {
+ this.drawing = value;
+ }
+
+ /**
+ * Gets the value of the legacyDrawing property.
+ *
+ * @return
+ * possible object is
+ * {@link CTLegacyDrawing }
+ *
+ */
+ public CTLegacyDrawing getLegacyDrawing() {
+ return legacyDrawing;
+ }
+
+ /**
+ * Sets the value of the legacyDrawing property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTLegacyDrawing }
+ *
+ */
+ public void setLegacyDrawing(CTLegacyDrawing value) {
+ this.legacyDrawing = value;
+ }
+
+ /**
+ * Gets the value of the legacyDrawingHF property.
+ *
+ * @return
+ * possible object is
+ * {@link CTLegacyDrawing }
+ *
+ */
+ public CTLegacyDrawing getLegacyDrawingHF() {
+ return legacyDrawingHF;
+ }
+
+ /**
+ * Sets the value of the legacyDrawingHF property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTLegacyDrawing }
+ *
+ */
+ public void setLegacyDrawingHF(CTLegacyDrawing value) {
+ this.legacyDrawingHF = value;
+ }
+
+ /**
+ * Gets the value of the drawingHF property.
+ *
+ * @return
+ * possible object is
+ * {@link CTDrawingHF }
+ *
+ */
+ public CTDrawingHF getDrawingHF() {
+ return drawingHF;
+ }
+
+ /**
+ * Sets the value of the drawingHF property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTDrawingHF }
+ *
+ */
+ public void setDrawingHF(CTDrawingHF value) {
+ this.drawingHF = value;
+ }
+
+ /**
+ * Gets the value of the picture property.
+ *
+ * @return
+ * possible object is
+ * {@link CTSheetBackgroundPicture }
+ *
+ */
+ public CTSheetBackgroundPicture getPicture() {
+ return picture;
+ }
+
+ /**
+ * Sets the value of the picture property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTSheetBackgroundPicture }
+ *
+ */
+ public void setPicture(CTSheetBackgroundPicture value) {
+ this.picture = value;
+ }
+
+ /**
+ * Gets the value of the webPublishItems property.
+ *
+ * @return
+ * possible object is
+ * {@link CTWebPublishItems }
+ *
+ */
+ public CTWebPublishItems getWebPublishItems() {
+ return webPublishItems;
+ }
+
+ /**
+ * Sets the value of the webPublishItems property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTWebPublishItems }
+ *
+ */
+ public void setWebPublishItems(CTWebPublishItems value) {
+ this.webPublishItems = value;
+ }
+
+ /**
+ * Gets the value of the extLst property.
+ *
+ * @return
+ * possible object is
+ * {@link CTExtensionList }
+ *
+ */
+ public CTExtensionList getExtLst() {
+ return extLst;
+ }
+
+ /**
+ * Sets the value of the extLst property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTExtensionList }
+ *
+ */
+ public void setExtLst(CTExtensionList value) {
+ this.extLst = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTChartsheetPr.java b/src/xlsx4j/java/org/xlsx4j/sml/CTChartsheetPr.java
index 70cc80e1ef..b5855d900f 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTChartsheetPr.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTChartsheetPr.java
@@ -1,139 +1,151 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_ChartsheetPr">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="tabColor" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Color" minOccurs="0"/>
- * </sequence>
- * <attribute name="published" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
- * <attribute name="codeName" type="{http://www.w3.org/2001/XMLSchema}string" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_ChartsheetPr", propOrder = {
- "tabColor"
-})
-public class CTChartsheetPr {
-
- protected CTColor tabColor;
- @XmlAttribute
- protected Boolean published;
- @XmlAttribute
- protected String codeName;
-
- /**
- * Gets the value of the tabColor property.
- *
- * @return
- * possible object is
- * {@link CTColor }
- *
- */
- public CTColor getTabColor() {
- return tabColor;
- }
-
- /**
- * Sets the value of the tabColor property.
- *
- * @param value
- * allowed object is
- * {@link CTColor }
- *
- */
- public void setTabColor(CTColor value) {
- this.tabColor = value;
- }
-
- /**
- * Gets the value of the published property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isPublished() {
- if (published == null) {
- return true;
- } else {
- return published;
- }
- }
-
- /**
- * Sets the value of the published property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setPublished(Boolean value) {
- this.published = value;
- }
-
- /**
- * Gets the value of the codeName property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getCodeName() {
- return codeName;
- }
-
- /**
- * Sets the value of the codeName property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setCodeName(String value) {
- this.codeName = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_ChartsheetPr">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="tabColor" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Color" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="published" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * <attribute name="codeName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_ChartsheetPr", propOrder = {
+ "tabColor"
+})
+public class CTChartsheetPr implements Child
+{
+
+ protected CTColor tabColor;
+ @XmlAttribute(name = "published")
+ protected Boolean published;
+ @XmlAttribute(name = "codeName")
+ protected String codeName;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the tabColor property.
+ *
+ * @return
+ * possible object is
+ * {@link CTColor }
+ *
+ */
+ public CTColor getTabColor() {
+ return tabColor;
+ }
+
+ /**
+ * Sets the value of the tabColor property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTColor }
+ *
+ */
+ public void setTabColor(CTColor value) {
+ this.tabColor = value;
+ }
+
+ /**
+ * Gets the value of the published property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isPublished() {
+ if (published == null) {
+ return true;
+ } else {
+ return published;
+ }
+ }
+
+ /**
+ * Sets the value of the published property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setPublished(Boolean value) {
+ this.published = value;
+ }
+
+ /**
+ * Gets the value of the codeName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getCodeName() {
+ return codeName;
+ }
+
+ /**
+ * Sets the value of the codeName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setCodeName(String value) {
+ this.codeName = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTChartsheetProtection.java b/src/xlsx4j/java/org/xlsx4j/sml/CTChartsheetProtection.java
index 9e387e9230..be70624e1b 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTChartsheetProtection.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTChartsheetProtection.java
@@ -1,143 +1,261 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.adapters.HexBinaryAdapter;
-import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
-
-
-/**
- *
- * <complexType name="CT_ChartsheetProtection">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <attribute name="password" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_UnsignedShortHex" />
- * <attribute name="content" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="objects" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_ChartsheetProtection")
-public class CTChartsheetProtection {
-
- @XmlAttribute
- @XmlJavaTypeAdapter(HexBinaryAdapter.class)
- protected byte[] password;
- @XmlAttribute
- protected Boolean content;
- @XmlAttribute
- protected Boolean objects;
-
- /**
- * Gets the value of the password property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public byte[] getPassword() {
- return password;
- }
-
- /**
- * Sets the value of the password property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setPassword(byte[] value) {
- this.password = ((byte[]) value);
- }
-
- /**
- * Gets the value of the content property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isContent() {
- if (content == null) {
- return false;
- } else {
- return content;
- }
- }
-
- /**
- * Sets the value of the content property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setContent(Boolean value) {
- this.content = value;
- }
-
- /**
- * Gets the value of the objects property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isObjects() {
- if (objects == null) {
- return false;
- } else {
- return objects;
- }
- }
-
- /**
- * Sets the value of the objects property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setObjects(Boolean value) {
- this.objects = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.HexBinaryAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_ChartsheetProtection">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="password" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_UnsignedShortHex" />
+ * <attribute name="algorithmName" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * <attribute name="hashValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary" />
+ * <attribute name="saltValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary" />
+ * <attribute name="spinCount" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * <attribute name="content" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="objects" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_ChartsheetProtection")
+public class CTChartsheetProtection implements Child
+{
+
+ @XmlAttribute(name = "password")
+ @XmlJavaTypeAdapter(HexBinaryAdapter.class)
+ protected byte[] password;
+ @XmlAttribute(name = "algorithmName")
+ protected String algorithmName;
+ @XmlAttribute(name = "hashValue")
+ protected byte[] hashValue;
+ @XmlAttribute(name = "saltValue")
+ protected byte[] saltValue;
+ @XmlAttribute(name = "spinCount")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long spinCount;
+ @XmlAttribute(name = "content")
+ protected Boolean content;
+ @XmlAttribute(name = "objects")
+ protected Boolean objects;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the password property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public byte[] getPassword() {
+ return password;
+ }
+
+ /**
+ * Sets the value of the password property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPassword(byte[] value) {
+ this.password = value;
+ }
+
+ /**
+ * Gets the value of the algorithmName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAlgorithmName() {
+ return algorithmName;
+ }
+
+ /**
+ * Sets the value of the algorithmName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAlgorithmName(String value) {
+ this.algorithmName = value;
+ }
+
+ /**
+ * Gets the value of the hashValue property.
+ *
+ * @return
+ * possible object is
+ * byte[]
+ */
+ public byte[] getHashValue() {
+ return hashValue;
+ }
+
+ /**
+ * Sets the value of the hashValue property.
+ *
+ * @param value
+ * allowed object is
+ * byte[]
+ */
+ public void setHashValue(byte[] value) {
+ this.hashValue = value;
+ }
+
+ /**
+ * Gets the value of the saltValue property.
+ *
+ * @return
+ * possible object is
+ * byte[]
+ */
+ public byte[] getSaltValue() {
+ return saltValue;
+ }
+
+ /**
+ * Sets the value of the saltValue property.
+ *
+ * @param value
+ * allowed object is
+ * byte[]
+ */
+ public void setSaltValue(byte[] value) {
+ this.saltValue = value;
+ }
+
+ /**
+ * Gets the value of the spinCount property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public Long getSpinCount() {
+ return spinCount;
+ }
+
+ /**
+ * Sets the value of the spinCount property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setSpinCount(Long value) {
+ this.spinCount = value;
+ }
+
+ /**
+ * Gets the value of the content property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isContent() {
+ if (content == null) {
+ return false;
+ } else {
+ return content;
+ }
+ }
+
+ /**
+ * Sets the value of the content property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setContent(Boolean value) {
+ this.content = value;
+ }
+
+ /**
+ * Gets the value of the objects property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isObjects() {
+ if (objects == null) {
+ return false;
+ } else {
+ return objects;
+ }
+ }
+
+ /**
+ * Sets the value of the objects property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setObjects(Boolean value) {
+ this.objects = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTChartsheetView.java b/src/xlsx4j/java/org/xlsx4j/sml/CTChartsheetView.java
index aa96c5bb9b..b995de5a85 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTChartsheetView.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTChartsheetView.java
@@ -1,196 +1,208 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlSchemaType;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_ChartsheetView">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
- * </sequence>
- * <attribute name="tabSelected" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="zoomScale" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="100" />
- * <attribute name="workbookViewId" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * <attribute name="zoomToFit" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_ChartsheetView", propOrder = {
- "extLst"
-})
-public class CTChartsheetView {
-
- protected CTExtensionList extLst;
- @XmlAttribute
- protected Boolean tabSelected;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long zoomScale;
- @XmlAttribute(required = true)
- @XmlSchemaType(name = "unsignedInt")
- protected long workbookViewId;
- @XmlAttribute
- protected Boolean zoomToFit;
-
- /**
- * Gets the value of the extLst property.
- *
- * @return
- * possible object is
- * {@link CTExtensionList }
- *
- */
- public CTExtensionList getExtLst() {
- return extLst;
- }
-
- /**
- * Sets the value of the extLst property.
- *
- * @param value
- * allowed object is
- * {@link CTExtensionList }
- *
- */
- public void setExtLst(CTExtensionList value) {
- this.extLst = value;
- }
-
- /**
- * Gets the value of the tabSelected property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isTabSelected() {
- if (tabSelected == null) {
- return false;
- } else {
- return tabSelected;
- }
- }
-
- /**
- * Sets the value of the tabSelected property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setTabSelected(Boolean value) {
- this.tabSelected = value;
- }
-
- /**
- * Gets the value of the zoomScale property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public long getZoomScale() {
- if (zoomScale == null) {
- return 100L;
- } else {
- return zoomScale;
- }
- }
-
- /**
- * Sets the value of the zoomScale property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setZoomScale(Long value) {
- this.zoomScale = value;
- }
-
- /**
- * Gets the value of the workbookViewId property.
- *
- */
- public long getWorkbookViewId() {
- return workbookViewId;
- }
-
- /**
- * Sets the value of the workbookViewId property.
- *
- */
- public void setWorkbookViewId(long value) {
- this.workbookViewId = value;
- }
-
- /**
- * Gets the value of the zoomToFit property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isZoomToFit() {
- if (zoomToFit == null) {
- return false;
- } else {
- return zoomToFit;
- }
- }
-
- /**
- * Sets the value of the zoomToFit property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setZoomToFit(Boolean value) {
- this.zoomToFit = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_ChartsheetView">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="tabSelected" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="zoomScale" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="100" />
+ * <attribute name="workbookViewId" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * <attribute name="zoomToFit" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_ChartsheetView", propOrder = {
+ "extLst"
+})
+public class CTChartsheetView implements Child
+{
+
+ protected CTExtensionList extLst;
+ @XmlAttribute(name = "tabSelected")
+ protected Boolean tabSelected;
+ @XmlAttribute(name = "zoomScale")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long zoomScale;
+ @XmlAttribute(name = "workbookViewId", required = true)
+ @XmlSchemaType(name = "unsignedInt")
+ protected long workbookViewId;
+ @XmlAttribute(name = "zoomToFit")
+ protected Boolean zoomToFit;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the extLst property.
+ *
+ * @return
+ * possible object is
+ * {@link CTExtensionList }
+ *
+ */
+ public CTExtensionList getExtLst() {
+ return extLst;
+ }
+
+ /**
+ * Sets the value of the extLst property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTExtensionList }
+ *
+ */
+ public void setExtLst(CTExtensionList value) {
+ this.extLst = value;
+ }
+
+ /**
+ * Gets the value of the tabSelected property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isTabSelected() {
+ if (tabSelected == null) {
+ return false;
+ } else {
+ return tabSelected;
+ }
+ }
+
+ /**
+ * Sets the value of the tabSelected property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setTabSelected(Boolean value) {
+ this.tabSelected = value;
+ }
+
+ /**
+ * Gets the value of the zoomScale property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public long getZoomScale() {
+ if (zoomScale == null) {
+ return 100L;
+ } else {
+ return zoomScale;
+ }
+ }
+
+ /**
+ * Sets the value of the zoomScale property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setZoomScale(Long value) {
+ this.zoomScale = value;
+ }
+
+ /**
+ * Gets the value of the workbookViewId property.
+ *
+ */
+ public long getWorkbookViewId() {
+ return workbookViewId;
+ }
+
+ /**
+ * Sets the value of the workbookViewId property.
+ *
+ */
+ public void setWorkbookViewId(long value) {
+ this.workbookViewId = value;
+ }
+
+ /**
+ * Gets the value of the zoomToFit property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isZoomToFit() {
+ if (zoomToFit == null) {
+ return false;
+ } else {
+ return zoomToFit;
+ }
+ }
+
+ /**
+ * Sets the value of the zoomToFit property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setZoomToFit(Boolean value) {
+ this.zoomToFit = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTChartsheetViews.java b/src/xlsx4j/java/org/xlsx4j/sml/CTChartsheetViews.java
index d777c76200..0977c3f8b6 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTChartsheetViews.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTChartsheetViews.java
@@ -1,116 +1,128 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import java.util.ArrayList;
-import java.util.List;
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_ChartsheetViews">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="sheetView" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ChartsheetView" maxOccurs="unbounded"/>
- * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_ChartsheetViews", propOrder = {
- "sheetView",
- "extLst"
-})
-public class CTChartsheetViews {
-
- @XmlElement(required = true)
- protected Listset
method for the sheetView property.
- *
- *
- * getSheetView().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_ChartsheetViews">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="sheetView" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ChartsheetView" maxOccurs="unbounded"/>
+ * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_ChartsheetViews", propOrder = {
+ "sheetView",
+ "extLst"
+})
+public class CTChartsheetViews implements Child
+{
+
+ @XmlElement(required = true)
+ protected Listset
method for the sheetView property.
+ *
+ *
+ * getSheetView().add(newItem);
+ *
+ *
+ *
+ *
- * <complexType name="CT_ColFields">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="field" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Field" maxOccurs="unbounded"/>
- * </sequence>
- * <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_ColFields", propOrder = {
- "field"
-})
-public class CTColFields {
-
- @XmlElement(required = true)
- protected Listset
method for the field property.
- *
- *
- * getField().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_ColFields">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="field" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Field" maxOccurs="unbounded"/>
+ * </sequence>
+ * <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_ColFields", propOrder = {
+ "field"
+})
+public class CTColFields implements Child
+{
+
+ @XmlElement(required = true)
+ protected Listset
method for the field property.
+ *
+ *
+ * getField().add(newItem);
+ *
+ *
+ *
+ *
- * <complexType name="CT_ColHierarchiesUsage">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="colHierarchyUsage" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_HierarchyUsage" maxOccurs="unbounded"/>
- * </sequence>
- * <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_ColHierarchiesUsage", propOrder = {
- "colHierarchyUsage"
-})
-public class CTColHierarchiesUsage {
-
- @XmlElement(required = true)
- protected Listset
method for the colHierarchyUsage property.
- *
- *
- * getColHierarchyUsage().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_ColHierarchiesUsage">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="colHierarchyUsage" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_HierarchyUsage" maxOccurs="unbounded"/>
+ * </sequence>
+ * <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_ColHierarchiesUsage", propOrder = {
+ "colHierarchyUsage"
+})
+public class CTColHierarchiesUsage implements Child
+{
+
+ @XmlElement(required = true)
+ protected Listset
method for the colHierarchyUsage property.
+ *
+ *
+ * getColHierarchyUsage().add(newItem);
+ *
+ *
+ *
+ *
- * <complexType name="CT_colItems">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="i" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_I" maxOccurs="unbounded"/>
- * </sequence>
- * <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_colItems", propOrder = {
- "i"
-})
-public class CTColItems {
-
- @XmlElement(required = true)
- protected Listset
method for the i property.
- *
- *
- * getI().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_colItems">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="i" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_I" maxOccurs="unbounded"/>
+ * </sequence>
+ * <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_colItems", propOrder = {
+ "i"
+})
+public class CTColItems implements Child
+{
+
+ @XmlElement(required = true)
+ protected Listset
method for the i property.
+ *
+ *
+ * getI().add(newItem);
+ *
+ *
+ *
+ *
- * <complexType name="CT_Color">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <attribute name="auto" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- * <attribute name="indexed" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * <attribute name="rgb" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_UnsignedIntHex" />
- * <attribute name="theme" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * <attribute name="tint" type="{http://www.w3.org/2001/XMLSchema}double" default="0.0" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_Color")
-public class CTColor {
-
- @XmlAttribute
- protected Boolean auto;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long indexed;
- @XmlAttribute
- @XmlJavaTypeAdapter(HexBinaryAdapter.class)
- protected byte[] rgb;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long theme;
- @XmlAttribute
- protected Double tint;
-
- /**
- * Gets the value of the auto property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public Boolean isAuto() {
- return auto;
- }
-
- /**
- * Sets the value of the auto property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setAuto(Boolean value) {
- this.auto = value;
- }
-
- /**
- * Gets the value of the indexed property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public Long getIndexed() {
- return indexed;
- }
-
- /**
- * Sets the value of the indexed property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setIndexed(Long value) {
- this.indexed = value;
- }
-
- /**
- * Gets the value of the rgb property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public byte[] getRgb() {
- return rgb;
- }
-
- /**
- * Sets the value of the rgb property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setRgb(byte[] value) {
- this.rgb = ((byte[]) value);
- }
-
- /**
- * Gets the value of the theme property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public Long getTheme() {
- return theme;
- }
-
- /**
- * Sets the value of the theme property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setTheme(Long value) {
- this.theme = value;
- }
-
- /**
- * Gets the value of the tint property.
- *
- * @return
- * possible object is
- * {@link Double }
- *
- */
- public double getTint() {
- if (tint == null) {
- return 0.0D;
- } else {
- return tint;
- }
- }
-
- /**
- * Sets the value of the tint property.
- *
- * @param value
- * allowed object is
- * {@link Double }
- *
- */
- public void setTint(Double value) {
- this.tint = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.HexBinaryAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_Color">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="auto" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="indexed" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * <attribute name="rgb" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_UnsignedIntHex" />
+ * <attribute name="theme" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * <attribute name="tint" type="{http://www.w3.org/2001/XMLSchema}double" default="0.0" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_Color")
+public class CTColor implements Child
+{
+
+ @XmlAttribute(name = "auto")
+ protected Boolean auto;
+ @XmlAttribute(name = "indexed")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long indexed;
+ @XmlAttribute(name = "rgb")
+ @XmlJavaTypeAdapter(HexBinaryAdapter.class)
+ protected byte[] rgb;
+ @XmlAttribute(name = "theme")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long theme;
+ @XmlAttribute(name = "tint")
+ protected Double tint;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the auto property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isAuto() {
+ return auto;
+ }
+
+ /**
+ * Sets the value of the auto property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setAuto(Boolean value) {
+ this.auto = value;
+ }
+
+ /**
+ * Gets the value of the indexed property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public Long getIndexed() {
+ return indexed;
+ }
+
+ /**
+ * Sets the value of the indexed property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setIndexed(Long value) {
+ this.indexed = value;
+ }
+
+ /**
+ * Gets the value of the rgb property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public byte[] getRgb() {
+ return rgb;
+ }
+
+ /**
+ * Sets the value of the rgb property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRgb(byte[] value) {
+ this.rgb = value;
+ }
+
+ /**
+ * Gets the value of the theme property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public Long getTheme() {
+ return theme;
+ }
+
+ /**
+ * Sets the value of the theme property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setTheme(Long value) {
+ this.theme = value;
+ }
+
+ /**
+ * Gets the value of the tint property.
+ *
+ * @return
+ * possible object is
+ * {@link Double }
+ *
+ */
+ public double getTint() {
+ if (tint == null) {
+ return 0.0D;
+ } else {
+ return tint;
+ }
+ }
+
+ /**
+ * Sets the value of the tint property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Double }
+ *
+ */
+ public void setTint(Double value) {
+ this.tint = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTColorFilter.java b/src/xlsx4j/java/org/xlsx4j/sml/CTColorFilter.java
index 5d427bf688..7bac5689c8 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTColorFilter.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTColorFilter.java
@@ -1,109 +1,121 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_ColorFilter">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <attribute name="dxfId" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_DxfId" />
- * <attribute name="cellColor" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_ColorFilter")
-public class CTColorFilter {
-
- @XmlAttribute
- protected Long dxfId;
- @XmlAttribute
- protected Boolean cellColor;
-
- /**
- * Gets the value of the dxfId property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public Long getDxfId() {
- return dxfId;
- }
-
- /**
- * Sets the value of the dxfId property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setDxfId(Long value) {
- this.dxfId = value;
- }
-
- /**
- * Gets the value of the cellColor property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isCellColor() {
- if (cellColor == null) {
- return true;
- } else {
- return cellColor;
- }
- }
-
- /**
- * Sets the value of the cellColor property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setCellColor(Boolean value) {
- this.cellColor = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_ColorFilter">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="dxfId" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_DxfId" />
+ * <attribute name="cellColor" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_ColorFilter")
+public class CTColorFilter implements Child
+{
+
+ @XmlAttribute(name = "dxfId")
+ protected Long dxfId;
+ @XmlAttribute(name = "cellColor")
+ protected Boolean cellColor;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the dxfId property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public Long getDxfId() {
+ return dxfId;
+ }
+
+ /**
+ * Sets the value of the dxfId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setDxfId(Long value) {
+ this.dxfId = value;
+ }
+
+ /**
+ * Gets the value of the cellColor property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isCellColor() {
+ if (cellColor == null) {
+ return true;
+ } else {
+ return cellColor;
+ }
+ }
+
+ /**
+ * Sets the value of the cellColor property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setCellColor(Boolean value) {
+ this.cellColor = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTColorScale.java b/src/xlsx4j/java/org/xlsx4j/sml/CTColorScale.java
index b281ab6c5a..7d3ab4ffaa 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTColorScale.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTColorScale.java
@@ -1,122 +1,134 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import java.util.ArrayList;
-import java.util.List;
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_ColorScale">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="cfvo" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Cfvo" maxOccurs="unbounded" minOccurs="2"/>
- * <element name="color" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Color" maxOccurs="unbounded" minOccurs="2"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_ColorScale", propOrder = {
- "cfvo",
- "color"
-})
-public class CTColorScale {
-
- @XmlElement(required = true)
- protected Listset
method for the cfvo property.
- *
- *
- * getCfvo().add(newItem);
- *
- *
- *
- * set
method for the color property.
- *
- *
- * getColor().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_ColorScale">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="cfvo" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Cfvo" maxOccurs="unbounded" minOccurs="2"/>
+ * <element name="color" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Color" maxOccurs="unbounded" minOccurs="2"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_ColorScale", propOrder = {
+ "cfvo",
+ "color"
+})
+public class CTColorScale implements Child
+{
+
+ @XmlElement(required = true)
+ protected Listset
method for the cfvo property.
+ *
+ *
+ * getCfvo().add(newItem);
+ *
+ *
+ *
+ * set
method for the color property.
+ *
+ *
+ * getColor().add(newItem);
+ *
+ *
+ *
+ *
- * <complexType name="CT_Colors">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="indexedColors" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_IndexedColors" minOccurs="0"/>
- * <element name="mruColors" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_MRUColors" minOccurs="0"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_Colors", propOrder = {
- "indexedColors",
- "mruColors"
-})
-public class CTColors {
-
- protected CTIndexedColors indexedColors;
- protected CTMRUColors mruColors;
-
- /**
- * Gets the value of the indexedColors property.
- *
- * @return
- * possible object is
- * {@link CTIndexedColors }
- *
- */
- public CTIndexedColors getIndexedColors() {
- return indexedColors;
- }
-
- /**
- * Sets the value of the indexedColors property.
- *
- * @param value
- * allowed object is
- * {@link CTIndexedColors }
- *
- */
- public void setIndexedColors(CTIndexedColors value) {
- this.indexedColors = value;
- }
-
- /**
- * Gets the value of the mruColors property.
- *
- * @return
- * possible object is
- * {@link CTMRUColors }
- *
- */
- public CTMRUColors getMruColors() {
- return mruColors;
- }
-
- /**
- * Sets the value of the mruColors property.
- *
- * @param value
- * allowed object is
- * {@link CTMRUColors }
- *
- */
- public void setMruColors(CTMRUColors value) {
- this.mruColors = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_Colors">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="indexedColors" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_IndexedColors" minOccurs="0"/>
+ * <element name="mruColors" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_MRUColors" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_Colors", propOrder = {
+ "indexedColors",
+ "mruColors"
+})
+public class CTColors implements Child
+{
+
+ protected CTIndexedColors indexedColors;
+ protected CTMRUColors mruColors;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the indexedColors property.
+ *
+ * @return
+ * possible object is
+ * {@link CTIndexedColors }
+ *
+ */
+ public CTIndexedColors getIndexedColors() {
+ return indexedColors;
+ }
+
+ /**
+ * Sets the value of the indexedColors property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTIndexedColors }
+ *
+ */
+ public void setIndexedColors(CTIndexedColors value) {
+ this.indexedColors = value;
+ }
+
+ /**
+ * Gets the value of the mruColors property.
+ *
+ * @return
+ * possible object is
+ * {@link CTMRUColors }
+ *
+ */
+ public CTMRUColors getMruColors() {
+ return mruColors;
+ }
+
+ /**
+ * Sets the value of the mruColors property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTMRUColors }
+ *
+ */
+ public void setMruColors(CTMRUColors value) {
+ this.mruColors = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTComment.java b/src/xlsx4j/java/org/xlsx4j/sml/CTComment.java
index 48073f5f8f..85124b8d37 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTComment.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTComment.java
@@ -1,161 +1,228 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlSchemaType;
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
-import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
-
-
-/**
- *
- * <complexType name="CT_Comment">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="text" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Rst"/>
- * </sequence>
- * <attribute name="ref" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Ref" />
- * <attribute name="authorId" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * <attribute name="guid" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Guid" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_Comment", propOrder = {
- "text"
-})
-public class CTComment {
-
- @XmlElement(required = true)
- protected CTRst text;
- @XmlAttribute(required = true)
- protected String ref;
- @XmlAttribute(required = true)
- @XmlSchemaType(name = "unsignedInt")
- protected long authorId;
- @XmlAttribute
- @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
- protected String guid;
-
- /**
- * Gets the value of the text property.
- *
- * @return
- * possible object is
- * {@link CTRst }
- *
- */
- public CTRst getText() {
- return text;
- }
-
- /**
- * Sets the value of the text property.
- *
- * @param value
- * allowed object is
- * {@link CTRst }
- *
- */
- public void setText(CTRst value) {
- this.text = value;
- }
-
- /**
- * Gets the value of the ref property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getRef() {
- return ref;
- }
-
- /**
- * Sets the value of the ref property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setRef(String value) {
- this.ref = value;
- }
-
- /**
- * Gets the value of the authorId property.
- *
- */
- public long getAuthorId() {
- return authorId;
- }
-
- /**
- * Sets the value of the authorId property.
- *
- */
- public void setAuthorId(long value) {
- this.authorId = value;
- }
-
- /**
- * Gets the value of the guid property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getGuid() {
- return guid;
- }
-
- /**
- * Sets the value of the guid property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setGuid(String value) {
- this.guid = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_Comment">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="text" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Rst"/>
+ * <element name="commentPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CommentPr" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="ref" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Ref" />
+ * <attribute name="authorId" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * <attribute name="guid" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Guid" />
+ * <attribute name="shapeId" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_Comment", propOrder = {
+ "text",
+ "commentPr"
+})
+public class CTComment implements Child
+{
+
+ @XmlElement(required = true)
+ protected CTRst text;
+ protected CTCommentPr commentPr;
+ @XmlAttribute(name = "ref", required = true)
+ protected String ref;
+ @XmlAttribute(name = "authorId", required = true)
+ @XmlSchemaType(name = "unsignedInt")
+ protected long authorId;
+ @XmlAttribute(name = "guid")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String guid;
+ @XmlAttribute(name = "shapeId")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long shapeId;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the text property.
+ *
+ * @return
+ * possible object is
+ * {@link CTRst }
+ *
+ */
+ public CTRst getText() {
+ return text;
+ }
+
+ /**
+ * Sets the value of the text property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTRst }
+ *
+ */
+ public void setText(CTRst value) {
+ this.text = value;
+ }
+
+ /**
+ * Gets the value of the commentPr property.
+ *
+ * @return
+ * possible object is
+ * {@link CTCommentPr }
+ *
+ */
+ public CTCommentPr getCommentPr() {
+ return commentPr;
+ }
+
+ /**
+ * Sets the value of the commentPr property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTCommentPr }
+ *
+ */
+ public void setCommentPr(CTCommentPr value) {
+ this.commentPr = value;
+ }
+
+ /**
+ * Gets the value of the ref property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRef() {
+ return ref;
+ }
+
+ /**
+ * Sets the value of the ref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRef(String value) {
+ this.ref = value;
+ }
+
+ /**
+ * Gets the value of the authorId property.
+ *
+ */
+ public long getAuthorId() {
+ return authorId;
+ }
+
+ /**
+ * Sets the value of the authorId property.
+ *
+ */
+ public void setAuthorId(long value) {
+ this.authorId = value;
+ }
+
+ /**
+ * Gets the value of the guid property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getGuid() {
+ return guid;
+ }
+
+ /**
+ * Sets the value of the guid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setGuid(String value) {
+ this.guid = value;
+ }
+
+ /**
+ * Gets the value of the shapeId property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public Long getShapeId() {
+ return shapeId;
+ }
+
+ /**
+ * Sets the value of the shapeId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setShapeId(Long value) {
+ this.shapeId = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTCommentList.java b/src/xlsx4j/java/org/xlsx4j/sml/CTCommentList.java
index 0ce02cd9d2..d9826d9fa6 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTCommentList.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTCommentList.java
@@ -1,87 +1,99 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import java.util.ArrayList;
-import java.util.List;
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_CommentList">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="comment" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Comment" maxOccurs="unbounded" minOccurs="0"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CommentList", propOrder = {
- "comment"
-})
-public class CTCommentList {
-
- protected Listset
method for the comment property.
- *
- *
- * getComment().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_CommentList">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="comment" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Comment" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CommentList", propOrder = {
+ "comment"
+})
+public class CTCommentList implements Child
+{
+
+ protected Listset
method for the comment property.
+ *
+ *
+ * getComment().add(newItem);
+ *
+ *
+ *
+ *
+ * <complexType name="CT_CommentPr">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="anchor" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ObjectAnchor"/>
+ * </sequence>
+ * <attribute name="locked" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * <attribute name="defaultSize" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * <attribute name="print" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * <attribute name="disabled" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="autoFill" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * <attribute name="autoLine" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * <attribute name="altText" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * <attribute name="textHAlign" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_TextHAlign" default="left" />
+ * <attribute name="textVAlign" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_TextVAlign" default="top" />
+ * <attribute name="lockText" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * <attribute name="justLastX" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="autoScale" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CommentPr", propOrder = {
+ "anchor"
+})
+public class CTCommentPr implements Child
+{
+
+ @XmlElement(required = true)
+ protected CTObjectAnchor anchor;
+ @XmlAttribute(name = "locked")
+ protected Boolean locked;
+ @XmlAttribute(name = "defaultSize")
+ protected Boolean defaultSize;
+ @XmlAttribute(name = "print")
+ protected Boolean print;
+ @XmlAttribute(name = "disabled")
+ protected Boolean disabled;
+ @XmlAttribute(name = "autoFill")
+ protected Boolean autoFill;
+ @XmlAttribute(name = "autoLine")
+ protected Boolean autoLine;
+ @XmlAttribute(name = "altText")
+ protected String altText;
+ @XmlAttribute(name = "textHAlign")
+ protected STTextHAlign textHAlign;
+ @XmlAttribute(name = "textVAlign")
+ protected STTextVAlign textVAlign;
+ @XmlAttribute(name = "lockText")
+ protected Boolean lockText;
+ @XmlAttribute(name = "justLastX")
+ protected Boolean justLastX;
+ @XmlAttribute(name = "autoScale")
+ protected Boolean autoScale;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the anchor property.
+ *
+ * @return
+ * possible object is
+ * {@link CTObjectAnchor }
+ *
+ */
+ public CTObjectAnchor getAnchor() {
+ return anchor;
+ }
+
+ /**
+ * Sets the value of the anchor property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTObjectAnchor }
+ *
+ */
+ public void setAnchor(CTObjectAnchor value) {
+ this.anchor = value;
+ }
+
+ /**
+ * Gets the value of the locked property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isLocked() {
+ if (locked == null) {
+ return true;
+ } else {
+ return locked;
+ }
+ }
+
+ /**
+ * Sets the value of the locked property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setLocked(Boolean value) {
+ this.locked = value;
+ }
+
+ /**
+ * Gets the value of the defaultSize property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isDefaultSize() {
+ if (defaultSize == null) {
+ return true;
+ } else {
+ return defaultSize;
+ }
+ }
+
+ /**
+ * Sets the value of the defaultSize property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setDefaultSize(Boolean value) {
+ this.defaultSize = value;
+ }
+
+ /**
+ * Gets the value of the print property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isPrint() {
+ if (print == null) {
+ return true;
+ } else {
+ return print;
+ }
+ }
+
+ /**
+ * Sets the value of the print property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setPrint(Boolean value) {
+ this.print = value;
+ }
+
+ /**
+ * Gets the value of the disabled property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isDisabled() {
+ if (disabled == null) {
+ return false;
+ } else {
+ return disabled;
+ }
+ }
+
+ /**
+ * Sets the value of the disabled property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setDisabled(Boolean value) {
+ this.disabled = value;
+ }
+
+ /**
+ * Gets the value of the autoFill property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isAutoFill() {
+ if (autoFill == null) {
+ return true;
+ } else {
+ return autoFill;
+ }
+ }
+
+ /**
+ * Sets the value of the autoFill property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setAutoFill(Boolean value) {
+ this.autoFill = value;
+ }
+
+ /**
+ * Gets the value of the autoLine property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isAutoLine() {
+ if (autoLine == null) {
+ return true;
+ } else {
+ return autoLine;
+ }
+ }
+
+ /**
+ * Sets the value of the autoLine property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setAutoLine(Boolean value) {
+ this.autoLine = value;
+ }
+
+ /**
+ * Gets the value of the altText property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAltText() {
+ return altText;
+ }
+
+ /**
+ * Sets the value of the altText property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAltText(String value) {
+ this.altText = value;
+ }
+
+ /**
+ * Gets the value of the textHAlign property.
+ *
+ * @return
+ * possible object is
+ * {@link STTextHAlign }
+ *
+ */
+ public STTextHAlign getTextHAlign() {
+ if (textHAlign == null) {
+ return STTextHAlign.LEFT;
+ } else {
+ return textHAlign;
+ }
+ }
+
+ /**
+ * Sets the value of the textHAlign property.
+ *
+ * @param value
+ * allowed object is
+ * {@link STTextHAlign }
+ *
+ */
+ public void setTextHAlign(STTextHAlign value) {
+ this.textHAlign = value;
+ }
+
+ /**
+ * Gets the value of the textVAlign property.
+ *
+ * @return
+ * possible object is
+ * {@link STTextVAlign }
+ *
+ */
+ public STTextVAlign getTextVAlign() {
+ if (textVAlign == null) {
+ return STTextVAlign.TOP;
+ } else {
+ return textVAlign;
+ }
+ }
+
+ /**
+ * Sets the value of the textVAlign property.
+ *
+ * @param value
+ * allowed object is
+ * {@link STTextVAlign }
+ *
+ */
+ public void setTextVAlign(STTextVAlign value) {
+ this.textVAlign = value;
+ }
+
+ /**
+ * Gets the value of the lockText property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isLockText() {
+ if (lockText == null) {
+ return true;
+ } else {
+ return lockText;
+ }
+ }
+
+ /**
+ * Sets the value of the lockText property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setLockText(Boolean value) {
+ this.lockText = value;
+ }
+
+ /**
+ * Gets the value of the justLastX property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isJustLastX() {
+ if (justLastX == null) {
+ return false;
+ } else {
+ return justLastX;
+ }
+ }
+
+ /**
+ * Sets the value of the justLastX property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setJustLastX(Boolean value) {
+ this.justLastX = value;
+ }
+
+ /**
+ * Gets the value of the autoScale property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isAutoScale() {
+ if (autoScale == null) {
+ return false;
+ } else {
+ return autoScale;
+ }
+ }
+
+ /**
+ * Sets the value of the autoScale property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setAutoScale(Boolean value) {
+ this.autoScale = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTComments.java b/src/xlsx4j/java/org/xlsx4j/sml/CTComments.java
index 37e4b71e3b..8d26ff084a 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTComments.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTComments.java
@@ -1,139 +1,151 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_Comments">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="authors" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Authors"/>
- * <element name="commentList" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CommentList"/>
- * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_Comments", propOrder = {
- "authors",
- "commentList",
- "extLst"
-})
-@XmlRootElement(name="comments")
-public class CTComments {
-
- @XmlElement(required = true)
- protected CTAuthors authors;
- @XmlElement(required = true)
- protected CTCommentList commentList;
- protected CTExtensionList extLst;
-
- /**
- * Gets the value of the authors property.
- *
- * @return
- * possible object is
- * {@link CTAuthors }
- *
- */
- public CTAuthors getAuthors() {
- return authors;
- }
-
- /**
- * Sets the value of the authors property.
- *
- * @param value
- * allowed object is
- * {@link CTAuthors }
- *
- */
- public void setAuthors(CTAuthors value) {
- this.authors = value;
- }
-
- /**
- * Gets the value of the commentList property.
- *
- * @return
- * possible object is
- * {@link CTCommentList }
- *
- */
- public CTCommentList getCommentList() {
- return commentList;
- }
-
- /**
- * Sets the value of the commentList property.
- *
- * @param value
- * allowed object is
- * {@link CTCommentList }
- *
- */
- public void setCommentList(CTCommentList value) {
- this.commentList = value;
- }
-
- /**
- * Gets the value of the extLst property.
- *
- * @return
- * possible object is
- * {@link CTExtensionList }
- *
- */
- public CTExtensionList getExtLst() {
- return extLst;
- }
-
- /**
- * Sets the value of the extLst property.
- *
- * @param value
- * allowed object is
- * {@link CTExtensionList }
- *
- */
- public void setExtLst(CTExtensionList value) {
- this.extLst = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_Comments">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="authors" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Authors"/>
+ * <element name="commentList" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CommentList"/>
+ * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_Comments", propOrder = {
+ "authors",
+ "commentList",
+ "extLst"
+})
+@XmlRootElement(name="comments")
+public class CTComments implements Child
+{
+
+ @XmlElement(required = true)
+ protected CTAuthors authors;
+ @XmlElement(required = true)
+ protected CTCommentList commentList;
+ protected CTExtensionList extLst;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the authors property.
+ *
+ * @return
+ * possible object is
+ * {@link CTAuthors }
+ *
+ */
+ public CTAuthors getAuthors() {
+ return authors;
+ }
+
+ /**
+ * Sets the value of the authors property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTAuthors }
+ *
+ */
+ public void setAuthors(CTAuthors value) {
+ this.authors = value;
+ }
+
+ /**
+ * Gets the value of the commentList property.
+ *
+ * @return
+ * possible object is
+ * {@link CTCommentList }
+ *
+ */
+ public CTCommentList getCommentList() {
+ return commentList;
+ }
+
+ /**
+ * Sets the value of the commentList property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTCommentList }
+ *
+ */
+ public void setCommentList(CTCommentList value) {
+ this.commentList = value;
+ }
+
+ /**
+ * Gets the value of the extLst property.
+ *
+ * @return
+ * possible object is
+ * {@link CTExtensionList }
+ *
+ */
+ public CTExtensionList getExtLst() {
+ return extLst;
+ }
+
+ /**
+ * Sets the value of the extLst property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTExtensionList }
+ *
+ */
+ public void setExtLst(CTExtensionList value) {
+ this.extLst = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTConditionalFormat.java b/src/xlsx4j/java/org/xlsx4j/sml/CTConditionalFormat.java
index 2907e7de6c..5fe8b13c6f 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTConditionalFormat.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTConditionalFormat.java
@@ -1,193 +1,205 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlSchemaType;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_ConditionalFormat">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="pivotAreas" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_PivotAreas"/>
- * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
- * </sequence>
- * <attribute name="scope" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Scope" default="selection" />
- * <attribute name="type" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Type" default="none" />
- * <attribute name="priority" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_ConditionalFormat", propOrder = {
- "pivotAreas",
- "extLst"
-})
-public class CTConditionalFormat {
-
- @XmlElement(required = true)
- protected CTPivotAreas pivotAreas;
- protected CTExtensionList extLst;
- @XmlAttribute
- protected STScope scope;
- @XmlAttribute
- protected STType type;
- @XmlAttribute(required = true)
- @XmlSchemaType(name = "unsignedInt")
- protected long priority;
-
- /**
- * Gets the value of the pivotAreas property.
- *
- * @return
- * possible object is
- * {@link CTPivotAreas }
- *
- */
- public CTPivotAreas getPivotAreas() {
- return pivotAreas;
- }
-
- /**
- * Sets the value of the pivotAreas property.
- *
- * @param value
- * allowed object is
- * {@link CTPivotAreas }
- *
- */
- public void setPivotAreas(CTPivotAreas value) {
- this.pivotAreas = value;
- }
-
- /**
- * Gets the value of the extLst property.
- *
- * @return
- * possible object is
- * {@link CTExtensionList }
- *
- */
- public CTExtensionList getExtLst() {
- return extLst;
- }
-
- /**
- * Sets the value of the extLst property.
- *
- * @param value
- * allowed object is
- * {@link CTExtensionList }
- *
- */
- public void setExtLst(CTExtensionList value) {
- this.extLst = value;
- }
-
- /**
- * Gets the value of the scope property.
- *
- * @return
- * possible object is
- * {@link STScope }
- *
- */
- public STScope getScope() {
- if (scope == null) {
- return STScope.SELECTION;
- } else {
- return scope;
- }
- }
-
- /**
- * Sets the value of the scope property.
- *
- * @param value
- * allowed object is
- * {@link STScope }
- *
- */
- public void setScope(STScope value) {
- this.scope = value;
- }
-
- /**
- * Gets the value of the type property.
- *
- * @return
- * possible object is
- * {@link STType }
- *
- */
- public STType getType() {
- if (type == null) {
- return STType.NONE;
- } else {
- return type;
- }
- }
-
- /**
- * Sets the value of the type property.
- *
- * @param value
- * allowed object is
- * {@link STType }
- *
- */
- public void setType(STType value) {
- this.type = value;
- }
-
- /**
- * Gets the value of the priority property.
- *
- */
- public long getPriority() {
- return priority;
- }
-
- /**
- * Sets the value of the priority property.
- *
- */
- public void setPriority(long value) {
- this.priority = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_ConditionalFormat">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="pivotAreas" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_PivotAreas"/>
+ * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="scope" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Scope" default="selection" />
+ * <attribute name="type" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Type" default="none" />
+ * <attribute name="priority" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_ConditionalFormat", propOrder = {
+ "pivotAreas",
+ "extLst"
+})
+public class CTConditionalFormat implements Child
+{
+
+ @XmlElement(required = true)
+ protected CTPivotAreas pivotAreas;
+ protected CTExtensionList extLst;
+ @XmlAttribute(name = "scope")
+ protected STScope scope;
+ @XmlAttribute(name = "type")
+ protected STType type;
+ @XmlAttribute(name = "priority", required = true)
+ @XmlSchemaType(name = "unsignedInt")
+ protected long priority;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the pivotAreas property.
+ *
+ * @return
+ * possible object is
+ * {@link CTPivotAreas }
+ *
+ */
+ public CTPivotAreas getPivotAreas() {
+ return pivotAreas;
+ }
+
+ /**
+ * Sets the value of the pivotAreas property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTPivotAreas }
+ *
+ */
+ public void setPivotAreas(CTPivotAreas value) {
+ this.pivotAreas = value;
+ }
+
+ /**
+ * Gets the value of the extLst property.
+ *
+ * @return
+ * possible object is
+ * {@link CTExtensionList }
+ *
+ */
+ public CTExtensionList getExtLst() {
+ return extLst;
+ }
+
+ /**
+ * Sets the value of the extLst property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTExtensionList }
+ *
+ */
+ public void setExtLst(CTExtensionList value) {
+ this.extLst = value;
+ }
+
+ /**
+ * Gets the value of the scope property.
+ *
+ * @return
+ * possible object is
+ * {@link STScope }
+ *
+ */
+ public STScope getScope() {
+ if (scope == null) {
+ return STScope.SELECTION;
+ } else {
+ return scope;
+ }
+ }
+
+ /**
+ * Sets the value of the scope property.
+ *
+ * @param value
+ * allowed object is
+ * {@link STScope }
+ *
+ */
+ public void setScope(STScope value) {
+ this.scope = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link STType }
+ *
+ */
+ public STType getType() {
+ if (type == null) {
+ return STType.NONE;
+ } else {
+ return type;
+ }
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link STType }
+ *
+ */
+ public void setType(STType value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the priority property.
+ *
+ */
+ public long getPriority() {
+ return priority;
+ }
+
+ /**
+ * Sets the value of the priority property.
+ *
+ */
+ public void setPriority(long value) {
+ this.priority = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTConditionalFormats.java b/src/xlsx4j/java/org/xlsx4j/sml/CTConditionalFormats.java
index 118590e58e..dda6ecf059 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTConditionalFormats.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTConditionalFormats.java
@@ -1,123 +1,135 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import java.util.ArrayList;
-import java.util.List;
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlSchemaType;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_ConditionalFormats">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="conditionalFormat" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ConditionalFormat" maxOccurs="unbounded"/>
- * </sequence>
- * <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_ConditionalFormats", propOrder = {
- "conditionalFormat"
-})
-public class CTConditionalFormats {
-
- @XmlElement(required = true)
- protected Listset
method for the conditionalFormat property.
- *
- *
- * getConditionalFormat().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_ConditionalFormats">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="conditionalFormat" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ConditionalFormat" maxOccurs="unbounded"/>
+ * </sequence>
+ * <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_ConditionalFormats", propOrder = {
+ "conditionalFormat"
+})
+public class CTConditionalFormats implements Child
+{
+
+ @XmlElement(required = true)
+ protected Listset
method for the conditionalFormat property.
+ *
+ *
+ * getConditionalFormat().add(newItem);
+ *
+ *
+ *
+ *
- * <complexType name="CT_ConditionalFormatting">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="cfRule" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CfRule" maxOccurs="unbounded"/>
- * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
- * </sequence>
- * <attribute name="pivot" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="sqref" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Sqref" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_ConditionalFormatting", propOrder = {
- "cfRule",
- "extLst"
-})
-public class CTConditionalFormatting {
-
- @XmlElement(required = true)
- protected Listset
method for the cfRule property.
- *
- *
- * getCfRule().add(newItem);
- *
- *
- *
- * set
method for the sqref property.
- *
- *
- * getSqref().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_ConditionalFormatting">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="cfRule" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CfRule" maxOccurs="unbounded"/>
+ * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="pivot" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="sqref" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Sqref" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_ConditionalFormatting", propOrder = {
+ "cfRule",
+ "extLst"
+})
+public class CTConditionalFormatting implements Child
+{
+
+ @XmlElement(required = true)
+ protected Listset
method for the cfRule property.
+ *
+ *
+ * getCfRule().add(newItem);
+ *
+ *
+ *
+ * set
method for the sqref property.
+ *
+ *
+ * getSqref().add(newItem);
+ *
+ *
+ *
+ *
- * <complexType name="CT_Connection">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="dbPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_DbPr" minOccurs="0"/>
- * <element name="olapPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_OlapPr" minOccurs="0"/>
- * <element name="webPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_WebPr" minOccurs="0"/>
- * <element name="textPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_TextPr" minOccurs="0"/>
- * <element name="parameters" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Parameters" minOccurs="0"/>
- * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
- * </sequence>
- * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * <attribute name="sourceFile" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
- * <attribute name="odcFile" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
- * <attribute name="keepAlive" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="interval" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
- * <attribute name="name" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
- * <attribute name="description" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
- * <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * <attribute name="reconnectionMethod" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="1" />
- * <attribute name="refreshedVersion" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" />
- * <attribute name="minRefreshableVersion" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" default="0" />
- * <attribute name="savePassword" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="new" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="deleted" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="onlyUseConnectionFile" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="background" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="refreshOnLoad" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="saveData" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="credentials" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CredMethod" default="integrated" />
- * <attribute name="singleSignOnId" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_Connection", propOrder = {
- "dbPr",
- "olapPr",
- "webPr",
- "textPr",
- "parameters",
- "extLst"
-})
-public class CTConnection {
-
- protected CTDbPr dbPr;
- protected CTOlapPr olapPr;
- protected CTWebPr webPr;
- protected CTTextPr textPr;
- protected CTParameters parameters;
- protected CTExtensionList extLst;
- @XmlAttribute(required = true)
- @XmlSchemaType(name = "unsignedInt")
- protected long id;
- @XmlAttribute
- protected String sourceFile;
- @XmlAttribute
- protected String odcFile;
- @XmlAttribute
- protected Boolean keepAlive;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long interval;
- @XmlAttribute
- protected String name;
- @XmlAttribute
- protected String description;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long type;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long reconnectionMethod;
- @XmlAttribute(required = true)
- @XmlSchemaType(name = "unsignedByte")
- protected short refreshedVersion;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedByte")
- protected Short minRefreshableVersion;
- @XmlAttribute
- protected Boolean savePassword;
- @XmlAttribute(name = "new")
- protected Boolean _new;
- @XmlAttribute
- protected Boolean deleted;
- @XmlAttribute
- protected Boolean onlyUseConnectionFile;
- @XmlAttribute
- protected Boolean background;
- @XmlAttribute
- protected Boolean refreshOnLoad;
- @XmlAttribute
- protected Boolean saveData;
- @XmlAttribute
- protected STCredMethod credentials;
- @XmlAttribute
- protected String singleSignOnId;
-
- /**
- * Gets the value of the dbPr property.
- *
- * @return
- * possible object is
- * {@link CTDbPr }
- *
- */
- public CTDbPr getDbPr() {
- return dbPr;
- }
-
- /**
- * Sets the value of the dbPr property.
- *
- * @param value
- * allowed object is
- * {@link CTDbPr }
- *
- */
- public void setDbPr(CTDbPr value) {
- this.dbPr = value;
- }
-
- /**
- * Gets the value of the olapPr property.
- *
- * @return
- * possible object is
- * {@link CTOlapPr }
- *
- */
- public CTOlapPr getOlapPr() {
- return olapPr;
- }
-
- /**
- * Sets the value of the olapPr property.
- *
- * @param value
- * allowed object is
- * {@link CTOlapPr }
- *
- */
- public void setOlapPr(CTOlapPr value) {
- this.olapPr = value;
- }
-
- /**
- * Gets the value of the webPr property.
- *
- * @return
- * possible object is
- * {@link CTWebPr }
- *
- */
- public CTWebPr getWebPr() {
- return webPr;
- }
-
- /**
- * Sets the value of the webPr property.
- *
- * @param value
- * allowed object is
- * {@link CTWebPr }
- *
- */
- public void setWebPr(CTWebPr value) {
- this.webPr = value;
- }
-
- /**
- * Gets the value of the textPr property.
- *
- * @return
- * possible object is
- * {@link CTTextPr }
- *
- */
- public CTTextPr getTextPr() {
- return textPr;
- }
-
- /**
- * Sets the value of the textPr property.
- *
- * @param value
- * allowed object is
- * {@link CTTextPr }
- *
- */
- public void setTextPr(CTTextPr value) {
- this.textPr = value;
- }
-
- /**
- * Gets the value of the parameters property.
- *
- * @return
- * possible object is
- * {@link CTParameters }
- *
- */
- public CTParameters getParameters() {
- return parameters;
- }
-
- /**
- * Sets the value of the parameters property.
- *
- * @param value
- * allowed object is
- * {@link CTParameters }
- *
- */
- public void setParameters(CTParameters value) {
- this.parameters = value;
- }
-
- /**
- * Gets the value of the extLst property.
- *
- * @return
- * possible object is
- * {@link CTExtensionList }
- *
- */
- public CTExtensionList getExtLst() {
- return extLst;
- }
-
- /**
- * Sets the value of the extLst property.
- *
- * @param value
- * allowed object is
- * {@link CTExtensionList }
- *
- */
- public void setExtLst(CTExtensionList value) {
- this.extLst = value;
- }
-
- /**
- * Gets the value of the id property.
- *
- */
- public long getId() {
- return id;
- }
-
- /**
- * Sets the value of the id property.
- *
- */
- public void setId(long value) {
- this.id = value;
- }
-
- /**
- * Gets the value of the sourceFile property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getSourceFile() {
- return sourceFile;
- }
-
- /**
- * Sets the value of the sourceFile property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setSourceFile(String value) {
- this.sourceFile = value;
- }
-
- /**
- * Gets the value of the odcFile property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getOdcFile() {
- return odcFile;
- }
-
- /**
- * Sets the value of the odcFile property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setOdcFile(String value) {
- this.odcFile = value;
- }
-
- /**
- * Gets the value of the keepAlive property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isKeepAlive() {
- if (keepAlive == null) {
- return false;
- } else {
- return keepAlive;
- }
- }
-
- /**
- * Sets the value of the keepAlive property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setKeepAlive(Boolean value) {
- this.keepAlive = value;
- }
-
- /**
- * Gets the value of the interval property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public long getInterval() {
- if (interval == null) {
- return 0L;
- } else {
- return interval;
- }
- }
-
- /**
- * Sets the value of the interval property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setInterval(Long value) {
- this.interval = value;
- }
-
- /**
- * Gets the value of the name property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getName() {
- return name;
- }
-
- /**
- * Sets the value of the name property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setName(String value) {
- this.name = value;
- }
-
- /**
- * Gets the value of the description property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getDescription() {
- return description;
- }
-
- /**
- * Sets the value of the description property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setDescription(String value) {
- this.description = value;
- }
-
- /**
- * Gets the value of the type property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public Long getType() {
- return type;
- }
-
- /**
- * Sets the value of the type property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setType(Long value) {
- this.type = value;
- }
-
- /**
- * Gets the value of the reconnectionMethod property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public long getReconnectionMethod() {
- if (reconnectionMethod == null) {
- return 1L;
- } else {
- return reconnectionMethod;
- }
- }
-
- /**
- * Sets the value of the reconnectionMethod property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setReconnectionMethod(Long value) {
- this.reconnectionMethod = value;
- }
-
- /**
- * Gets the value of the refreshedVersion property.
- *
- */
- public short getRefreshedVersion() {
- return refreshedVersion;
- }
-
- /**
- * Sets the value of the refreshedVersion property.
- *
- */
- public void setRefreshedVersion(short value) {
- this.refreshedVersion = value;
- }
-
- /**
- * Gets the value of the minRefreshableVersion property.
- *
- * @return
- * possible object is
- * {@link Short }
- *
- */
- public short getMinRefreshableVersion() {
- if (minRefreshableVersion == null) {
- return ((short) 0);
- } else {
- return minRefreshableVersion;
- }
- }
-
- /**
- * Sets the value of the minRefreshableVersion property.
- *
- * @param value
- * allowed object is
- * {@link Short }
- *
- */
- public void setMinRefreshableVersion(Short value) {
- this.minRefreshableVersion = value;
- }
-
- /**
- * Gets the value of the savePassword property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isSavePassword() {
- if (savePassword == null) {
- return false;
- } else {
- return savePassword;
- }
- }
-
- /**
- * Sets the value of the savePassword property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setSavePassword(Boolean value) {
- this.savePassword = value;
- }
-
- /**
- * Gets the value of the new property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isNew() {
- if (_new == null) {
- return false;
- } else {
- return _new;
- }
- }
-
- /**
- * Sets the value of the new property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setNew(Boolean value) {
- this._new = value;
- }
-
- /**
- * Gets the value of the deleted property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isDeleted() {
- if (deleted == null) {
- return false;
- } else {
- return deleted;
- }
- }
-
- /**
- * Sets the value of the deleted property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setDeleted(Boolean value) {
- this.deleted = value;
- }
-
- /**
- * Gets the value of the onlyUseConnectionFile property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isOnlyUseConnectionFile() {
- if (onlyUseConnectionFile == null) {
- return false;
- } else {
- return onlyUseConnectionFile;
- }
- }
-
- /**
- * Sets the value of the onlyUseConnectionFile property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setOnlyUseConnectionFile(Boolean value) {
- this.onlyUseConnectionFile = value;
- }
-
- /**
- * Gets the value of the background property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isBackground() {
- if (background == null) {
- return false;
- } else {
- return background;
- }
- }
-
- /**
- * Sets the value of the background property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setBackground(Boolean value) {
- this.background = value;
- }
-
- /**
- * Gets the value of the refreshOnLoad property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isRefreshOnLoad() {
- if (refreshOnLoad == null) {
- return false;
- } else {
- return refreshOnLoad;
- }
- }
-
- /**
- * Sets the value of the refreshOnLoad property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setRefreshOnLoad(Boolean value) {
- this.refreshOnLoad = value;
- }
-
- /**
- * Gets the value of the saveData property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isSaveData() {
- if (saveData == null) {
- return false;
- } else {
- return saveData;
- }
- }
-
- /**
- * Sets the value of the saveData property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setSaveData(Boolean value) {
- this.saveData = value;
- }
-
- /**
- * Gets the value of the credentials property.
- *
- * @return
- * possible object is
- * {@link STCredMethod }
- *
- */
- public STCredMethod getCredentials() {
- if (credentials == null) {
- return STCredMethod.INTEGRATED;
- } else {
- return credentials;
- }
- }
-
- /**
- * Sets the value of the credentials property.
- *
- * @param value
- * allowed object is
- * {@link STCredMethod }
- *
- */
- public void setCredentials(STCredMethod value) {
- this.credentials = value;
- }
-
- /**
- * Gets the value of the singleSignOnId property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getSingleSignOnId() {
- return singleSignOnId;
- }
-
- /**
- * Sets the value of the singleSignOnId property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setSingleSignOnId(String value) {
- this.singleSignOnId = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_Connection">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="dbPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_DbPr" minOccurs="0"/>
+ * <element name="olapPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_OlapPr" minOccurs="0"/>
+ * <element name="webPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_WebPr" minOccurs="0"/>
+ * <element name="textPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_TextPr" minOccurs="0"/>
+ * <element name="parameters" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Parameters" minOccurs="0"/>
+ * <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * <attribute name="sourceFile" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * <attribute name="odcFile" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * <attribute name="keepAlive" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="interval" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
+ * <attribute name="name" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * <attribute name="description" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * <attribute name="reconnectionMethod" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="1" />
+ * <attribute name="refreshedVersion" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" />
+ * <attribute name="minRefreshableVersion" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" default="0" />
+ * <attribute name="savePassword" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="new" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="deleted" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="onlyUseConnectionFile" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="background" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="refreshOnLoad" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="saveData" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="credentials" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CredMethod" default="integrated" />
+ * <attribute name="singleSignOnId" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_Connection", propOrder = {
+ "dbPr",
+ "olapPr",
+ "webPr",
+ "textPr",
+ "parameters",
+ "extLst"
+})
+public class CTConnection implements Child
+{
+
+ protected CTDbPr dbPr;
+ protected CTOlapPr olapPr;
+ protected CTWebPr webPr;
+ protected CTTextPr textPr;
+ protected CTParameters parameters;
+ protected CTExtensionList extLst;
+ @XmlAttribute(name = "id", required = true)
+ @XmlSchemaType(name = "unsignedInt")
+ protected long id;
+ @XmlAttribute(name = "sourceFile")
+ protected String sourceFile;
+ @XmlAttribute(name = "odcFile")
+ protected String odcFile;
+ @XmlAttribute(name = "keepAlive")
+ protected Boolean keepAlive;
+ @XmlAttribute(name = "interval")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long interval;
+ @XmlAttribute(name = "name")
+ protected String name;
+ @XmlAttribute(name = "description")
+ protected String description;
+ @XmlAttribute(name = "type")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long type;
+ @XmlAttribute(name = "reconnectionMethod")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long reconnectionMethod;
+ @XmlAttribute(name = "refreshedVersion", required = true)
+ @XmlSchemaType(name = "unsignedByte")
+ protected short refreshedVersion;
+ @XmlAttribute(name = "minRefreshableVersion")
+ @XmlSchemaType(name = "unsignedByte")
+ protected Short minRefreshableVersion;
+ @XmlAttribute(name = "savePassword")
+ protected Boolean savePassword;
+ @XmlAttribute(name = "new")
+ protected Boolean _new;
+ @XmlAttribute(name = "deleted")
+ protected Boolean deleted;
+ @XmlAttribute(name = "onlyUseConnectionFile")
+ protected Boolean onlyUseConnectionFile;
+ @XmlAttribute(name = "background")
+ protected Boolean background;
+ @XmlAttribute(name = "refreshOnLoad")
+ protected Boolean refreshOnLoad;
+ @XmlAttribute(name = "saveData")
+ protected Boolean saveData;
+ @XmlAttribute(name = "credentials")
+ protected STCredMethod credentials;
+ @XmlAttribute(name = "singleSignOnId")
+ protected String singleSignOnId;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the dbPr property.
+ *
+ * @return
+ * possible object is
+ * {@link CTDbPr }
+ *
+ */
+ public CTDbPr getDbPr() {
+ return dbPr;
+ }
+
+ /**
+ * Sets the value of the dbPr property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTDbPr }
+ *
+ */
+ public void setDbPr(CTDbPr value) {
+ this.dbPr = value;
+ }
+
+ /**
+ * Gets the value of the olapPr property.
+ *
+ * @return
+ * possible object is
+ * {@link CTOlapPr }
+ *
+ */
+ public CTOlapPr getOlapPr() {
+ return olapPr;
+ }
+
+ /**
+ * Sets the value of the olapPr property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTOlapPr }
+ *
+ */
+ public void setOlapPr(CTOlapPr value) {
+ this.olapPr = value;
+ }
+
+ /**
+ * Gets the value of the webPr property.
+ *
+ * @return
+ * possible object is
+ * {@link CTWebPr }
+ *
+ */
+ public CTWebPr getWebPr() {
+ return webPr;
+ }
+
+ /**
+ * Sets the value of the webPr property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTWebPr }
+ *
+ */
+ public void setWebPr(CTWebPr value) {
+ this.webPr = value;
+ }
+
+ /**
+ * Gets the value of the textPr property.
+ *
+ * @return
+ * possible object is
+ * {@link CTTextPr }
+ *
+ */
+ public CTTextPr getTextPr() {
+ return textPr;
+ }
+
+ /**
+ * Sets the value of the textPr property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTTextPr }
+ *
+ */
+ public void setTextPr(CTTextPr value) {
+ this.textPr = value;
+ }
+
+ /**
+ * Gets the value of the parameters property.
+ *
+ * @return
+ * possible object is
+ * {@link CTParameters }
+ *
+ */
+ public CTParameters getParameters() {
+ return parameters;
+ }
+
+ /**
+ * Sets the value of the parameters property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTParameters }
+ *
+ */
+ public void setParameters(CTParameters value) {
+ this.parameters = value;
+ }
+
+ /**
+ * Gets the value of the extLst property.
+ *
+ * @return
+ * possible object is
+ * {@link CTExtensionList }
+ *
+ */
+ public CTExtensionList getExtLst() {
+ return extLst;
+ }
+
+ /**
+ * Sets the value of the extLst property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTExtensionList }
+ *
+ */
+ public void setExtLst(CTExtensionList value) {
+ this.extLst = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ */
+ public long getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ */
+ public void setId(long value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the sourceFile property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSourceFile() {
+ return sourceFile;
+ }
+
+ /**
+ * Sets the value of the sourceFile property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSourceFile(String value) {
+ this.sourceFile = value;
+ }
+
+ /**
+ * Gets the value of the odcFile property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getOdcFile() {
+ return odcFile;
+ }
+
+ /**
+ * Sets the value of the odcFile property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setOdcFile(String value) {
+ this.odcFile = value;
+ }
+
+ /**
+ * Gets the value of the keepAlive property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isKeepAlive() {
+ if (keepAlive == null) {
+ return false;
+ } else {
+ return keepAlive;
+ }
+ }
+
+ /**
+ * Sets the value of the keepAlive property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setKeepAlive(Boolean value) {
+ this.keepAlive = value;
+ }
+
+ /**
+ * Gets the value of the interval property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public long getInterval() {
+ if (interval == null) {
+ return 0L;
+ } else {
+ return interval;
+ }
+ }
+
+ /**
+ * Sets the value of the interval property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setInterval(Long value) {
+ this.interval = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the description property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDescription(String value) {
+ this.description = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public Long getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setType(Long value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the reconnectionMethod property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public long getReconnectionMethod() {
+ if (reconnectionMethod == null) {
+ return 1L;
+ } else {
+ return reconnectionMethod;
+ }
+ }
+
+ /**
+ * Sets the value of the reconnectionMethod property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setReconnectionMethod(Long value) {
+ this.reconnectionMethod = value;
+ }
+
+ /**
+ * Gets the value of the refreshedVersion property.
+ *
+ */
+ public short getRefreshedVersion() {
+ return refreshedVersion;
+ }
+
+ /**
+ * Sets the value of the refreshedVersion property.
+ *
+ */
+ public void setRefreshedVersion(short value) {
+ this.refreshedVersion = value;
+ }
+
+ /**
+ * Gets the value of the minRefreshableVersion property.
+ *
+ * @return
+ * possible object is
+ * {@link Short }
+ *
+ */
+ public short getMinRefreshableVersion() {
+ if (minRefreshableVersion == null) {
+ return ((short) 0);
+ } else {
+ return minRefreshableVersion;
+ }
+ }
+
+ /**
+ * Sets the value of the minRefreshableVersion property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Short }
+ *
+ */
+ public void setMinRefreshableVersion(Short value) {
+ this.minRefreshableVersion = value;
+ }
+
+ /**
+ * Gets the value of the savePassword property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isSavePassword() {
+ if (savePassword == null) {
+ return false;
+ } else {
+ return savePassword;
+ }
+ }
+
+ /**
+ * Sets the value of the savePassword property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setSavePassword(Boolean value) {
+ this.savePassword = value;
+ }
+
+ /**
+ * Gets the value of the new property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isNew() {
+ if (_new == null) {
+ return false;
+ } else {
+ return _new;
+ }
+ }
+
+ /**
+ * Sets the value of the new property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setNew(Boolean value) {
+ this._new = value;
+ }
+
+ /**
+ * Gets the value of the deleted property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isDeleted() {
+ if (deleted == null) {
+ return false;
+ } else {
+ return deleted;
+ }
+ }
+
+ /**
+ * Sets the value of the deleted property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setDeleted(Boolean value) {
+ this.deleted = value;
+ }
+
+ /**
+ * Gets the value of the onlyUseConnectionFile property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isOnlyUseConnectionFile() {
+ if (onlyUseConnectionFile == null) {
+ return false;
+ } else {
+ return onlyUseConnectionFile;
+ }
+ }
+
+ /**
+ * Sets the value of the onlyUseConnectionFile property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setOnlyUseConnectionFile(Boolean value) {
+ this.onlyUseConnectionFile = value;
+ }
+
+ /**
+ * Gets the value of the background property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isBackground() {
+ if (background == null) {
+ return false;
+ } else {
+ return background;
+ }
+ }
+
+ /**
+ * Sets the value of the background property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setBackground(Boolean value) {
+ this.background = value;
+ }
+
+ /**
+ * Gets the value of the refreshOnLoad property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isRefreshOnLoad() {
+ if (refreshOnLoad == null) {
+ return false;
+ } else {
+ return refreshOnLoad;
+ }
+ }
+
+ /**
+ * Sets the value of the refreshOnLoad property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setRefreshOnLoad(Boolean value) {
+ this.refreshOnLoad = value;
+ }
+
+ /**
+ * Gets the value of the saveData property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isSaveData() {
+ if (saveData == null) {
+ return false;
+ } else {
+ return saveData;
+ }
+ }
+
+ /**
+ * Sets the value of the saveData property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setSaveData(Boolean value) {
+ this.saveData = value;
+ }
+
+ /**
+ * Gets the value of the credentials property.
+ *
+ * @return
+ * possible object is
+ * {@link STCredMethod }
+ *
+ */
+ public STCredMethod getCredentials() {
+ if (credentials == null) {
+ return STCredMethod.INTEGRATED;
+ } else {
+ return credentials;
+ }
+ }
+
+ /**
+ * Sets the value of the credentials property.
+ *
+ * @param value
+ * allowed object is
+ * {@link STCredMethod }
+ *
+ */
+ public void setCredentials(STCredMethod value) {
+ this.credentials = value;
+ }
+
+ /**
+ * Gets the value of the singleSignOnId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSingleSignOnId() {
+ return singleSignOnId;
+ }
+
+ /**
+ * Sets the value of the singleSignOnId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSingleSignOnId(String value) {
+ this.singleSignOnId = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTConnections.java b/src/xlsx4j/java/org/xlsx4j/sml/CTConnections.java
index 59cc098afe..ec6a7aae53 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTConnections.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTConnections.java
@@ -1,89 +1,101 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import java.util.ArrayList;
-import java.util.List;
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_Connections">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="connection" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Connection" maxOccurs="unbounded"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_Connections", propOrder = {
- "connection"
-})
-public class CTConnections {
-
- @XmlElement(required = true)
- protected Listset
method for the connection property.
- *
- *
- * getConnection().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_Connections">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="connection" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Connection" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_Connections", propOrder = {
+ "connection"
+})
+public class CTConnections implements Child
+{
+
+ @XmlElement(required = true)
+ protected Listset
method for the connection property.
+ *
+ *
+ * getConnection().add(newItem);
+ *
+ *
+ *
+ *
- * <complexType name="CT_Consolidation">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="pages" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Pages" minOccurs="0"/>
- * <element name="rangeSets" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_RangeSets"/>
- * </sequence>
- * <attribute name="autoPage" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_Consolidation", propOrder = {
- "pages",
- "rangeSets"
-})
-public class CTConsolidation {
-
- protected CTPages pages;
- @XmlElement(required = true)
- protected CTRangeSets rangeSets;
- @XmlAttribute
- protected Boolean autoPage;
-
- /**
- * Gets the value of the pages property.
- *
- * @return
- * possible object is
- * {@link CTPages }
- *
- */
- public CTPages getPages() {
- return pages;
- }
-
- /**
- * Sets the value of the pages property.
- *
- * @param value
- * allowed object is
- * {@link CTPages }
- *
- */
- public void setPages(CTPages value) {
- this.pages = value;
- }
-
- /**
- * Gets the value of the rangeSets property.
- *
- * @return
- * possible object is
- * {@link CTRangeSets }
- *
- */
- public CTRangeSets getRangeSets() {
- return rangeSets;
- }
-
- /**
- * Sets the value of the rangeSets property.
- *
- * @param value
- * allowed object is
- * {@link CTRangeSets }
- *
- */
- public void setRangeSets(CTRangeSets value) {
- this.rangeSets = value;
- }
-
- /**
- * Gets the value of the autoPage property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isAutoPage() {
- if (autoPage == null) {
- return true;
- } else {
- return autoPage;
- }
- }
-
- /**
- * Sets the value of the autoPage property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setAutoPage(Boolean value) {
- this.autoPage = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_Consolidation">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="pages" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Pages" minOccurs="0"/>
+ * <element name="rangeSets" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_RangeSets"/>
+ * </sequence>
+ * <attribute name="autoPage" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_Consolidation", propOrder = {
+ "pages",
+ "rangeSets"
+})
+public class CTConsolidation implements Child
+{
+
+ protected CTPages pages;
+ @XmlElement(required = true)
+ protected CTRangeSets rangeSets;
+ @XmlAttribute(name = "autoPage")
+ protected Boolean autoPage;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the pages property.
+ *
+ * @return
+ * possible object is
+ * {@link CTPages }
+ *
+ */
+ public CTPages getPages() {
+ return pages;
+ }
+
+ /**
+ * Sets the value of the pages property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTPages }
+ *
+ */
+ public void setPages(CTPages value) {
+ this.pages = value;
+ }
+
+ /**
+ * Gets the value of the rangeSets property.
+ *
+ * @return
+ * possible object is
+ * {@link CTRangeSets }
+ *
+ */
+ public CTRangeSets getRangeSets() {
+ return rangeSets;
+ }
+
+ /**
+ * Sets the value of the rangeSets property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTRangeSets }
+ *
+ */
+ public void setRangeSets(CTRangeSets value) {
+ this.rangeSets = value;
+ }
+
+ /**
+ * Gets the value of the autoPage property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isAutoPage() {
+ if (autoPage == null) {
+ return true;
+ } else {
+ return autoPage;
+ }
+ }
+
+ /**
+ * Sets the value of the autoPage property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setAutoPage(Boolean value) {
+ this.autoPage = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTControl.java b/src/xlsx4j/java/org/xlsx4j/sml/CTControl.java
index cf74b782e3..0a684af1ab 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTControl.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTControl.java
@@ -1,126 +1,168 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlSchemaType;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_Control">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <attribute name="shapeId" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
- * <attribute ref="{http://schemas.openxmlformats.org/officeDocument/2006/relationships}id use="required""/>
- * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_Control")
-public class CTControl {
-
- @XmlAttribute(required = true)
- @XmlSchemaType(name = "unsignedInt")
- protected long shapeId;
- @XmlAttribute(namespace = "http://schemas.openxmlformats.org/officeDocument/2006/relationships", required = true)
- protected String id;
- @XmlAttribute
- protected String name;
-
- /**
- * Gets the value of the shapeId property.
- *
- */
- public long getShapeId() {
- return shapeId;
- }
-
- /**
- * Sets the value of the shapeId property.
- *
- */
- public void setShapeId(long value) {
- this.shapeId = value;
- }
-
- /**
- * Relationship Id
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getId() {
- return id;
- }
-
- /**
- * Sets the value of the id property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setId(String value) {
- this.id = value;
- }
-
- /**
- * Gets the value of the name property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getName() {
- return name;
- }
-
- /**
- * Sets the value of the name property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setName(String value) {
- this.name = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_Control">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="controlPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ControlPr" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="shapeId" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
+ * <attribute ref="{http://schemas.openxmlformats.org/officeDocument/2006/relationships}id use="required""/>
+ * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_Control", propOrder = {
+ "controlPr"
+})
+public class CTControl implements Child
+{
+
+ protected CTControlPr controlPr;
+ @XmlAttribute(name = "shapeId", required = true)
+ @XmlSchemaType(name = "unsignedInt")
+ protected long shapeId;
+ @XmlAttribute(name = "id", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/relationships", required = true)
+ protected String id;
+ @XmlAttribute(name = "name")
+ protected String name;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the controlPr property.
+ *
+ * @return
+ * possible object is
+ * {@link CTControlPr }
+ *
+ */
+ public CTControlPr getControlPr() {
+ return controlPr;
+ }
+
+ /**
+ * Sets the value of the controlPr property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTControlPr }
+ *
+ */
+ public void setControlPr(CTControlPr value) {
+ this.controlPr = value;
+ }
+
+ /**
+ * Gets the value of the shapeId property.
+ *
+ */
+ public long getShapeId() {
+ return shapeId;
+ }
+
+ /**
+ * Sets the value of the shapeId property.
+ *
+ */
+ public void setShapeId(long value) {
+ this.shapeId = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTControlPr.java b/src/xlsx4j/java/org/xlsx4j/sml/CTControlPr.java
new file mode 100644
index 0000000000..ec6fb6b31e
--- /dev/null
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTControlPr.java
@@ -0,0 +1,540 @@
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_ControlPr">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="anchor" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ObjectAnchor"/>
+ * </sequence>
+ * <attribute name="locked" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * <attribute name="defaultSize" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * <attribute name="print" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * <attribute name="disabled" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="recalcAlways" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="uiObject" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="autoFill" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * <attribute name="autoLine" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * <attribute name="autoPict" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * <attribute name="macro" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Formula" />
+ * <attribute name="altText" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
+ * <attribute name="linkedCell" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Formula" />
+ * <attribute name="listFillRange" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Formula" />
+ * <attribute name="cf" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" default="pict" />
+ * <attribute ref="{http://schemas.openxmlformats.org/officeDocument/2006/relationships}id"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_ControlPr", propOrder = {
+ "anchor"
+})
+public class CTControlPr implements Child
+{
+
+ @XmlElement(required = true)
+ protected CTObjectAnchor anchor;
+ @XmlAttribute(name = "locked")
+ protected Boolean locked;
+ @XmlAttribute(name = "defaultSize")
+ protected Boolean defaultSize;
+ @XmlAttribute(name = "print")
+ protected Boolean print;
+ @XmlAttribute(name = "disabled")
+ protected Boolean disabled;
+ @XmlAttribute(name = "recalcAlways")
+ protected Boolean recalcAlways;
+ @XmlAttribute(name = "uiObject")
+ protected Boolean uiObject;
+ @XmlAttribute(name = "autoFill")
+ protected Boolean autoFill;
+ @XmlAttribute(name = "autoLine")
+ protected Boolean autoLine;
+ @XmlAttribute(name = "autoPict")
+ protected Boolean autoPict;
+ @XmlAttribute(name = "macro")
+ protected String macro;
+ @XmlAttribute(name = "altText")
+ protected String altText;
+ @XmlAttribute(name = "linkedCell")
+ protected String linkedCell;
+ @XmlAttribute(name = "listFillRange")
+ protected String listFillRange;
+ @XmlAttribute(name = "cf")
+ protected String cf;
+ @XmlAttribute(name = "id", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/relationships")
+ protected String id;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the anchor property.
+ *
+ * @return
+ * possible object is
+ * {@link CTObjectAnchor }
+ *
+ */
+ public CTObjectAnchor getAnchor() {
+ return anchor;
+ }
+
+ /**
+ * Sets the value of the anchor property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTObjectAnchor }
+ *
+ */
+ public void setAnchor(CTObjectAnchor value) {
+ this.anchor = value;
+ }
+
+ /**
+ * Gets the value of the locked property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isLocked() {
+ if (locked == null) {
+ return true;
+ } else {
+ return locked;
+ }
+ }
+
+ /**
+ * Sets the value of the locked property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setLocked(Boolean value) {
+ this.locked = value;
+ }
+
+ /**
+ * Gets the value of the defaultSize property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isDefaultSize() {
+ if (defaultSize == null) {
+ return true;
+ } else {
+ return defaultSize;
+ }
+ }
+
+ /**
+ * Sets the value of the defaultSize property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setDefaultSize(Boolean value) {
+ this.defaultSize = value;
+ }
+
+ /**
+ * Gets the value of the print property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isPrint() {
+ if (print == null) {
+ return true;
+ } else {
+ return print;
+ }
+ }
+
+ /**
+ * Sets the value of the print property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setPrint(Boolean value) {
+ this.print = value;
+ }
+
+ /**
+ * Gets the value of the disabled property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isDisabled() {
+ if (disabled == null) {
+ return false;
+ } else {
+ return disabled;
+ }
+ }
+
+ /**
+ * Sets the value of the disabled property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setDisabled(Boolean value) {
+ this.disabled = value;
+ }
+
+ /**
+ * Gets the value of the recalcAlways property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isRecalcAlways() {
+ if (recalcAlways == null) {
+ return false;
+ } else {
+ return recalcAlways;
+ }
+ }
+
+ /**
+ * Sets the value of the recalcAlways property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setRecalcAlways(Boolean value) {
+ this.recalcAlways = value;
+ }
+
+ /**
+ * Gets the value of the uiObject property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isUiObject() {
+ if (uiObject == null) {
+ return false;
+ } else {
+ return uiObject;
+ }
+ }
+
+ /**
+ * Sets the value of the uiObject property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setUiObject(Boolean value) {
+ this.uiObject = value;
+ }
+
+ /**
+ * Gets the value of the autoFill property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isAutoFill() {
+ if (autoFill == null) {
+ return true;
+ } else {
+ return autoFill;
+ }
+ }
+
+ /**
+ * Sets the value of the autoFill property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setAutoFill(Boolean value) {
+ this.autoFill = value;
+ }
+
+ /**
+ * Gets the value of the autoLine property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isAutoLine() {
+ if (autoLine == null) {
+ return true;
+ } else {
+ return autoLine;
+ }
+ }
+
+ /**
+ * Sets the value of the autoLine property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setAutoLine(Boolean value) {
+ this.autoLine = value;
+ }
+
+ /**
+ * Gets the value of the autoPict property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isAutoPict() {
+ if (autoPict == null) {
+ return true;
+ } else {
+ return autoPict;
+ }
+ }
+
+ /**
+ * Sets the value of the autoPict property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setAutoPict(Boolean value) {
+ this.autoPict = value;
+ }
+
+ /**
+ * Gets the value of the macro property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMacro() {
+ return macro;
+ }
+
+ /**
+ * Sets the value of the macro property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMacro(String value) {
+ this.macro = value;
+ }
+
+ /**
+ * Gets the value of the altText property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAltText() {
+ return altText;
+ }
+
+ /**
+ * Sets the value of the altText property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAltText(String value) {
+ this.altText = value;
+ }
+
+ /**
+ * Gets the value of the linkedCell property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLinkedCell() {
+ return linkedCell;
+ }
+
+ /**
+ * Sets the value of the linkedCell property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLinkedCell(String value) {
+ this.linkedCell = value;
+ }
+
+ /**
+ * Gets the value of the listFillRange property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getListFillRange() {
+ return listFillRange;
+ }
+
+ /**
+ * Sets the value of the listFillRange property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setListFillRange(String value) {
+ this.listFillRange = value;
+ }
+
+ /**
+ * Gets the value of the cf property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getCf() {
+ if (cf == null) {
+ return "pict";
+ } else {
+ return cf;
+ }
+ }
+
+ /**
+ * Sets the value of the cf property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setCf(String value) {
+ this.cf = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTControls.java b/src/xlsx4j/java/org/xlsx4j/sml/CTControls.java
index e7d33d5873..ae46d6d7c8 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTControls.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTControls.java
@@ -1,89 +1,101 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import java.util.ArrayList;
-import java.util.List;
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_Controls">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="control" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Control" maxOccurs="unbounded"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_Controls", propOrder = {
- "control"
-})
-public class CTControls {
-
- @XmlElement(required = true)
- protected Listset
method for the control property.
- *
- *
- * getControl().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_Controls">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="control" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Control" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_Controls", propOrder = {
+ "control"
+})
+public class CTControls implements Child
+{
+
+ @XmlElement(required = true)
+ protected Listset
method for the control property.
+ *
+ *
+ * getControl().add(newItem);
+ *
+ *
+ *
+ *
- * <complexType name="CT_CsPageSetup">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <attribute name="paperSize" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="1" />
- * <attribute name="firstPageNumber" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="1" />
- * <attribute name="orientation" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Orientation" default="default" />
- * <attribute name="usePrinterDefaults" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
- * <attribute name="blackAndWhite" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="draft" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="useFirstPageNumber" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * <attribute name="horizontalDpi" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="600" />
- * <attribute name="verticalDpi" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="600" />
- * <attribute name="copies" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="1" />
- * <attribute ref="{http://schemas.openxmlformats.org/officeDocument/2006/relationships}id"/>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CsPageSetup")
-public class CTCsPageSetup {
-
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long paperSize;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long firstPageNumber;
- @XmlAttribute
- protected STOrientation orientation;
- @XmlAttribute
- protected Boolean usePrinterDefaults;
- @XmlAttribute
- protected Boolean blackAndWhite;
- @XmlAttribute
- protected Boolean draft;
- @XmlAttribute
- protected Boolean useFirstPageNumber;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long horizontalDpi;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long verticalDpi;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long copies;
- @XmlAttribute(namespace = "http://schemas.openxmlformats.org/officeDocument/2006/relationships")
- protected String id;
-
- /**
- * Gets the value of the paperSize property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public long getPaperSize() {
- if (paperSize == null) {
- return 1L;
- } else {
- return paperSize;
- }
- }
-
- /**
- * Sets the value of the paperSize property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setPaperSize(Long value) {
- this.paperSize = value;
- }
-
- /**
- * Gets the value of the firstPageNumber property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public long getFirstPageNumber() {
- if (firstPageNumber == null) {
- return 1L;
- } else {
- return firstPageNumber;
- }
- }
-
- /**
- * Sets the value of the firstPageNumber property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setFirstPageNumber(Long value) {
- this.firstPageNumber = value;
- }
-
- /**
- * Gets the value of the orientation property.
- *
- * @return
- * possible object is
- * {@link STOrientation }
- *
- */
- public STOrientation getOrientation() {
- if (orientation == null) {
- return STOrientation.DEFAULT;
- } else {
- return orientation;
- }
- }
-
- /**
- * Sets the value of the orientation property.
- *
- * @param value
- * allowed object is
- * {@link STOrientation }
- *
- */
- public void setOrientation(STOrientation value) {
- this.orientation = value;
- }
-
- /**
- * Gets the value of the usePrinterDefaults property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isUsePrinterDefaults() {
- if (usePrinterDefaults == null) {
- return true;
- } else {
- return usePrinterDefaults;
- }
- }
-
- /**
- * Sets the value of the usePrinterDefaults property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setUsePrinterDefaults(Boolean value) {
- this.usePrinterDefaults = value;
- }
-
- /**
- * Gets the value of the blackAndWhite property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isBlackAndWhite() {
- if (blackAndWhite == null) {
- return false;
- } else {
- return blackAndWhite;
- }
- }
-
- /**
- * Sets the value of the blackAndWhite property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setBlackAndWhite(Boolean value) {
- this.blackAndWhite = value;
- }
-
- /**
- * Gets the value of the draft property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isDraft() {
- if (draft == null) {
- return false;
- } else {
- return draft;
- }
- }
-
- /**
- * Sets the value of the draft property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setDraft(Boolean value) {
- this.draft = value;
- }
-
- /**
- * Gets the value of the useFirstPageNumber property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isUseFirstPageNumber() {
- if (useFirstPageNumber == null) {
- return false;
- } else {
- return useFirstPageNumber;
- }
- }
-
- /**
- * Sets the value of the useFirstPageNumber property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setUseFirstPageNumber(Boolean value) {
- this.useFirstPageNumber = value;
- }
-
- /**
- * Gets the value of the horizontalDpi property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public long getHorizontalDpi() {
- if (horizontalDpi == null) {
- return 600L;
- } else {
- return horizontalDpi;
- }
- }
-
- /**
- * Sets the value of the horizontalDpi property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setHorizontalDpi(Long value) {
- this.horizontalDpi = value;
- }
-
- /**
- * Gets the value of the verticalDpi property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public long getVerticalDpi() {
- if (verticalDpi == null) {
- return 600L;
- } else {
- return verticalDpi;
- }
- }
-
- /**
- * Sets the value of the verticalDpi property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setVerticalDpi(Long value) {
- this.verticalDpi = value;
- }
-
- /**
- * Gets the value of the copies property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public long getCopies() {
- if (copies == null) {
- return 1L;
- } else {
- return copies;
- }
- }
-
- /**
- * Sets the value of the copies property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setCopies(Long value) {
- this.copies = value;
- }
-
- /**
- * Id
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getId() {
- return id;
- }
-
- /**
- * Sets the value of the id property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setId(String value) {
- this.id = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_CsPageSetup">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="paperSize" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="1" />
+ * <attribute name="paperHeight" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_PositiveUniversalMeasure" />
+ * <attribute name="paperWidth" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_PositiveUniversalMeasure" />
+ * <attribute name="firstPageNumber" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="1" />
+ * <attribute name="orientation" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Orientation" default="default" />
+ * <attribute name="usePrinterDefaults" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * <attribute name="blackAndWhite" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="draft" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="useFirstPageNumber" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="horizontalDpi" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="600" />
+ * <attribute name="verticalDpi" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="600" />
+ * <attribute name="copies" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="1" />
+ * <attribute ref="{http://schemas.openxmlformats.org/officeDocument/2006/relationships}id"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CsPageSetup")
+public class CTCsPageSetup implements Child
+{
+
+ @XmlAttribute(name = "paperSize")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long paperSize;
+ @XmlAttribute(name = "paperHeight")
+ protected String paperHeight;
+ @XmlAttribute(name = "paperWidth")
+ protected String paperWidth;
+ @XmlAttribute(name = "firstPageNumber")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long firstPageNumber;
+ @XmlAttribute(name = "orientation")
+ protected STOrientation orientation;
+ @XmlAttribute(name = "usePrinterDefaults")
+ protected Boolean usePrinterDefaults;
+ @XmlAttribute(name = "blackAndWhite")
+ protected Boolean blackAndWhite;
+ @XmlAttribute(name = "draft")
+ protected Boolean draft;
+ @XmlAttribute(name = "useFirstPageNumber")
+ protected Boolean useFirstPageNumber;
+ @XmlAttribute(name = "horizontalDpi")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long horizontalDpi;
+ @XmlAttribute(name = "verticalDpi")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long verticalDpi;
+ @XmlAttribute(name = "copies")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long copies;
+ @XmlAttribute(name = "id", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/relationships")
+ protected String id;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the paperSize property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public long getPaperSize() {
+ if (paperSize == null) {
+ return 1L;
+ } else {
+ return paperSize;
+ }
+ }
+
+ /**
+ * Sets the value of the paperSize property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setPaperSize(Long value) {
+ this.paperSize = value;
+ }
+
+ /**
+ * Gets the value of the paperHeight property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPaperHeight() {
+ return paperHeight;
+ }
+
+ /**
+ * Sets the value of the paperHeight property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPaperHeight(String value) {
+ this.paperHeight = value;
+ }
+
+ /**
+ * Gets the value of the paperWidth property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPaperWidth() {
+ return paperWidth;
+ }
+
+ /**
+ * Sets the value of the paperWidth property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPaperWidth(String value) {
+ this.paperWidth = value;
+ }
+
+ /**
+ * Gets the value of the firstPageNumber property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public long getFirstPageNumber() {
+ if (firstPageNumber == null) {
+ return 1L;
+ } else {
+ return firstPageNumber;
+ }
+ }
+
+ /**
+ * Sets the value of the firstPageNumber property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setFirstPageNumber(Long value) {
+ this.firstPageNumber = value;
+ }
+
+ /**
+ * Gets the value of the orientation property.
+ *
+ * @return
+ * possible object is
+ * {@link STOrientation }
+ *
+ */
+ public STOrientation getOrientation() {
+ if (orientation == null) {
+ return STOrientation.DEFAULT;
+ } else {
+ return orientation;
+ }
+ }
+
+ /**
+ * Sets the value of the orientation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link STOrientation }
+ *
+ */
+ public void setOrientation(STOrientation value) {
+ this.orientation = value;
+ }
+
+ /**
+ * Gets the value of the usePrinterDefaults property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isUsePrinterDefaults() {
+ if (usePrinterDefaults == null) {
+ return true;
+ } else {
+ return usePrinterDefaults;
+ }
+ }
+
+ /**
+ * Sets the value of the usePrinterDefaults property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setUsePrinterDefaults(Boolean value) {
+ this.usePrinterDefaults = value;
+ }
+
+ /**
+ * Gets the value of the blackAndWhite property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isBlackAndWhite() {
+ if (blackAndWhite == null) {
+ return false;
+ } else {
+ return blackAndWhite;
+ }
+ }
+
+ /**
+ * Sets the value of the blackAndWhite property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setBlackAndWhite(Boolean value) {
+ this.blackAndWhite = value;
+ }
+
+ /**
+ * Gets the value of the draft property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isDraft() {
+ if (draft == null) {
+ return false;
+ } else {
+ return draft;
+ }
+ }
+
+ /**
+ * Sets the value of the draft property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setDraft(Boolean value) {
+ this.draft = value;
+ }
+
+ /**
+ * Gets the value of the useFirstPageNumber property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isUseFirstPageNumber() {
+ if (useFirstPageNumber == null) {
+ return false;
+ } else {
+ return useFirstPageNumber;
+ }
+ }
+
+ /**
+ * Sets the value of the useFirstPageNumber property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setUseFirstPageNumber(Boolean value) {
+ this.useFirstPageNumber = value;
+ }
+
+ /**
+ * Gets the value of the horizontalDpi property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public long getHorizontalDpi() {
+ if (horizontalDpi == null) {
+ return 600L;
+ } else {
+ return horizontalDpi;
+ }
+ }
+
+ /**
+ * Sets the value of the horizontalDpi property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setHorizontalDpi(Long value) {
+ this.horizontalDpi = value;
+ }
+
+ /**
+ * Gets the value of the verticalDpi property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public long getVerticalDpi() {
+ if (verticalDpi == null) {
+ return 600L;
+ } else {
+ return verticalDpi;
+ }
+ }
+
+ /**
+ * Sets the value of the verticalDpi property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setVerticalDpi(Long value) {
+ this.verticalDpi = value;
+ }
+
+ /**
+ * Gets the value of the copies property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public long getCopies() {
+ if (copies == null) {
+ return 1L;
+ } else {
+ return copies;
+ }
+ }
+
+ /**
+ * Sets the value of the copies property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setCopies(Long value) {
+ this.copies = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTCustomChartsheetView.java b/src/xlsx4j/java/org/xlsx4j/sml/CTCustomChartsheetView.java
index 93135c11c5..b75539bc02 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTCustomChartsheetView.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTCustomChartsheetView.java
@@ -1,260 +1,272 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlSchemaType;
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
-import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
-
-
-/**
- *
- * <complexType name="CT_CustomChartsheetView">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <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"/>
- * </sequence>
- * <attribute name="guid" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Guid" />
- * <attribute name="scale" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="100" />
- * <attribute name="state" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_SheetState" default="visible" />
- * <attribute name="zoomToFit" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CustomChartsheetView", propOrder = {
- "pageMargins",
- "pageSetup",
- "headerFooter"
-})
-public class CTCustomChartsheetView {
-
- protected CTPageMargins pageMargins;
- protected CTCsPageSetup pageSetup;
- protected CTHeaderFooter headerFooter;
- @XmlAttribute(required = true)
- @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
- protected String guid;
- @XmlAttribute
- @XmlSchemaType(name = "unsignedInt")
- protected Long scale;
- @XmlAttribute
- protected STSheetState state;
- @XmlAttribute
- protected Boolean zoomToFit;
-
- /**
- * Gets the value of the pageMargins property.
- *
- * @return
- * possible object is
- * {@link CTPageMargins }
- *
- */
- public CTPageMargins getPageMargins() {
- return pageMargins;
- }
-
- /**
- * Sets the value of the pageMargins property.
- *
- * @param value
- * allowed object is
- * {@link CTPageMargins }
- *
- */
- public void setPageMargins(CTPageMargins value) {
- this.pageMargins = value;
- }
-
- /**
- * Gets the value of the pageSetup property.
- *
- * @return
- * possible object is
- * {@link CTCsPageSetup }
- *
- */
- public CTCsPageSetup getPageSetup() {
- return pageSetup;
- }
-
- /**
- * Sets the value of the pageSetup property.
- *
- * @param value
- * allowed object is
- * {@link CTCsPageSetup }
- *
- */
- public void setPageSetup(CTCsPageSetup value) {
- this.pageSetup = value;
- }
-
- /**
- * Gets the value of the headerFooter property.
- *
- * @return
- * possible object is
- * {@link CTHeaderFooter }
- *
- */
- public CTHeaderFooter getHeaderFooter() {
- return headerFooter;
- }
-
- /**
- * Sets the value of the headerFooter property.
- *
- * @param value
- * allowed object is
- * {@link CTHeaderFooter }
- *
- */
- public void setHeaderFooter(CTHeaderFooter value) {
- this.headerFooter = value;
- }
-
- /**
- * Gets the value of the guid property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getGuid() {
- return guid;
- }
-
- /**
- * Sets the value of the guid property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setGuid(String value) {
- this.guid = value;
- }
-
- /**
- * Gets the value of the scale property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public long getScale() {
- if (scale == null) {
- return 100L;
- } else {
- return scale;
- }
- }
-
- /**
- * Sets the value of the scale property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setScale(Long value) {
- this.scale = value;
- }
-
- /**
- * Gets the value of the state property.
- *
- * @return
- * possible object is
- * {@link STSheetState }
- *
- */
- public STSheetState getState() {
- if (state == null) {
- return STSheetState.VISIBLE;
- } else {
- return state;
- }
- }
-
- /**
- * Sets the value of the state property.
- *
- * @param value
- * allowed object is
- * {@link STSheetState }
- *
- */
- public void setState(STSheetState value) {
- this.state = value;
- }
-
- /**
- * Gets the value of the zoomToFit property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isZoomToFit() {
- if (zoomToFit == null) {
- return false;
- } else {
- return zoomToFit;
- }
- }
-
- /**
- * Sets the value of the zoomToFit property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setZoomToFit(Boolean value) {
- this.zoomToFit = value;
- }
-
-}
+
+package org.xlsx4j.sml;
+
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import org.jvnet.jaxb2_commons.ppp.Child;
+
+
+/**
+ *
+ * <complexType name="CT_CustomChartsheetView">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <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"/>
+ * </sequence>
+ * <attribute name="guid" use="required" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Guid" />
+ * <attribute name="scale" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="100" />
+ * <attribute name="state" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_SheetState" default="visible" />
+ * <attribute name="zoomToFit" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CustomChartsheetView", propOrder = {
+ "pageMargins",
+ "pageSetup",
+ "headerFooter"
+})
+public class CTCustomChartsheetView implements Child
+{
+
+ protected CTPageMargins pageMargins;
+ protected CTCsPageSetup pageSetup;
+ protected CTHeaderFooter headerFooter;
+ @XmlAttribute(name = "guid", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String guid;
+ @XmlAttribute(name = "scale")
+ @XmlSchemaType(name = "unsignedInt")
+ protected Long scale;
+ @XmlAttribute(name = "state")
+ protected STSheetState state;
+ @XmlAttribute(name = "zoomToFit")
+ protected Boolean zoomToFit;
+ @XmlTransient
+ private Object parent;
+
+ /**
+ * Gets the value of the pageMargins property.
+ *
+ * @return
+ * possible object is
+ * {@link CTPageMargins }
+ *
+ */
+ public CTPageMargins getPageMargins() {
+ return pageMargins;
+ }
+
+ /**
+ * Sets the value of the pageMargins property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTPageMargins }
+ *
+ */
+ public void setPageMargins(CTPageMargins value) {
+ this.pageMargins = value;
+ }
+
+ /**
+ * Gets the value of the pageSetup property.
+ *
+ * @return
+ * possible object is
+ * {@link CTCsPageSetup }
+ *
+ */
+ public CTCsPageSetup getPageSetup() {
+ return pageSetup;
+ }
+
+ /**
+ * Sets the value of the pageSetup property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTCsPageSetup }
+ *
+ */
+ public void setPageSetup(CTCsPageSetup value) {
+ this.pageSetup = value;
+ }
+
+ /**
+ * Gets the value of the headerFooter property.
+ *
+ * @return
+ * possible object is
+ * {@link CTHeaderFooter }
+ *
+ */
+ public CTHeaderFooter getHeaderFooter() {
+ return headerFooter;
+ }
+
+ /**
+ * Sets the value of the headerFooter property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CTHeaderFooter }
+ *
+ */
+ public void setHeaderFooter(CTHeaderFooter value) {
+ this.headerFooter = value;
+ }
+
+ /**
+ * Gets the value of the guid property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getGuid() {
+ return guid;
+ }
+
+ /**
+ * Sets the value of the guid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setGuid(String value) {
+ this.guid = value;
+ }
+
+ /**
+ * Gets the value of the scale property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public long getScale() {
+ if (scale == null) {
+ return 100L;
+ } else {
+ return scale;
+ }
+ }
+
+ /**
+ * Sets the value of the scale property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setScale(Long value) {
+ this.scale = value;
+ }
+
+ /**
+ * Gets the value of the state property.
+ *
+ * @return
+ * possible object is
+ * {@link STSheetState }
+ *
+ */
+ public STSheetState getState() {
+ if (state == null) {
+ return STSheetState.VISIBLE;
+ } else {
+ return state;
+ }
+ }
+
+ /**
+ * Sets the value of the state property.
+ *
+ * @param value
+ * allowed object is
+ * {@link STSheetState }
+ *
+ */
+ public void setState(STSheetState value) {
+ this.state = value;
+ }
+
+ /**
+ * Gets the value of the zoomToFit property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isZoomToFit() {
+ if (zoomToFit == null) {
+ return false;
+ } else {
+ return zoomToFit;
+ }
+ }
+
+ /**
+ * Sets the value of the zoomToFit property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setZoomToFit(Boolean value) {
+ this.zoomToFit = value;
+ }
+
+ /**
+ * Gets the parent object in the object tree representing the unmarshalled xml document.
+ *
+ * @return
+ * The parent object.
+ */
+ public Object getParent() {
+ return this.parent;
+ }
+
+ public void setParent(Object parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
+ *
+ * @param parent
+ * The parent object in the object tree.
+ * @param unmarshaller
+ * The unmarshaller that generated the instance.
+ */
+ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
+ setParent(parent);
+ }
+
+}
diff --git a/src/xlsx4j/java/org/xlsx4j/sml/CTCustomChartsheetViews.java b/src/xlsx4j/java/org/xlsx4j/sml/CTCustomChartsheetViews.java
index 4223027057..20d9d48289 100644
--- a/src/xlsx4j/java/org/xlsx4j/sml/CTCustomChartsheetViews.java
+++ b/src/xlsx4j/java/org/xlsx4j/sml/CTCustomChartsheetViews.java
@@ -1,87 +1,99 @@
-/*
- * Copyright 2010, Plutext Pty Ltd.
- *
- * This file is part 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;
-
-import java.util.ArrayList;
-import java.util.List;
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- *
- * <complexType name="CT_CustomChartsheetViews">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="customSheetView" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CustomChartsheetView" maxOccurs="unbounded" minOccurs="0"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CT_CustomChartsheetViews", propOrder = {
- "customSheetView"
-})
-public class CTCustomChartsheetViews {
-
- protected Listset
method for the customSheetView property.
- *
- *
- * getCustomSheetView().add(newItem);
- *
- *
- *
- *
+ * <complexType name="CT_CustomChartsheetViews">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="customSheetView" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CustomChartsheetView" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CT_CustomChartsheetViews", propOrder = {
+ "customSheetView"
+})
+public class CTCustomChartsheetViews implements Child
+{
+
+ protected Listset
method for the customSheetView property.
+ *
+ *
+ * getCustomSheetView().add(newItem);
+ *
+ *
+ *
+ *