ms word - DOCX: Field code that evaluates to empty string as field result -
i need insert field in word document evaluates empty string.
some ideas i've;
- set intersection: both sets have nothing in common , field result lead empty. - "".concats(""), leads ""
can insert such kind of field code in office word document?
if want insert field empty string result use macrobutton
field no caption points non-existing macro:
{ macrobutton nomacro }
using openxml sdk, can create such button this:
var paragraph = new paragraph( new run(new fieldchar { fieldchartype = fieldcharvalues.begin }), new run(new fieldcode { space = spaceprocessingmodevalues.preserve, text = " macrobutton nomacro " }), new run(new fieldchar() { fieldchartype = fieldcharvalues.end }));
Comments
Post a Comment