Closed AllTaken closed 3 years ago
The code (and that comment) represents my understanding of 17.16.18 pages 1267-1268:
As well, because a complex field can specify both its field codes and its current result within the document, these two items are separated by the optional separator character, which defines the end of the field codes and the beginning of the field contents. The omission of this character shall be used to specify that the contents of the field are entirely field codes (i.e. the field has no result).
I take “the field has no result” to mean that we should do nothing. But if you have an example Docx where Word does do something when there is no separator … ?
No. I was just confused by the apparent enforcement of the "opposite" of the docs. I don't think I can get word to actually make a run without a separator. Thanks for the explanation!
👍
The documentation states the following regarding "complex" fields:
But the code has the following (in KnownWordProcessingMLTransforms.cs):
Which seems to enforce the opposite? Is this simply a limitation of the library?