Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: 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 06:10 UTC ( #861450=note: print w/replies, xml ) Need Help??


in reply to Re: How do I apply formatting to a particular word in a docx file using Win32::Ole in Perl?
in thread How do I apply formatting to a particular word in a docx file using Win32::Ole in Perl?

@NetWallah, thanks for the guidance. But perl throws me an error suggesting that $w->Text returns an uninitialized value. I've used the following lines of code to check for the keys of the $w hashref:
my @keys = keys %{$w}; print @keys,"\n";
And I get the following hash keys: Count First Last Application Creator Parent

It seems I can only use something like $w->First->Text. But I'm stuck there :(

  • Comment on Re^2: How do I apply formatting to a particular word in a docx file using Win32::Ole in Perl?
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://861450]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2023-02-06 00:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (33 votes). Check out past polls.

    Notices?