Skip to content

Add w:label to w:stdPr#388

Open
mihasicehcek wants to merge 1 commit into
plutext:masterfrom
mihasicehcek:label_to_sdtPr_2
Open

Add w:label to w:stdPr#388
mihasicehcek wants to merge 1 commit into
plutext:masterfrom
mihasicehcek:label_to_sdtPr_2

Conversation

@mihasicehcek
Copy link
Copy Markdown

@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
Copy Markdown
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