Skip to content

Commit

Permalink
@XmlRootElement (reinstate in dml cases)
Browse files Browse the repository at this point in the history
  • Loading branch information
plutext committed May 20, 2019
1 parent 11b4cff commit 177c165
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
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.docx4j.dml.CTNonVisualDrawingProps;
Expand Down Expand Up @@ -79,6 +80,7 @@
"txBody",
"extLst"
})
@XmlRootElement(name="sp")
public class Shape implements Child
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
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.docx4j.dml.CTColorMapping;
Expand Down Expand Up @@ -82,9 +83,9 @@
"userShapes",
"extLst"
})
@XmlRootElement(name = "chartSpace")
public class CTChartSpace implements Child
{

protected CTBoolean date1904;
protected CTTextLanguageID lang;
protected CTBoolean roundedCorners;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
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.docx4j.dml.CTShapeProperties;
Expand Down Expand Up @@ -34,6 +35,7 @@
@XmlType(name = "CT_InvertSolidFillFmt", propOrder = {
"spPr"
})
@XmlRootElement(name = "invertSolidFillFmt")
public class CTInvertSolidFillFmt implements Child
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import javax.xml.bind.annotation.XmlType;
import org.docx4j.dml.CTOfficeArtExtensionList;
Expand Down Expand Up @@ -66,6 +67,7 @@
"styleLbl",
"extLst"
})
@XmlRootElement(name="colorsDef")
public class CTColorTransform implements Child
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
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.docx4j.dml.CTBackgroundFormatting;
Expand Down Expand Up @@ -64,6 +65,7 @@
"whole",
"extLst"
})
@XmlRootElement(name = "dataModel")
public class CTDataModel implements Child
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
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.docx4j.dml.CTOfficeArtExtensionList;
Expand Down Expand Up @@ -74,6 +75,7 @@
"layoutNode",
"extLst"
})
@XmlRootElement(name = "layoutDef")
public class CTDiagramDefinition implements Child
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
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.docx4j.dml.CTOfficeArtExtensionList;
Expand Down Expand Up @@ -67,6 +68,7 @@
"catLst",
"extLst"
})
@XmlRootElement(name = "layoutDefHdr")
public class CTDiagramDefinitionHeader implements Child
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
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.docx4j.dml.CTOfficeArtExtensionList;
Expand Down Expand Up @@ -70,6 +71,7 @@
"styleLbl",
"extLst"
})
@XmlRootElement(name="styleDef")
public class CTStyleDefinition implements Child
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
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;
Expand Down Expand Up @@ -33,6 +34,7 @@
@XmlType(name = "CT_Drawing", propOrder = {
"spTree"
})
@XmlRootElement(name = "drawing")
public class CTDrawing implements Child
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
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.docx4j.dml.CTBlipFillProperties;
Expand Down Expand Up @@ -59,6 +60,7 @@
"blipFill",
"spPr"
})
@XmlRootElement(name = "pic")
public class Pic implements Child
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
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;
Expand Down Expand Up @@ -56,6 +57,7 @@
@XmlType(name = "CT_Drawing", propOrder = {
"egAnchor"
})
@XmlRootElement(name = "wsDr")
public class CTDrawing implements Child
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlTransient;
import javax.xml.bind.annotation.XmlType;
Expand Down Expand Up @@ -47,6 +48,7 @@
@XmlType(name = "ink.type", propOrder = {
"definitionsOrContextOrTrace"
})
@XmlRootElement(name = "ink")
public class InkType implements Child
{

Expand Down

0 comments on commit 177c165

Please sign in to comment.