![]() ![]() This will take a bit of coding, but the approach is pretty straightforward. WP_Reader in its current form does not model any merge functions. ![]() Use the Office Interop commands to find each unique marker and replace it with a new merge field (I'm a little fuzzy about how this part works). Save the wpd document as a Word document (or probably safer, use Office Interop to do this). NET call to a WordPerfect document to search for anything that is not ASCII text, so you are forced to use a macro and PerfectFit to do this (thanks, Corel!). Use the PerfectFit.PerfectScript interface to call the WP macro and pass in each merge function you want replaced with its unique marker. Open the document using the WordPerfect.PerfectScript interface. Write a simple WordPerfect macro that uses a passed-in variable to search and replace each merge "code" with a unique text marker. Make a dictionary that translates each needed merge function into its WP string "code" (for searching purposes). ![]() Collect all the pertinent merge functions (there are a bunch of merge commands, and you will have to figure out which ones you need to translate into Word merge fields). ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |