docx
    Preparing search index...

    Type Alias IEastAsianLayoutOptions

    Options for the East Asian layout of a run's text.

    type IEastAsianLayoutOptions = {
        brackets?: typeof TwoLinesInOneBrackets[keyof typeof TwoLinesInOneBrackets];
        fitToLine?: boolean;
        group?: number;
        horizontalInVertical?: boolean;
        twoLinesInOne?: boolean;
    }
    Index
    brackets?: typeof TwoLinesInOneBrackets[keyof typeof TwoLinesInOneBrackets]

    The brackets drawn around text set as two lines in one (w:combineBrackets). Without them, none are drawn.

    fitToLine?: boolean

    Asks for text set across the line in vertical text to be squeezed so that it fits in the width of the line (w:vertCompress). Word ignores it (MS-OI29500, 17.3.2.10), so only other applications may squeeze the text.

    group?: number

    Runs next to each other with the same group are laid out together, as one two lines in one or one piece of horizontal in vertical text, so it can be made of runs formatted differently (w:id)

    horizontalInVertical?: boolean

    Sets the run's text across the line in text that runs down the page, as Word's Horizontal in Vertical does (w:vert). Word ignores it when twoLinesInOne is on.

    twoLinesInOne?: boolean

    Sets the run's text in two lines within one line, each at half the text's size, as Word's Two Lines in One does (w:combine)