| 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 | |
|---|
| 22 | package org.docx4j.dml; |
|---|
| 23 | |
|---|
| 24 | import javax.xml.bind.annotation.XmlAccessType; |
|---|
| 25 | import javax.xml.bind.annotation.XmlAccessorType; |
|---|
| 26 | import javax.xml.bind.annotation.XmlAttribute; |
|---|
| 27 | import javax.xml.bind.annotation.XmlType; |
|---|
| 28 | import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; |
|---|
| 29 | import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
|---|
| 30 | |
|---|
| 31 | |
|---|
| 32 | /** |
|---|
| 33 | * <p>Java class for CT_GeomGuide complex type. |
|---|
| 34 | * |
|---|
| 35 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 36 | * |
|---|
| 37 | * <pre> |
|---|
| 38 | * <complexType name="CT_GeomGuide"> |
|---|
| 39 | * <complexContent> |
|---|
| 40 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 41 | * <attribute name="name" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_GeomGuideName" /> |
|---|
| 42 | * <attribute name="fmla" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_GeomGuideFormula" /> |
|---|
| 43 | * </restriction> |
|---|
| 44 | * </complexContent> |
|---|
| 45 | * </complexType> |
|---|
| 46 | * </pre> |
|---|
| 47 | * |
|---|
| 48 | * |
|---|
| 49 | */ |
|---|
| 50 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 51 | @XmlType(name = "CT_GeomGuide") |
|---|
| 52 | public class CTGeomGuide { |
|---|
| 53 | |
|---|
| 54 | @XmlAttribute(required = true) |
|---|
| 55 | @XmlJavaTypeAdapter(CollapsedStringAdapter.class) |
|---|
| 56 | protected String name; |
|---|
| 57 | @XmlAttribute(required = true) |
|---|
| 58 | protected String fmla; |
|---|
| 59 | |
|---|
| 60 | /** |
|---|
| 61 | * Gets the value of the name property. |
|---|
| 62 | * |
|---|
| 63 | * @return |
|---|
| 64 | * possible object is |
|---|
| 65 | * {@link String } |
|---|
| 66 | * |
|---|
| 67 | */ |
|---|
| 68 | public String getName() { |
|---|
| 69 | return name; |
|---|
| 70 | } |
|---|
| 71 | |
|---|
| 72 | /** |
|---|
| 73 | * Sets the value of the name property. |
|---|
| 74 | * |
|---|
| 75 | * @param value |
|---|
| 76 | * allowed object is |
|---|
| 77 | * {@link String } |
|---|
| 78 | * |
|---|
| 79 | */ |
|---|
| 80 | public void setName(String value) { |
|---|
| 81 | this.name = value; |
|---|
| 82 | } |
|---|
| 83 | |
|---|
| 84 | /** |
|---|
| 85 | * Gets the value of the fmla property. |
|---|
| 86 | * |
|---|
| 87 | * @return |
|---|
| 88 | * possible object is |
|---|
| 89 | * {@link String } |
|---|
| 90 | * |
|---|
| 91 | */ |
|---|
| 92 | public String getFmla() { |
|---|
| 93 | return fmla; |
|---|
| 94 | } |
|---|
| 95 | |
|---|
| 96 | /** |
|---|
| 97 | * Sets the value of the fmla property. |
|---|
| 98 | * |
|---|
| 99 | * @param value |
|---|
| 100 | * allowed object is |
|---|
| 101 | * {@link String } |
|---|
| 102 | * |
|---|
| 103 | */ |
|---|
| 104 | public void setFmla(String value) { |
|---|
| 105 | this.fmla = value; |
|---|
| 106 | } |
|---|
| 107 | |
|---|
| 108 | } |
|---|