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 18class Google_Service_Docs_TextStyle extends Google_Model 19{ 20 protected $backgroundColorType = 'Google_Service_Docs_OptionalColor'; 21 protected $backgroundColorDataType = ''; 22 public $baselineOffset; 23 public $bold; 24 protected $fontSizeType = 'Google_Service_Docs_Dimension'; 25 protected $fontSizeDataType = ''; 26 protected $foregroundColorType = 'Google_Service_Docs_OptionalColor'; 27 protected $foregroundColorDataType = ''; 28 public $italic; 29 protected $linkType = 'Google_Service_Docs_Link'; 30 protected $linkDataType = ''; 31 public $smallCaps; 32 public $strikethrough; 33 public $underline; 34 protected $weightedFontFamilyType = 'Google_Service_Docs_WeightedFontFamily'; 35 protected $weightedFontFamilyDataType = ''; 36 37 /** 38 * @param Google_Service_Docs_OptionalColor 39 */ 40 public function setBackgroundColor(Google_Service_Docs_OptionalColor $backgroundColor) 41 { 42 $this->backgroundColor = $backgroundColor; 43 } 44 /** 45 * @return Google_Service_Docs_OptionalColor 46 */ 47 public function getBackgroundColor() 48 { 49 return $this->backgroundColor; 50 } 51 public function setBaselineOffset($baselineOffset) 52 { 53 $this->baselineOffset = $baselineOffset; 54 } 55 public function getBaselineOffset() 56 { 57 return $this->baselineOffset; 58 } 59 public function setBold($bold) 60 { 61 $this->bold = $bold; 62 } 63 public function getBold() 64 { 65 return $this->bold; 66 } 67 /** 68 * @param Google_Service_Docs_Dimension 69 */ 70 public function setFontSize(Google_Service_Docs_Dimension $fontSize) 71 { 72 $this->fontSize = $fontSize; 73 } 74 /** 75 * @return Google_Service_Docs_Dimension 76 */ 77 public function getFontSize() 78 { 79 return $this->fontSize; 80 } 81 /** 82 * @param Google_Service_Docs_OptionalColor 83 */ 84 public function setForegroundColor(Google_Service_Docs_OptionalColor $foregroundColor) 85 { 86 $this->foregroundColor = $foregroundColor; 87 } 88 /** 89 * @return Google_Service_Docs_OptionalColor 90 */ 91 public function getForegroundColor() 92 { 93 return $this->foregroundColor; 94 } 95 public function setItalic($italic) 96 { 97 $this->italic = $italic; 98 } 99 public function getItalic() 100 { 101 return $this->italic; 102 } 103 /** 104 * @param Google_Service_Docs_Link 105 */ 106 public function setLink(Google_Service_Docs_Link $link) 107 { 108 $this->link = $link; 109 } 110 /** 111 * @return Google_Service_Docs_Link 112 */ 113 public function getLink() 114 { 115 return $this->link; 116 } 117 public function setSmallCaps($smallCaps) 118 { 119 $this->smallCaps = $smallCaps; 120 } 121 public function getSmallCaps() 122 { 123 return $this->smallCaps; 124 } 125 public function setStrikethrough($strikethrough) 126 { 127 $this->strikethrough = $strikethrough; 128 } 129 public function getStrikethrough() 130 { 131 return $this->strikethrough; 132 } 133 public function setUnderline($underline) 134 { 135 $this->underline = $underline; 136 } 137 public function getUnderline() 138 { 139 return $this->underline; 140 } 141 /** 142 * @param Google_Service_Docs_WeightedFontFamily 143 */ 144 public function setWeightedFontFamily(Google_Service_Docs_WeightedFontFamily $weightedFontFamily) 145 { 146 $this->weightedFontFamily = $weightedFontFamily; 147 } 148 /** 149 * @return Google_Service_Docs_WeightedFontFamily 150 */ 151 public function getWeightedFontFamily() 152 { 153 return $this->weightedFontFamily; 154 } 155} 156