none
Differentiate list and paragraph applying custom styles in word document using word add-in javascript api RRS feed

  • Question

  • Hi All,

    Can you please help me out in this scenario

    I tried all ways to differentiate list and paragraph and applying custom styles but till now I didn't get any proper solution

    I am able to identify text only, if I give text style it is effecting both paragraphs and bullet list...

    let paragraph = context.document.body.paragraphs.load('text, items, leveltypes');

    paragraph.style="Heading 1";

    (In this scenario I want to apply only custom styles to the list. without disturbing paragraph's styles)

    I want to apply only lists to custom styles .

    Thanks in advance....!!!

    Wednesday, September 2, 2020 10:00 AM