org.docx4j.dml.CTGroupTransform2D Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docx4j Show documentation
Show all versions of docx4j Show documentation
docx4j is a library which helps you to work with the Office Open
XML file format as used in docx
documents, pptx presentations, and xlsx spreadsheets.
/*
* Copyright 2007-2008, 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.docx4j.dml;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for CT_GroupTransform2D complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CT_GroupTransform2D">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="off" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Point2D" minOccurs="0"/>
* <element name="ext" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_PositiveSize2D" minOccurs="0"/>
* <element name="chOff" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Point2D" minOccurs="0"/>
* <element name="chExt" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_PositiveSize2D" minOccurs="0"/>
* </sequence>
* <attribute name="rot" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Angle" default="0" />
* <attribute name="flipH" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="flipV" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CT_GroupTransform2D", propOrder = {
"off",
"ext",
"chOff",
"chExt"
})
public class CTGroupTransform2D {
protected CTPoint2D off;
protected CTPositiveSize2D ext;
protected CTPoint2D chOff;
protected CTPositiveSize2D chExt;
@XmlAttribute
protected Integer rot;
@XmlAttribute
protected Boolean flipH;
@XmlAttribute
protected Boolean flipV;
/**
* Gets the value of the off property.
*
* @return
* possible object is
* {@link CTPoint2D }
*
*/
public CTPoint2D getOff() {
return off;
}
/**
* Sets the value of the off property.
*
* @param value
* allowed object is
* {@link CTPoint2D }
*
*/
public void setOff(CTPoint2D value) {
this.off = value;
}
/**
* Gets the value of the ext property.
*
* @return
* possible object is
* {@link CTPositiveSize2D }
*
*/
public CTPositiveSize2D getExt() {
return ext;
}
/**
* Sets the value of the ext property.
*
* @param value
* allowed object is
* {@link CTPositiveSize2D }
*
*/
public void setExt(CTPositiveSize2D value) {
this.ext = value;
}
/**
* Gets the value of the chOff property.
*
* @return
* possible object is
* {@link CTPoint2D }
*
*/
public CTPoint2D getChOff() {
return chOff;
}
/**
* Sets the value of the chOff property.
*
* @param value
* allowed object is
* {@link CTPoint2D }
*
*/
public void setChOff(CTPoint2D value) {
this.chOff = value;
}
/**
* Gets the value of the chExt property.
*
* @return
* possible object is
* {@link CTPositiveSize2D }
*
*/
public CTPositiveSize2D getChExt() {
return chExt;
}
/**
* Sets the value of the chExt property.
*
* @param value
* allowed object is
* {@link CTPositiveSize2D }
*
*/
public void setChExt(CTPositiveSize2D value) {
this.chExt = value;
}
/**
* Gets the value of the rot property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public int getRot() {
if (rot == null) {
return 0;
} else {
return rot;
}
}
/**
* Sets the value of the rot property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setRot(Integer value) {
this.rot = value;
}
/**
* Gets the value of the flipH property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isFlipH() {
if (flipH == null) {
return false;
} else {
return flipH;
}
}
/**
* Sets the value of the flipH property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setFlipH(Boolean value) {
this.flipH = value;
}
/**
* Gets the value of the flipV property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isFlipV() {
if (flipV == null) {
return false;
} else {
return flipV;
}
}
/**
* Sets the value of the flipV property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setFlipV(Boolean value) {
this.flipV = value;
}
}