__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
declare(strict_types=1);
namespace OpenSpout\Common\Entity\Style;
/**
* This class provides constants to work with text vertical alignment.
*/
final class CellVerticalAlignment
{
public const AUTO = 'auto';
public const BASELINE = 'baseline';
public const BOTTOM = 'bottom';
public const CENTER = 'center';
public const DISTRIBUTED = 'distributed';
public const JUSTIFY = 'justify';
public const TOP = 'top';
private const VALID_ALIGNMENTS = [
self::AUTO => 1,
self::BASELINE => 1,
self::BOTTOM => 1,
self::CENTER => 1,
self::DISTRIBUTED => 1,
self::JUSTIFY => 1,
self::TOP => 1,
];
/**
* @return bool Whether the given cell vertical alignment is valid
*/
public static function isValid(string $cellVerticalAlignment): bool
{
return isset(self::VALID_ALIGNMENTS[$cellVerticalAlignment]);
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Border.php | File | 1.04 KB | 0777 |
|
| BorderPart.php | File | 2.19 KB | 0777 |
|
| CellAlignment.php | File | 685 B | 0777 |
|
| CellVerticalAlignment.php | File | 931 B | 0777 |
|
| Color.php | File | 2.58 KB | 0777 |
|
| Style.php | File | 10.91 KB | 0777 |
|