forked from plutext/docx4j
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
2,011 additions
and
1 deletion.
There are no files selected for viewing
242 changes: 242 additions & 0 deletions
242
...rg/docx4j/com/microsoft/schemas/office/webextensions/taskpanes_2010_11/CTOsfTaskpane.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,242 @@ | ||
|
||
package org.docx4j.com.microsoft.schemas.office.webextensions.taskpanes_2010_11; | ||
|
||
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.docx4j.com.microsoft.schemas.office.webextensions.webextension_2010_11.CTWebExtensionPartRef; | ||
import org.docx4j.dml.CTOfficeArtExtensionList; | ||
import org.jvnet.jaxb2_commons.ppp.Child; | ||
|
||
|
||
/** | ||
* <p>Java class for CT_OsfTaskpane complex type. | ||
* | ||
* <p>The following schema fragment specifies the expected content contained within this class. | ||
* | ||
* <pre> | ||
* <complexType name="CT_OsfTaskpane"> | ||
* <complexContent> | ||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | ||
* <sequence> | ||
* <element name="webextensionref" type="{http://schemas.microsoft.com/office/webextensions/webextension/2010/11}CT_WebExtensionPartRef"/> | ||
* <element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/> | ||
* </sequence> | ||
* <attribute name="dockstate" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> | ||
* <attribute name="visibility" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /> | ||
* <attribute name="width" use="required" type="{http://www.w3.org/2001/XMLSchema}double" /> | ||
* <attribute name="row" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" /> | ||
* <attribute name="locked" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> | ||
* </restriction> | ||
* </complexContent> | ||
* </complexType> | ||
* </pre> | ||
* | ||
* | ||
*/ | ||
@XmlAccessorType(XmlAccessType.FIELD) | ||
@XmlType(name = "CT_OsfTaskpane", propOrder = { | ||
"webextensionref", | ||
"extLst" | ||
}) | ||
public class CTOsfTaskpane implements Child | ||
{ | ||
|
||
@XmlElement(required = true) | ||
protected CTWebExtensionPartRef webextensionref; | ||
protected CTOfficeArtExtensionList extLst; | ||
@XmlAttribute(name = "dockstate", required = true) | ||
protected String dockstate; | ||
@XmlAttribute(name = "visibility", required = true) | ||
protected boolean visibility; | ||
@XmlAttribute(name = "width", required = true) | ||
protected double width; | ||
@XmlAttribute(name = "row", required = true) | ||
@XmlSchemaType(name = "unsignedInt") | ||
protected long row; | ||
@XmlAttribute(name = "locked") | ||
protected Boolean locked; | ||
@XmlTransient | ||
private Object parent; | ||
|
||
/** | ||
* Gets the value of the webextensionref property. | ||
* | ||
* @return | ||
* possible object is | ||
* {@link CTWebExtensionPartRef } | ||
* | ||
*/ | ||
public CTWebExtensionPartRef getWebextensionref() { | ||
return webextensionref; | ||
} | ||
|
||
/** | ||
* Sets the value of the webextensionref property. | ||
* | ||
* @param value | ||
* allowed object is | ||
* {@link CTWebExtensionPartRef } | ||
* | ||
*/ | ||
public void setWebextensionref(CTWebExtensionPartRef value) { | ||
this.webextensionref = value; | ||
} | ||
|
||
/** | ||
* Gets the value of the extLst property. | ||
* | ||
* @return | ||
* possible object is | ||
* {@link CTOfficeArtExtensionList } | ||
* | ||
*/ | ||
public CTOfficeArtExtensionList getExtLst() { | ||
return extLst; | ||
} | ||
|
||
/** | ||
* Sets the value of the extLst property. | ||
* | ||
* @param value | ||
* allowed object is | ||
* {@link CTOfficeArtExtensionList } | ||
* | ||
*/ | ||
public void setExtLst(CTOfficeArtExtensionList value) { | ||
this.extLst = value; | ||
} | ||
|
||
/** | ||
* Gets the value of the dockstate property. | ||
* | ||
* @return | ||
* possible object is | ||
* {@link String } | ||
* | ||
*/ | ||
public String getDockstate() { | ||
return dockstate; | ||
} | ||
|
||
/** | ||
* Sets the value of the dockstate property. | ||
* | ||
* @param value | ||
* allowed object is | ||
* {@link String } | ||
* | ||
*/ | ||
public void setDockstate(String value) { | ||
this.dockstate = value; | ||
} | ||
|
||
/** | ||
* Gets the value of the visibility property. | ||
* | ||
*/ | ||
public boolean isVisibility() { | ||
return visibility; | ||
} | ||
|
||
/** | ||
* Sets the value of the visibility property. | ||
* | ||
*/ | ||
public void setVisibility(boolean value) { | ||
this.visibility = value; | ||
} | ||
|
||
/** | ||
* Gets the value of the width property. | ||
* | ||
*/ | ||
public double getWidth() { | ||
return width; | ||
} | ||
|
||
/** | ||
* Sets the value of the width property. | ||
* | ||
*/ | ||
public void setWidth(double value) { | ||
this.width = value; | ||
} | ||
|
||
/** | ||
* Gets the value of the row property. | ||
* | ||
*/ | ||
public long getRow() { | ||
return row; | ||
} | ||
|
||
/** | ||
* Sets the value of the row property. | ||
* | ||
*/ | ||
public void setRow(long value) { | ||
this.row = value; | ||
} | ||
|
||
/** | ||
* Gets the value of the locked property. | ||
* | ||
* @return | ||
* possible object is | ||
* {@link Boolean } | ||
* | ||
*/ | ||
public boolean isLocked() { | ||
if (locked == null) { | ||
return false; | ||
} 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 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); | ||
} | ||
|
||
} |
101 changes: 101 additions & 0 deletions
101
...g/docx4j/com/microsoft/schemas/office/webextensions/taskpanes_2010_11/CTOsfTaskpanes.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
|
||
package org.docx4j.com.microsoft.schemas.office.webextensions.taskpanes_2010_11; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
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; | ||
|
||
|
||
/** | ||
* <p>Java class for CT_OsfTaskpanes complex type. | ||
* | ||
* <p>The following schema fragment specifies the expected content contained within this class. | ||
* | ||
* <pre> | ||
* <complexType name="CT_OsfTaskpanes"> | ||
* <complexContent> | ||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | ||
* <sequence> | ||
* <element name="taskpane" type="{http://schemas.microsoft.com/office/webextensions/taskpanes/2010/11}CT_OsfTaskpane" maxOccurs="unbounded" minOccurs="0"/> | ||
* </sequence> | ||
* </restriction> | ||
* </complexContent> | ||
* </complexType> | ||
* </pre> | ||
* | ||
* | ||
*/ | ||
@XmlAccessorType(XmlAccessType.FIELD) | ||
@XmlType(name = "CT_OsfTaskpanes", propOrder = { | ||
"taskpane" | ||
}) | ||
public class CTOsfTaskpanes implements Child | ||
{ | ||
|
||
protected List<CTOsfTaskpane> taskpane; | ||
@XmlTransient | ||
private Object parent; | ||
|
||
/** | ||
* Gets the value of the taskpane property. | ||
* | ||
* <p> | ||
* 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 <CODE>set</CODE> method for the taskpane property. | ||
* | ||
* <p> | ||
* For example, to add a new item, do as follows: | ||
* <pre> | ||
* getTaskpane().add(newItem); | ||
* </pre> | ||
* | ||
* | ||
* <p> | ||
* Objects of the following type(s) are allowed in the list | ||
* {@link CTOsfTaskpane } | ||
* | ||
* | ||
*/ | ||
public List<CTOsfTaskpane> getTaskpane() { | ||
if (taskpane == null) { | ||
taskpane = new ArrayList<CTOsfTaskpane>(); | ||
} | ||
return this.taskpane; | ||
} | ||
|
||
/** | ||
* 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); | ||
} | ||
|
||
} |
Oops, something went wrong.