All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.docx4j.dml.CTGroupTransform2D Maven / Gradle / Ivy

There is a newer version: 11.5.0
Show newest version
/*
 *  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.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;


/**
 * 

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 implements Child { protected CTPoint2D off; protected CTPositiveSize2D ext; protected CTPoint2D chOff; protected CTPositiveSize2D chExt; @XmlAttribute(name = "rot") protected Integer rot; @XmlAttribute(name = "flipH") protected Boolean flipH; @XmlAttribute(name = "flipV") protected Boolean flipV; @XmlTransient private Object parent; /** * 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; } /** * 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); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy