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