Essential Studio Document Processing 2018 volume 1 Migration in Word Library

Complete field code is now included in Document Object Model(DOM). Whereas in v15.4.0.20 and earlier versions, the first paragraph item after field start is not included in Document Object Model(DOM).

Field type v15.4.0.20 and earlier versions v16.1.0.24 and later versions
Simple field (Field code preserved as single paragraph item) The following items are added in DOM.

WField (Field start)
WFieldMark (Field separator)
ParagraphItem (Field result)
WFieldMark (Field end)

Note:

Field code is internally maintained by `WField` instance.
The following items are added in DOM.

WField (Field start)
ParagraphItem (field code)
WFieldMark (Field separator)
ParagraphItem (Field result)
WFieldMark (Field end)
Complex field (Field code preserved as multiple paragraph items) The following items are added in DOM.

WField (Field start)
ParagraphItem 2 (field code)
...
...
ParagraphItem N (field code)
WFieldMark (Field separator)
ParagraphItem (Field result)
WFieldMark (Field end)

Note:

First paragraph item of field code is internally maintained by `WField` instance.
The following items are added in DOM.

WField (Field start)
ParagraphItem 1 (field code)
ParagraphItem 2 (field code)
...
...
ParagraphItem N (field code)
WFieldMark (Field separator)
ParagraphItem (Field result)
WFieldMark (Field end)

Behavior Changes

  • Complete field code is now included in Text property of WParagraph class. Whereas in v15.4.0.20 and earlier versions, the partial field code is included (i.e., the first paragraph item after field start is not included in Text property).
  • Complete field code is now considered in Find and replace functionality. Whereas in v15.4.0.20 and earlier versions, the partial field code is considered (i.e., the first paragraph item after field start is not considered in Find and replace functionality).