docx
    Preparing search index...

    Variable fitTextUniqueNumericIdConst

    fitTextUniqueNumericId: UniqueNumericIdCreator = ...

    Returns the next ID for text fitted to a width on its own (w:fitText), from a single counter shared by every run.

    Word fits runs one after the other with the same ID together, and runs without one unreliably, so a run fitted without a group is given an ID no other run has. The IDs count down from -1, as Word's own are negative, so they don't meet the groups people give, which count up.

    A negative number no earlier call has returned

    const first = fitTextUniqueNumericId(); // -1
    const second = fitTextUniqueNumericId(); // -2