The value of
a Single Value
property of type Text can be an
entire Microsoft Word document. The document can contain field
codes, formulas, sophisticated layouts and formatting. Through
Word's Field Codes capability, the document can identify
property values to be supplied later when the DOC file is
"merged" with the clipboard.
With appropriate setup, users can edit the property value — the Word document — directly within an Internet Explorer window, using familiar Microsoft keyboard and mouse operations. Through the Information Rights Management (IRM) features of Microsoft Word, the developer can control the areas of the document that users can edit.
This capability works with Microsoft Word 2002, 2003, and 2007
At runtime, this requires substantial memory on the workstation.
You can review this capability using two flow actions included in the sample flow PegaSample.WordEmbedMergeTest.
The first flow action PegaSample.EmbedWordTextAreaSet supports inline editing for three properties: pyDescription, pyMyEdits, and pyNewFormula.
The second flow action PegaSample.CreateMergedWordDoc searches these property values — each a Word document — for Field Codes that represent clipboard properties, and merges in the current values. You can also insert HTML code from correspondence rules, images from binary file rules, and other text as Field Codes.
Single Mode
properties in
your work object that are to have a Word document as their
values. On the Property form, check that the
Type for each is Text
. Leave
the Maximum Length and HTML
Property fields blank.This facility requires the prVisioInterface
ActiveX control and Word macros contained in the template
WordMacroManagerDot.Dot
template file. Both files
have certificates digitally signed by Pegasystems. See
How to
set up Microsoft Word for inline editing. Operation of the
ActiveX control and macros is automatic and requires no user
interaction.
ActiveX control, open authoring | |
About
Word Template rules
How to support Word merge operations How to set up Microsoft Word for inline editing |