| 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.XmlType; |
|---|
| 27 | |
|---|
| 28 | |
|---|
| 29 | /** |
|---|
| 30 | * <p>Java class for CT_TableStyleCellStyle complex type. |
|---|
| 31 | * |
|---|
| 32 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 33 | * |
|---|
| 34 | * <pre> |
|---|
| 35 | * <complexType name="CT_TableStyleCellStyle"> |
|---|
| 36 | * <complexContent> |
|---|
| 37 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 38 | * <sequence> |
|---|
| 39 | * <element name="tcBdr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TableCellBorderStyle" minOccurs="0"/> |
|---|
| 40 | * <group ref="{http://schemas.openxmlformats.org/drawingml/2006/main}EG_ThemeableFillStyle" minOccurs="0"/> |
|---|
| 41 | * <element name="cell3D" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Cell3D" minOccurs="0"/> |
|---|
| 42 | * </sequence> |
|---|
| 43 | * </restriction> |
|---|
| 44 | * </complexContent> |
|---|
| 45 | * </complexType> |
|---|
| 46 | * </pre> |
|---|
| 47 | * |
|---|
| 48 | * |
|---|
| 49 | */ |
|---|
| 50 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 51 | @XmlType(name = "CT_TableStyleCellStyle", propOrder = { |
|---|
| 52 | "tcBdr", |
|---|
| 53 | "fill", |
|---|
| 54 | "fillRef", |
|---|
| 55 | "cell3D" |
|---|
| 56 | }) |
|---|
| 57 | public class CTTableStyleCellStyle { |
|---|
| 58 | |
|---|
| 59 | protected CTTableCellBorderStyle tcBdr; |
|---|
| 60 | protected CTFillProperties fill; |
|---|
| 61 | protected CTStyleMatrixReference fillRef; |
|---|
| 62 | protected CTCell3D cell3D; |
|---|
| 63 | |
|---|
| 64 | /** |
|---|
| 65 | * Gets the value of the tcBdr property. |
|---|
| 66 | * |
|---|
| 67 | * @return |
|---|
| 68 | * possible object is |
|---|
| 69 | * {@link CTTableCellBorderStyle } |
|---|
| 70 | * |
|---|
| 71 | */ |
|---|
| 72 | public CTTableCellBorderStyle getTcBdr() { |
|---|
| 73 | return tcBdr; |
|---|
| 74 | } |
|---|
| 75 | |
|---|
| 76 | /** |
|---|
| 77 | * Sets the value of the tcBdr property. |
|---|
| 78 | * |
|---|
| 79 | * @param value |
|---|
| 80 | * allowed object is |
|---|
| 81 | * {@link CTTableCellBorderStyle } |
|---|
| 82 | * |
|---|
| 83 | */ |
|---|
| 84 | public void setTcBdr(CTTableCellBorderStyle value) { |
|---|
| 85 | this.tcBdr = value; |
|---|
| 86 | } |
|---|
| 87 | |
|---|
| 88 | /** |
|---|
| 89 | * Gets the value of the fill property. |
|---|
| 90 | * |
|---|
| 91 | * @return |
|---|
| 92 | * possible object is |
|---|
| 93 | * {@link CTFillProperties } |
|---|
| 94 | * |
|---|
| 95 | */ |
|---|
| 96 | public CTFillProperties getFill() { |
|---|
| 97 | return fill; |
|---|
| 98 | } |
|---|
| 99 | |
|---|
| 100 | /** |
|---|
| 101 | * Sets the value of the fill property. |
|---|
| 102 | * |
|---|
| 103 | * @param value |
|---|
| 104 | * allowed object is |
|---|
| 105 | * {@link CTFillProperties } |
|---|
| 106 | * |
|---|
| 107 | */ |
|---|
| 108 | public void setFill(CTFillProperties value) { |
|---|
| 109 | this.fill = value; |
|---|
| 110 | } |
|---|
| 111 | |
|---|
| 112 | /** |
|---|
| 113 | * Gets the value of the fillRef property. |
|---|
| 114 | * |
|---|
| 115 | * @return |
|---|
| 116 | * possible object is |
|---|
| 117 | * {@link CTStyleMatrixReference } |
|---|
| 118 | * |
|---|
| 119 | */ |
|---|
| 120 | public CTStyleMatrixReference getFillRef() { |
|---|
| 121 | return fillRef; |
|---|
| 122 | } |
|---|
| 123 | |
|---|
| 124 | /** |
|---|
| 125 | * Sets the value of the fillRef property. |
|---|
| 126 | * |
|---|
| 127 | * @param value |
|---|
| 128 | * allowed object is |
|---|
| 129 | * {@link CTStyleMatrixReference } |
|---|
| 130 | * |
|---|
| 131 | */ |
|---|
| 132 | public void setFillRef(CTStyleMatrixReference value) { |
|---|
| 133 | this.fillRef = value; |
|---|
| 134 | } |
|---|
| 135 | |
|---|
| 136 | /** |
|---|
| 137 | * Gets the value of the cell3D property. |
|---|
| 138 | * |
|---|
| 139 | * @return |
|---|
| 140 | * possible object is |
|---|
| 141 | * {@link CTCell3D } |
|---|
| 142 | * |
|---|
| 143 | */ |
|---|
| 144 | public CTCell3D getCell3D() { |
|---|
| 145 | return cell3D; |
|---|
| 146 | } |
|---|
| 147 | |
|---|
| 148 | /** |
|---|
| 149 | * Sets the value of the cell3D property. |
|---|
| 150 | * |
|---|
| 151 | * @param value |
|---|
| 152 | * allowed object is |
|---|
| 153 | * {@link CTCell3D } |
|---|
| 154 | * |
|---|
| 155 | */ |
|---|
| 156 | public void setCell3D(CTCell3D value) { |
|---|
| 157 | this.cell3D = value; |
|---|
| 158 | } |
|---|
| 159 | |
|---|
| 160 | } |
|---|