source: trunk/docx4j/src/main/java/org/docx4j/dml/CTNonVisualPictureProperties.java @ 1041

Revision 1041, 3.7 KB checked in by jharrop, 2 years ago (diff)

More complete DML, generated from TC45 1.0 final, using dmlROOT.xsd

Line 
1/*
2 *  Copyright 2007-2008, Plutext Pty Ltd.
3 *   
4 *  This file is part of docx4j.
5
6    docx4j is licensed under the Apache License, Version 2.0 (the "License");
7    you may not use this file except in compliance with the License.
8
9    You may obtain a copy of the License at
10
11        http://www.apache.org/licenses/LICENSE-2.0
12
13    Unless required by applicable law or agreed to in writing, software
14    distributed under the License is distributed on an "AS IS" BASIS,
15    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16    See the License for the specific language governing permissions and
17    limitations under the License.
18
19 */
20
21
22package org.docx4j.dml;
23
24import javax.xml.bind.annotation.XmlAccessType;
25import javax.xml.bind.annotation.XmlAccessorType;
26import javax.xml.bind.annotation.XmlAttribute;
27import javax.xml.bind.annotation.XmlType;
28
29
30/**
31 * <p>Java class for CT_NonVisualPictureProperties complex type.
32 *
33 * <p>The following schema fragment specifies the expected content contained within this class.
34 *
35 * <pre>
36 * &lt;complexType name="CT_NonVisualPictureProperties">
37 *   &lt;complexContent>
38 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
39 *       &lt;sequence>
40 *         &lt;element name="picLocks" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_PictureLocking" minOccurs="0"/>
41 *         &lt;element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
42 *       &lt;/sequence>
43 *       &lt;attribute name="preferRelativeResize" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
44 *     &lt;/restriction>
45 *   &lt;/complexContent>
46 * &lt;/complexType>
47 * </pre>
48 *
49 *
50 */
51@XmlAccessorType(XmlAccessType.FIELD)
52@XmlType(name = "CT_NonVisualPictureProperties", propOrder = {
53    "picLocks",
54    "extLst"
55})
56public class CTNonVisualPictureProperties {
57
58    protected CTPictureLocking picLocks;
59    protected CTOfficeArtExtensionList extLst;
60    @XmlAttribute
61    protected Boolean preferRelativeResize;
62
63    /**
64     * Gets the value of the picLocks property.
65     *
66     * @return
67     *     possible object is
68     *     {@link CTPictureLocking }
69     *     
70     */
71    public CTPictureLocking getPicLocks() {
72        return picLocks;
73    }
74
75    /**
76     * Sets the value of the picLocks property.
77     *
78     * @param value
79     *     allowed object is
80     *     {@link CTPictureLocking }
81     *     
82     */
83    public void setPicLocks(CTPictureLocking value) {
84        this.picLocks = value;
85    }
86
87    /**
88     * Gets the value of the extLst property.
89     *
90     * @return
91     *     possible object is
92     *     {@link CTOfficeArtExtensionList }
93     *     
94     */
95    public CTOfficeArtExtensionList getExtLst() {
96        return extLst;
97    }
98
99    /**
100     * Sets the value of the extLst property.
101     *
102     * @param value
103     *     allowed object is
104     *     {@link CTOfficeArtExtensionList }
105     *     
106     */
107    public void setExtLst(CTOfficeArtExtensionList value) {
108        this.extLst = value;
109    }
110
111    /**
112     * Gets the value of the preferRelativeResize property.
113     *
114     * @return
115     *     possible object is
116     *     {@link Boolean }
117     *     
118     */
119    public boolean isPreferRelativeResize() {
120        if (preferRelativeResize == null) {
121            return true;
122        } else {
123            return preferRelativeResize;
124        }
125    }
126
127    /**
128     * Sets the value of the preferRelativeResize property.
129     *
130     * @param value
131     *     allowed object is
132     *     {@link Boolean }
133     *     
134     */
135    public void setPreferRelativeResize(Boolean value) {
136        this.preferRelativeResize = value;
137    }
138
139}
Note: See TracBrowser for help on using the repository browser.