source: vendor/google/apiclient-services/src/Docs/DocumentStyle.php

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

Upload project files

  • Property mode set to 100644
File size: 7.0 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 DocumentStyle extends \Google\Model
21{
22 protected $backgroundType = Background::class;
23 protected $backgroundDataType = '';
24 /**
25 * @var string
26 */
27 public $defaultFooterId;
28 /**
29 * @var string
30 */
31 public $defaultHeaderId;
32 /**
33 * @var string
34 */
35 public $evenPageFooterId;
36 /**
37 * @var string
38 */
39 public $evenPageHeaderId;
40 /**
41 * @var string
42 */
43 public $firstPageFooterId;
44 /**
45 * @var string
46 */
47 public $firstPageHeaderId;
48 /**
49 * @var bool
50 */
51 public $flipPageOrientation;
52 protected $marginBottomType = Dimension::class;
53 protected $marginBottomDataType = '';
54 protected $marginFooterType = Dimension::class;
55 protected $marginFooterDataType = '';
56 protected $marginHeaderType = Dimension::class;
57 protected $marginHeaderDataType = '';
58 protected $marginLeftType = Dimension::class;
59 protected $marginLeftDataType = '';
60 protected $marginRightType = Dimension::class;
61 protected $marginRightDataType = '';
62 protected $marginTopType = Dimension::class;
63 protected $marginTopDataType = '';
64 /**
65 * @var int
66 */
67 public $pageNumberStart;
68 protected $pageSizeType = Size::class;
69 protected $pageSizeDataType = '';
70 /**
71 * @var bool
72 */
73 public $useCustomHeaderFooterMargins;
74 /**
75 * @var bool
76 */
77 public $useEvenPageHeaderFooter;
78 /**
79 * @var bool
80 */
81 public $useFirstPageHeaderFooter;
82
83 /**
84 * @param Background
85 */
86 public function setBackground(Background $background)
87 {
88 $this->background = $background;
89 }
90 /**
91 * @return Background
92 */
93 public function getBackground()
94 {
95 return $this->background;
96 }
97 /**
98 * @param string
99 */
100 public function setDefaultFooterId($defaultFooterId)
101 {
102 $this->defaultFooterId = $defaultFooterId;
103 }
104 /**
105 * @return string
106 */
107 public function getDefaultFooterId()
108 {
109 return $this->defaultFooterId;
110 }
111 /**
112 * @param string
113 */
114 public function setDefaultHeaderId($defaultHeaderId)
115 {
116 $this->defaultHeaderId = $defaultHeaderId;
117 }
118 /**
119 * @return string
120 */
121 public function getDefaultHeaderId()
122 {
123 return $this->defaultHeaderId;
124 }
125 /**
126 * @param string
127 */
128 public function setEvenPageFooterId($evenPageFooterId)
129 {
130 $this->evenPageFooterId = $evenPageFooterId;
131 }
132 /**
133 * @return string
134 */
135 public function getEvenPageFooterId()
136 {
137 return $this->evenPageFooterId;
138 }
139 /**
140 * @param string
141 */
142 public function setEvenPageHeaderId($evenPageHeaderId)
143 {
144 $this->evenPageHeaderId = $evenPageHeaderId;
145 }
146 /**
147 * @return string
148 */
149 public function getEvenPageHeaderId()
150 {
151 return $this->evenPageHeaderId;
152 }
153 /**
154 * @param string
155 */
156 public function setFirstPageFooterId($firstPageFooterId)
157 {
158 $this->firstPageFooterId = $firstPageFooterId;
159 }
160 /**
161 * @return string
162 */
163 public function getFirstPageFooterId()
164 {
165 return $this->firstPageFooterId;
166 }
167 /**
168 * @param string
169 */
170 public function setFirstPageHeaderId($firstPageHeaderId)
171 {
172 $this->firstPageHeaderId = $firstPageHeaderId;
173 }
174 /**
175 * @return string
176 */
177 public function getFirstPageHeaderId()
178 {
179 return $this->firstPageHeaderId;
180 }
181 /**
182 * @param bool
183 */
184 public function setFlipPageOrientation($flipPageOrientation)
185 {
186 $this->flipPageOrientation = $flipPageOrientation;
187 }
188 /**
189 * @return bool
190 */
191 public function getFlipPageOrientation()
192 {
193 return $this->flipPageOrientation;
194 }
195 /**
196 * @param Dimension
197 */
198 public function setMarginBottom(Dimension $marginBottom)
199 {
200 $this->marginBottom = $marginBottom;
201 }
202 /**
203 * @return Dimension
204 */
205 public function getMarginBottom()
206 {
207 return $this->marginBottom;
208 }
209 /**
210 * @param Dimension
211 */
212 public function setMarginFooter(Dimension $marginFooter)
213 {
214 $this->marginFooter = $marginFooter;
215 }
216 /**
217 * @return Dimension
218 */
219 public function getMarginFooter()
220 {
221 return $this->marginFooter;
222 }
223 /**
224 * @param Dimension
225 */
226 public function setMarginHeader(Dimension $marginHeader)
227 {
228 $this->marginHeader = $marginHeader;
229 }
230 /**
231 * @return Dimension
232 */
233 public function getMarginHeader()
234 {
235 return $this->marginHeader;
236 }
237 /**
238 * @param Dimension
239 */
240 public function setMarginLeft(Dimension $marginLeft)
241 {
242 $this->marginLeft = $marginLeft;
243 }
244 /**
245 * @return Dimension
246 */
247 public function getMarginLeft()
248 {
249 return $this->marginLeft;
250 }
251 /**
252 * @param Dimension
253 */
254 public function setMarginRight(Dimension $marginRight)
255 {
256 $this->marginRight = $marginRight;
257 }
258 /**
259 * @return Dimension
260 */
261 public function getMarginRight()
262 {
263 return $this->marginRight;
264 }
265 /**
266 * @param Dimension
267 */
268 public function setMarginTop(Dimension $marginTop)
269 {
270 $this->marginTop = $marginTop;
271 }
272 /**
273 * @return Dimension
274 */
275 public function getMarginTop()
276 {
277 return $this->marginTop;
278 }
279 /**
280 * @param int
281 */
282 public function setPageNumberStart($pageNumberStart)
283 {
284 $this->pageNumberStart = $pageNumberStart;
285 }
286 /**
287 * @return int
288 */
289 public function getPageNumberStart()
290 {
291 return $this->pageNumberStart;
292 }
293 /**
294 * @param Size
295 */
296 public function setPageSize(Size $pageSize)
297 {
298 $this->pageSize = $pageSize;
299 }
300 /**
301 * @return Size
302 */
303 public function getPageSize()
304 {
305 return $this->pageSize;
306 }
307 /**
308 * @param bool
309 */
310 public function setUseCustomHeaderFooterMargins($useCustomHeaderFooterMargins)
311 {
312 $this->useCustomHeaderFooterMargins = $useCustomHeaderFooterMargins;
313 }
314 /**
315 * @return bool
316 */
317 public function getUseCustomHeaderFooterMargins()
318 {
319 return $this->useCustomHeaderFooterMargins;
320 }
321 /**
322 * @param bool
323 */
324 public function setUseEvenPageHeaderFooter($useEvenPageHeaderFooter)
325 {
326 $this->useEvenPageHeaderFooter = $useEvenPageHeaderFooter;
327 }
328 /**
329 * @return bool
330 */
331 public function getUseEvenPageHeaderFooter()
332 {
333 return $this->useEvenPageHeaderFooter;
334 }
335 /**
336 * @param bool
337 */
338 public function setUseFirstPageHeaderFooter($useFirstPageHeaderFooter)
339 {
340 $this->useFirstPageHeaderFooter = $useFirstPageHeaderFooter;
341 }
342 /**
343 * @return bool
344 */
345 public function getUseFirstPageHeaderFooter()
346 {
347 return $this->useFirstPageHeaderFooter;
348 }
349}
350
351// Adding a class alias for backwards compatibility with the previous class name.
352class_alias(DocumentStyle::class, 'Google_Service_Docs_DocumentStyle');
Note: See TracBrowser for help on using the repository browser.