UNPKG

docxml

Version:

TypeScript (component) library for building and parsing a DOCX file

15 lines (14 loc) 3.88 kB
import { Length } from '../utilities/length.js'; export declare type Border<Type extends string> = { color?: null | string; width?: null | Length; spacing?: null | number; type?: null | Type; }; export declare type LineBorderType = 'single' | 'dashDotStroked' | 'dashed' | 'dashSmallGap' | 'dotDash' | 'dotDotDash' | 'dotted' | 'double' | 'doubleWave' | 'inset' | 'nil' | 'none' | 'outset' | 'thick' | 'thickThinLargeGap' | 'thickThinMediumGap' | 'thickThinSmallGap' | 'thinThickLargeGap' | 'thinThickMediumGap' | 'thinThickSmallGap' | 'thinThickThinLargeGap' | 'thinThickThinMediumGap' | 'thinThickThinSmallGap' | 'threeDEmboss' | 'threeDEngrave' | 'triple' | 'wave'; export declare type ArtBorderType = 'apples' | 'archedScallops' | 'babyPacifier' | 'babyRattle' | 'balloons3Colors' | 'balloonsHotAir' | 'basicBlackDashes' | 'basicBlackDots' | 'basicBlackSquares' | 'basicThinLines' | 'basicWhiteDashes' | 'basicWhiteDots' | 'basicWhiteSquares' | 'basicWideInline' | 'basicWideMidline' | 'basicWideOutline' | 'bats' | 'birds' | 'birdsFlight' | 'cabins' | 'cakeSlice' | 'candyCorn' | 'celticKnotwork' | 'certificateBanner' | 'chainLink' | 'champagneBottle' | 'checkedBarBlack' | 'checkedBarColor' | 'checkered' | 'christmasTree' | 'circlesLines' | 'circlesRectangles' | 'classicalWave' | 'clocks' | 'compass' | 'confetti' | 'confettiGrays' | 'confettiOutline' | 'confettiStreamers' | 'confettiWhite' | 'cornerTriangles' | 'couponCutoutDashes' | 'couponCutoutDots' | 'crazyMaze' | 'creaturesButterfly' | 'creaturesFish' | 'creaturesInsects' | 'creaturesLadyBug' | 'crossStitch' | 'cup' | 'decoArch' | 'decoArchColor' | 'decoBlocks' | 'diamondsGray' | 'doubleD' | 'doubleDiamonds' | 'earth1' | 'earth2' | 'eclipsingSquares1' | 'eclipsingSquares2' | 'eggsBlack' | 'fans' | 'film' | 'firecrackers' | 'flowersBlockPrint' | 'flowersDaisies' | 'flowersModern1' | 'flowersModern2' | 'flowersPansy' | 'flowersRedRose' | 'flowersRoses' | 'flowersTeacup' | 'flowersTiny' | 'gems' | 'gingerbreadMan' | 'gradient' | 'handmade1' | 'handmade2' | 'heartBalloon' | 'heartGray' | 'hearts' | 'heebieJeebies' | 'holly' | 'houseFunky' | 'hypnotic' | 'iceCreamCones' | 'lightBulb' | 'lightning1' | 'lightning2' | 'mapleLeaf' | 'mapleMuffins' | 'mapPins' | 'marquee' | 'marqueeToothed' | 'moons' | 'mosaic' | 'musicNotes' | 'northwest' | 'ovals' | 'packages' | 'palmsBlack' | 'palmsColor' | 'paperClips' | 'papyrus' | 'partyFavor' | 'partyGlass' | 'pencils' | 'people' | 'peopleHats' | 'peopleWaving' | 'poinsettias' | 'postageStamp' | 'pumpkin1' | 'pushPinNote1' | 'pushPinNote2' | 'pyramids' | 'pyramidsAbove' | 'quadrants' | 'rings' | 'safari' | 'sawtooth' | 'sawtoothGray' | 'scaredCat' | 'seattle' | 'shadowedSquares' | 'sharksTeeth' | 'shorebirdTracks' | 'skyrocket' | 'snowflakeFancy' | 'snowflakes' | 'sombrero' | 'southwest' | 'stars' | 'stars3d' | 'starsBlack' | 'starsShadowed' | 'starsTop' | 'sun' | 'swirligig' | 'tornPaper' | 'tornPaperBlack' | 'trees' | 'triangleParty' | 'triangles' | 'tribal1' | 'tribal2' | 'tribal3' | 'tribal4' | 'tribal5' | 'tribal6' | 'twistedLines1' | 'twistedLines2' | 'vine' | 'waveline' | 'weavingAngles' | 'weavingBraid' | 'weavingRibbon' | 'weavingStrips' | 'whiteFlowers' | 'woodwork' | 'xIllusions' | 'zanyTriangles' | 'zigZag' | 'zigZagStitch'; export declare type Shading = { foreground?: null | string; background?: null | string; pattern?: null | 'nil' | 'clear' | 'solid' | 'horzStripe' | 'vertStripe' | 'reverseDiagStripe' | 'diagStripe' | 'horzCross' | 'diagCross' | 'thinHorzStripe' | 'thinVertStripe' | 'thinReverseDiagStripe' | 'thinDiagStripe' | 'thinHorzCross' | 'thinDiagCross' | 'pct5' | 'pct10' | 'pct12' | 'pct15' | 'pct20' | 'pct25' | 'pct30' | 'pct35' | 'pct37' | 'pct40' | 'pct45' | 'pct50' | 'pct55' | 'pct60' | 'pct62' | 'pct65' | 'pct70' | 'pct75' | 'pct80' | 'pct85' | 'pct87' | 'pct90' | 'pct95'; };