-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Docx bookmarks get string ids when converting from Html #626
Comments
Probably a dumb question: Presumably the w:id fields on w:bookmarkStart +++ Øyvind Skaar [Sep 26 12 04:45 ]:
|
Also, does it matter what numbers are used? (e.g. for ordering?) Or could I just assign numbers based on the anchor name? |
This documentation states that the id is to be unique for all annotations in the document. Annotations are element in the "http://schemas.microsoft.com/aml/2001/core" namespace. I do not think the numbers are used in any ordering, but it seems that they are presumed by some framework to be integers. |
Sounds as if I could simply convert the alphanumeric ID to an integer, +++ Øyvind Skaar [Sep 27 12 00:00 ]:
|
I don't know for sure, but I would guess 32 bit. |
The bookmarkStart gets a string as id, when valid values are of type w:ST_DecimalNumber.
This causes problems downstream when handling the document in other parsers. Word will open the file, though.
The text was updated successfully, but these errors were encountered: