|
| 1 | +<?php |
| 2 | +/** |
| 3 | + * This file is part of PHPWord - A pure PHP library for reading and writing |
| 4 | + * word processing documents. |
| 5 | + * |
| 6 | + * PHPWord is free software distributed under the terms of the GNU Lesser |
| 7 | + * General Public License version 3 as published by the Free Software Foundation. |
| 8 | + * |
| 9 | + * For the full copyright and license information, please read the LICENSE |
| 10 | + * file that was distributed with this source code. For the full list of |
| 11 | + * contributors, visit https://github.com/PHPOffice/PHPWord/contributors. |
| 12 | + * |
| 13 | + * @see https://github.com/PHPOffice/PHPWord |
| 14 | + * @copyright 2010-2018 PHPWord contributors |
| 15 | + * @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3 |
| 16 | + */ |
| 17 | + |
| 18 | +namespace PhpOffice\PhpWord\SimpleType; |
| 19 | + |
| 20 | +use PhpOffice\PhpWord\Shared\AbstractEnum; |
| 21 | + |
| 22 | +/** |
| 23 | + * Border Styles. |
| 24 | + * |
| 25 | + * @since 0.18.0 |
| 26 | + * |
| 27 | + * @see http://www.datypic.com/sc/ooxml/t-w_ST_Border.html |
| 28 | + */ |
| 29 | +final class Border extends AbstractEnum |
| 30 | +{ |
| 31 | + const SINGLE = 'single'; //A single line |
| 32 | + const DASH_DOT_STROKED = 'dashDotStroked'; //A line with a series of alternating thin and thick strokes |
| 33 | + const DASHED = 'dashed'; //A dashed line |
| 34 | + const DASH_SMALL_GAP = 'dashSmallGap'; //A dashed line with small gaps |
| 35 | + const DOT_DASH = 'dotDash'; //A line with alternating dots and dashes |
| 36 | + const DOT_DOT_DASH = 'dotDotDash'; //A line with a repeating dot - dot - dash sequence |
| 37 | + const DOTTED = 'dotted'; //A dotted line |
| 38 | + const DOUBLE = 'double'; //A double line |
| 39 | + const DOUBLE_WAVE = 'doubleWave'; //A double wavy line |
| 40 | + const INSET = 'inset'; //An inset set of lines |
| 41 | + const NIL = 'nil'; //No border |
| 42 | + const NONE = 'none'; //No border |
| 43 | + const OUTSET = 'outset'; //An outset set of lines |
| 44 | + const THICK = 'thick'; //A single line |
| 45 | + const THICK_THIN_LARGE_GAP = 'thickThinLargeGap'; //A thick line contained within a thin line with a large-sized intermediate gap |
| 46 | + const THICK_THIN_MEDIUM_GAP = 'thickThinMediumGap'; //A thick line contained within a thin line with a medium-sized intermediate gap |
| 47 | + const THICK_THIN_SMALL_GAP = 'thickThinSmallGap'; //A thick line contained within a thin line with a small intermediate gap |
| 48 | + const THIN_THICK_LARGE_GAP = 'thinThickLargeGap'; //A thin line contained within a thick line with a large-sized intermediate gap |
| 49 | + const THIN_THICK_MEDIUM_GAP = 'thinThickMediumGap'; //A thick line contained within a thin line with a medium-sized intermediate gap |
| 50 | + const THIN_THICK_SMALL_GAP = 'thinThickSmallGap'; //A thick line contained within a thin line with a small intermediate gap |
| 51 | + const THIN_THICK_THINLARGE_GAP = 'thinThickThinLargeGap'; //A thin-thick-thin line with a large gap |
| 52 | + const THIN_THICK_THIN_MEDIUM_GAP = 'thinThickThinMediumGap'; //A thin-thick-thin line with a medium gap |
| 53 | + const THIN_THICK_THIN_SMALL_GAP = 'thinThickThinSmallGap'; //A thin-thick-thin line with a small gap |
| 54 | + const THREE_D_EMBOSS = 'threeDEmboss'; //A three-staged gradient line, getting darker towards the paragraph |
| 55 | + const THREE_D_ENGRAVE = 'threeDEngrave'; //A three-staged gradient like, getting darker away from the paragraph |
| 56 | + const TRIPLE = 'triple'; //A triple line |
| 57 | + const WAVE = 'wave'; //A wavy line |
| 58 | +} |
0 commit comments