!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/main_file/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/   drwxr-xr-x
Free 13.17 GB of 57.97 GB (22.73%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     RowDimension.php (2.67 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace PhpOffice\PhpSpreadsheet\Worksheet;

use 
PhpOffice\PhpSpreadsheet\Helper\Dimension as CssDimension;

class 
RowDimension extends Dimension
{
    
/**
     * Row index.
     *
     * @var ?int
     */
    
private $rowIndex;

    
/**
     * Row height (in pt).
     *
     * When this is set to a negative value, the row height should be ignored by IWriter
     *
     * @var float
     */
    
private $height = -1;

    
/**
     * ZeroHeight for Row?
     *
     * @var bool
     */
    
private $zeroHeight false;

    
/**
     * Create a new RowDimension.
     *
     * @param ?int $index Numeric row index
     */
    
public function __construct($index 0)
    {
        
// Initialise values
        
$this->rowIndex $index;

        
// set dimension as unformatted by default
        
parent::__construct(null);
    }

    
/**
     * Get Row Index.
     */
    
public function getRowIndex(): ?int
    
{
        return 
$this->rowIndex;
    }

    
/**
     * Set Row Index.
     *
     * @return $this
     */
    
public function setRowIndex(int $index)
    {
        
$this->rowIndex $index;

        return 
$this;
    }

    
/**
     * Get Row Height.
     * By default, this will be in points; but this method also accepts an optional unit of measure
     *    argument, and will convert the value from points to the specified UoM.
     *    A value of -1 tells Excel to display this column in its default height.
     *
     * @return float
     */
    
public function getRowHeight(?string $unitOfMeasure null)
    {
        return (
$unitOfMeasure === null || $this->height 0)
            ? 
$this->height
            
: (new CssDimension($this->height CssDimension::UOM_POINTS))->toUnit($unitOfMeasure);
    }

    
/**
     * Set Row Height.
     *
     * @param float $height in points. A value of -1 tells Excel to display this column in its default height.
     * By default, this will be the passed argument value; but this method also accepts an optional unit of measure
     *    argument, and will convert the passed argument value to points from the specified UoM
     *
     * @return $this
     */
    
public function setRowHeight($height, ?string $unitOfMeasure null)
    {
        
$this->height = ($unitOfMeasure === null || $height 0)
            ? 
$height
            
: (new CssDimension("{$height}{$unitOfMeasure}"))->height();

        return 
$this;
    }

    
/**
     * Get ZeroHeight.
     */
    
public function getZeroHeight(): bool
    
{
        return 
$this->zeroHeight;
    }

    
/**
     * Set ZeroHeight.
     *
     * @return $this
     */
    
public function setZeroHeight(bool $zeroHeight)
    {
        
$this->zeroHeight $zeroHeight;

        return 
$this;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0073 ]--