I have created a document template (Test1.docx file) which has several MERGEFields in it. When I open the template in xml, I see some of the fields as SimpleFields and some as FieldCodes. Now, if I make some changes to the template (like adding some new template fields) and save it as Test2.docx and now when I open Test2.docx as an xml file, the field which came as SimpleField in the Test1.docx file's xml comes as FieldCode in the Test2.docx file's xml, even though I have not made any changes to that specific field. When is a mergefield be recognized by openxml as simple field and fieldcode?
0
There are 0 best solutions below
Related Questions in MS-WORD
- VBA query - sort text in alphabetical order in Word
- Can you programmatically generate a link to open a Word document and navigate to a particular location within it (preferably a comment)?
- How can I create an automatic table of contents in docx without the text being bold?
- Does MS Word secretly upload my file to cloud?
- How to use VBA to bold just some text
- Find text and numbers Formatted: "Case: BE########" and format them, regardless of the number
- Access all documents for Word from multiple instance using Excel VBA
- Using document.Application.PixelsToPoints will give different results
- Error: "Document_KeyUp" event not working
- Word macro for reversing selected text
- Make a table of remarks/figures, and format it as a table
- Add custom ribbon button to dotm file that runs macro
- Inline pictures: Add margin
- Excel VBA: Action logging on label click (like Audit Trail)
- Custom referencing format in CSL document, Want to add whitespace into bibliography
Related Questions in OPENXML
- How can I create an automatic table of contents in docx without the text being bold?
- How to change the background color (Highlight) of text using openxml
- Excel runs Apache-POI generated XLSX file but complains about working formula
- Why does OpenXML sometimes read tables as single cells?
- Unable to read the elements in word document having content layout of 3 columns in the order in which it appears in word file
- Extracting Data from Excel Cells Derived from Complex Calculations Across Multiple Sheets
- How do I insert an image into the first footer?
- Export a style to JSON
- Get position of image on the page
- OpenXml unable to read integer with percentage symbol
- Compress Excel File into Zip File using Memory Stream based on size
- C# open xml unable to read string values
- C# how to get cell value by passing row and column in openXML?
- SpreadSheet with Comments is not working with Open XML
- Convert form control of docx file to html
Related Questions in FIELDCODES
- Word 2007 Field code dependent upon Text Form Field to calculate date gives current year when Text Form Field is empty
- Create field codes for citations in word document when using Quarto (or Rmarkdown)
- Use MS-Word Field code to replace text from variable
- Get text of selected field code in Microsoft Word using AppleScript
- Failure to change ruby text's font via field codes
- VBA functions in one workbook, but not another, no errors found
- What is the best way to change the order of Field Codes in .docx and .doc files using C#?
- INCLUDEPICTURE use an alternate jpg if MERGEFIELD "filename".jpg is not valid
- DOCVARIABLES in Word not initializing
- Excel to Word: Manipulating Field Codes and switches
- MS Word mail merge: MERGESEQ and MOD
- Word mail merge errors in "by category"
- Return part of text in MS Word field
- Word html format: insert a custom TOC via field code
- How to create dynamic hyperlink using Field Codes in MS-Word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?