@@ 183-193 (lines=11) @@ | ||
180 | * |
|
181 | * @return Fill |
|
182 | */ |
|
183 | public function setFillType($pValue) |
|
184 | { |
|
185 | if ($this->isSupervisor) { |
|
186 | $styleArray = $this->getStyleArray(['fillType' => $pValue]); |
|
187 | $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); |
|
188 | } else { |
|
189 | $this->fillType = $pValue; |
|
190 | } |
|
191 | ||
192 | return $this; |
|
193 | } |
|
194 | ||
195 | /** |
|
196 | * Get Rotation. |
|
@@ 216-226 (lines=11) @@ | ||
213 | * |
|
214 | * @return Fill |
|
215 | */ |
|
216 | public function setRotation($pValue) |
|
217 | { |
|
218 | if ($this->isSupervisor) { |
|
219 | $styleArray = $this->getStyleArray(['rotation' => $pValue]); |
|
220 | $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); |
|
221 | } else { |
|
222 | $this->rotation = $pValue; |
|
223 | } |
|
224 | ||
225 | return $this; |
|
226 | } |
|
227 | ||
228 | /** |
|
229 | * Get Start Color. |
@@ 128-138 (lines=11) @@ | ||
125 | * |
|
126 | * @return Protection |
|
127 | */ |
|
128 | public function setLocked($pValue) |
|
129 | { |
|
130 | if ($this->isSupervisor) { |
|
131 | $styleArray = $this->getStyleArray(['locked' => $pValue]); |
|
132 | $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); |
|
133 | } else { |
|
134 | $this->locked = $pValue; |
|
135 | } |
|
136 | ||
137 | return $this; |
|
138 | } |
|
139 | ||
140 | /** |
|
141 | * Get hidden. |
|
@@ 161-171 (lines=11) @@ | ||
158 | * |
|
159 | * @return Protection |
|
160 | */ |
|
161 | public function setHidden($pValue) |
|
162 | { |
|
163 | if ($this->isSupervisor) { |
|
164 | $styleArray = $this->getStyleArray(['hidden' => $pValue]); |
|
165 | $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); |
|
166 | } else { |
|
167 | $this->hidden = $pValue; |
|
168 | } |
|
169 | ||
170 | return $this; |
|
171 | } |
|
172 | ||
173 | /** |
|
174 | * Get hash code. |