source: vendor/google/apiclient-services/src/Docs/TableCellStyle.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 4.7 KB
Line 
1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\Docs;
19
20class TableCellStyle extends \Google\Model
21{
22 protected $backgroundColorType = OptionalColor::class;
23 protected $backgroundColorDataType = '';
24 protected $borderBottomType = TableCellBorder::class;
25 protected $borderBottomDataType = '';
26 protected $borderLeftType = TableCellBorder::class;
27 protected $borderLeftDataType = '';
28 protected $borderRightType = TableCellBorder::class;
29 protected $borderRightDataType = '';
30 protected $borderTopType = TableCellBorder::class;
31 protected $borderTopDataType = '';
32 /**
33 * @var int
34 */
35 public $columnSpan;
36 /**
37 * @var string
38 */
39 public $contentAlignment;
40 protected $paddingBottomType = Dimension::class;
41 protected $paddingBottomDataType = '';
42 protected $paddingLeftType = Dimension::class;
43 protected $paddingLeftDataType = '';
44 protected $paddingRightType = Dimension::class;
45 protected $paddingRightDataType = '';
46 protected $paddingTopType = Dimension::class;
47 protected $paddingTopDataType = '';
48 /**
49 * @var int
50 */
51 public $rowSpan;
52
53 /**
54 * @param OptionalColor
55 */
56 public function setBackgroundColor(OptionalColor $backgroundColor)
57 {
58 $this->backgroundColor = $backgroundColor;
59 }
60 /**
61 * @return OptionalColor
62 */
63 public function getBackgroundColor()
64 {
65 return $this->backgroundColor;
66 }
67 /**
68 * @param TableCellBorder
69 */
70 public function setBorderBottom(TableCellBorder $borderBottom)
71 {
72 $this->borderBottom = $borderBottom;
73 }
74 /**
75 * @return TableCellBorder
76 */
77 public function getBorderBottom()
78 {
79 return $this->borderBottom;
80 }
81 /**
82 * @param TableCellBorder
83 */
84 public function setBorderLeft(TableCellBorder $borderLeft)
85 {
86 $this->borderLeft = $borderLeft;
87 }
88 /**
89 * @return TableCellBorder
90 */
91 public function getBorderLeft()
92 {
93 return $this->borderLeft;
94 }
95 /**
96 * @param TableCellBorder
97 */
98 public function setBorderRight(TableCellBorder $borderRight)
99 {
100 $this->borderRight = $borderRight;
101 }
102 /**
103 * @return TableCellBorder
104 */
105 public function getBorderRight()
106 {
107 return $this->borderRight;
108 }
109 /**
110 * @param TableCellBorder
111 */
112 public function setBorderTop(TableCellBorder $borderTop)
113 {
114 $this->borderTop = $borderTop;
115 }
116 /**
117 * @return TableCellBorder
118 */
119 public function getBorderTop()
120 {
121 return $this->borderTop;
122 }
123 /**
124 * @param int
125 */
126 public function setColumnSpan($columnSpan)
127 {
128 $this->columnSpan = $columnSpan;
129 }
130 /**
131 * @return int
132 */
133 public function getColumnSpan()
134 {
135 return $this->columnSpan;
136 }
137 /**
138 * @param string
139 */
140 public function setContentAlignment($contentAlignment)
141 {
142 $this->contentAlignment = $contentAlignment;
143 }
144 /**
145 * @return string
146 */
147 public function getContentAlignment()
148 {
149 return $this->contentAlignment;
150 }
151 /**
152 * @param Dimension
153 */
154 public function setPaddingBottom(Dimension $paddingBottom)
155 {
156 $this->paddingBottom = $paddingBottom;
157 }
158 /**
159 * @return Dimension
160 */
161 public function getPaddingBottom()
162 {
163 return $this->paddingBottom;
164 }
165 /**
166 * @param Dimension
167 */
168 public function setPaddingLeft(Dimension $paddingLeft)
169 {
170 $this->paddingLeft = $paddingLeft;
171 }
172 /**
173 * @return Dimension
174 */
175 public function getPaddingLeft()
176 {
177 return $this->paddingLeft;
178 }
179 /**
180 * @param Dimension
181 */
182 public function setPaddingRight(Dimension $paddingRight)
183 {
184 $this->paddingRight = $paddingRight;
185 }
186 /**
187 * @return Dimension
188 */
189 public function getPaddingRight()
190 {
191 return $this->paddingRight;
192 }
193 /**
194 * @param Dimension
195 */
196 public function setPaddingTop(Dimension $paddingTop)
197 {
198 $this->paddingTop = $paddingTop;
199 }
200 /**
201 * @return Dimension
202 */
203 public function getPaddingTop()
204 {
205 return $this->paddingTop;
206 }
207 /**
208 * @param int
209 */
210 public function setRowSpan($rowSpan)
211 {
212 $this->rowSpan = $rowSpan;
213 }
214 /**
215 * @return int
216 */
217 public function getRowSpan()
218 {
219 return $this->rowSpan;
220 }
221}
222
223// Adding a class alias for backwards compatibility with the previous class name.
224class_alias(TableCellStyle::class, 'Google_Service_Docs_TableCellStyle');
Note: See TracBrowser for help on using the repository browser.