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

Add w:label to w:stdPr #388

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mihasicehcek
Copy link

@mihasicehcek mihasicehcek commented Mar 17, 2020

In this standard ISO/IEC 29500-1:2016 in 17.5.2.19 (page 531) described "label (Structured Document Tag Label)" in "w:sdtPr".
I add binding for correct marshaling and unmarshalling.
And also add some tests.

From ISO/IEC 29500-1:2016
This element specifies the label identifier associated with the current structured document tag. The identifier representing the label shall be stored on this element’s val attribute and is used to reference the unique identifier value of a structured document tag.

Merge pull request #1 from mihasicehcek/label_to_sdtPr

add label to stdPr and write tests
Revert "add label to stdPr and write tests"

Merge pull request #2 from mihasicehcek/revert-1-label_to_sdtPr

Revert "add label to stdPr and write tests"
add label to stdPr and write tests for sdt marshalling
@plutext
Copy link
Owner

plutext commented Apr 4, 2020

Interesting. I've never seen w:label used in a docx before! Experimenting a little, Word can open a document containing it, but does not appear to retain the element on save. Do you have any further insight into its practical use?

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

Successfully merging this pull request may close these issues.

2 participants