docx icon indicating copy to clipboard operation
docx copied to clipboard

How to remove defaultTabStop from Word

Open ricardograna opened this issue 3 years ago • 3 comments

Hello, thanks for the great work with this package.

I am using Numbering, but the result is being affected by the defaultTabStop from Word and I couldn't find a way to remove it.

ricardograna avatar Jul 06 '21 04:07 ricardograna

I believe you can set your own tab stops like so:

https://docx.js.org/#/usage/tab-stops

dolanmiu avatar Jul 07 '21 10:07 dolanmiu

Yes, I can. But Word has an attribute called Default Tab Stop that affects the Tab Stops. Even when I set Left Tab Stop to zero, Word uses the Default Tab Stop.

ricardograna avatar Jul 12 '21 18:07 ricardograna

Does the package have a method to insert an extra xml to the result file? This actually would help

ricardograna avatar Jul 14 '21 02:07 ricardograna

Need to implement:

https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_defaultTabStop_topic_ID0EIXSX.html

dolanmiu avatar Dec 22 '23 19:12 dolanmiu