Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not set indent by chars #2429

Closed
xiezongrong opened this issue Nov 25, 2023 · 2 comments
Closed

can not set indent by chars #2429

xiezongrong opened this issue Nov 25, 2023 · 2 comments

Comments

@xiezongrong
Copy link

now I can set indent by use
indent: { firstLine: 450 }
but how to set indent by chars?

@dolanmiu
Copy link
Owner

Not possible im afraid, thats not how the OOXML spec operates

@anti-the-social
Copy link
Contributor

I have addition to this, the public OOXML has only w:firstLine which is twips,
But Word has w:firstLineChars which is extension to the format docxjs follows
https://learn.microsoft.com/en-us/dotnet/api/documentformat.openxml.wordprocessing.indentation?view=openxml-2.8.1
@dolanmiu should that be implemented then? Its similarly out of the OOXML as this #1036

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants