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