good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
How do I apply formatting to a particular word in a docx file using Win32::Ole in Perl?by ZJ.Mike.2009 (Scribe) |
on Sep 23, 2010 at 03:29 UTC ( [id://861439]=perlquestion: print w/replies, xml ) | Need Help?? |
ZJ.Mike.2009 has asked for the wisdom of the Perl Monks concerning the following question:
For example, my docx file contains the following sentences:
This is a Perl example
This is a Perl example But it has applied bold style to the whole paragraph and it does not edit the sentences in their original place. It gives me both the modified version and the original version like this:
This is a Perl example (This question has been cross-posted at stackoverflow.) Problem solved! thanks to @NetWallah and @sflitmanwith the help from Zaid@stackflow and cjm@stackflow, I've finally solved the problem :) Here's the code that works lovely:
Back to
Seekers of Perl Wisdom
|
|