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

org.apache.poi.sl.draw.binding.CTTransform2D Maven / Gradle / Ivy

There is a newer version: 5.2.5
Show newest version
/* ====================================================================
   Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
   this work for additional information regarding copyright ownership.
   The ASF licenses this file to You 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.apache.poi.sl.draw.binding;

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;


/**
 * 

Java class for CT_Transform2D complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="CT_Transform2D">
 *   <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"/>
 *       </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_Transform2D", namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", propOrder = { "off", "ext" }) public class CTTransform2D { @XmlElement(namespace = "http://schemas.openxmlformats.org/drawingml/2006/main") protected CTPoint2D off; @XmlElement(namespace = "http://schemas.openxmlformats.org/drawingml/2006/main") protected CTPositiveSize2D ext; @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; } public boolean isSetOff() { return (this.off!= null); } /** * 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; } public boolean isSetExt() { return (this.ext!= null); } /** * 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(int value) { this.rot = value; } public boolean isSetRot() { return (this.rot!= null); } public void unsetRot() { this.rot = null; } /** * 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; } public boolean isSetFlipH() { return (this.flipH!= null); } public void unsetFlipH() { this.flipH = null; } /** * 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; } public boolean isSetFlipV() { return (this.flipV!= null); } public void unsetFlipV() { this.flipV = null; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy