We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I received from client docx document where except default Normal style
Normal
<w:style w:type="paragraph" w:default="1" w:styleId="Normal"> <w:name w:val="Normal"/> <w:pPr> <w:spacing w:after="200" w:line="276" w:lineRule="auto"/> <w:ind w:left="0" w:right="0" w:firstLine="0"/> </w:pPr> <w:rPr> <w:rFonts w:ascii="Calibri" w:eastAsia="Calibri" w:hAnsi="Calibri" w:cs="Calibri"/> <w:sz w:val="22"/> <w:szCs w:val="22"/> </w:rPr> </w:style>
exist another style with the same name Normal that is based default one
<w:style w:type="paragraph" w:styleId="Normal"> <w:name w:val="Normal"/> <w:basedOn w:val="Normal"/> <w:next w:val="Normal"/> <w:pPr> <w:jc w:val="left"/> <w:ind w:left="0" w:right="0"/> <w:bidi w:val="false"/> </w:pPr> <w:rPr> <w:rFonts w:ascii="Arial" w:eastAsia="Arial" w:hAnsi="Arial" w:cs="Arial"/> <w:sz w:val="24"/> <w:szCs w:val="24"/> </w:rPr> </w:style>
It leads to StackOverflowError in PropertyResolver class on call fillPPrStack
PropertyResolver
fillPPrStack
I was not able to reproduce such document in Microsoft Word, but the original document is successfully openin
The text was updated successfully, but these errors were encountered:
There are actually 2 problems here. The first is the duplicate styleId which you noticed.
The second (which leads to the StackOverflowError) is having a style based on itself:
<w:style w:type="paragraph" w:styleId="Normal"> <w:basedOn w:val="Normal"/>
Do you know how this docx was created?
Sorry, something went wrong.
No branches or pull requests
I received from client docx document where except default
Normal
styleexist another style with the same name
Normal
that is based default oneIt leads to StackOverflowError in
PropertyResolver
class on callfillPPrStack
I was not able to reproduce such document in Microsoft Word, but the original document is successfully openin
The text was updated successfully, but these errors were encountered: