Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: Re: win32::ole ppt regexp

by MZSanford (Curate)
on Jan 15, 2003 at 14:29 UTC ( #227146=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: win32::ole ppt regexp
in thread win32::ole ppt regexp

A few thoughts ...

  • The regexp should probably be run against $text, not $shape.
  • you should not need the in in your foreach loop
  • You said the print is printing nothing ... are you seeing the new lines ? (maybe nothing = 18 ?)
  • Last time i worked with Power Point (a month or so ago), i resorted to using perl -d, putting a break at a line similar to your foreach, and then using Data::Dumper to poke around for the text box i needed (which ended up being $Presentation->Slides(1)->Shapes->Title->TextFrame->TextRange->{Text})

from the frivolous to the serious


Comment on Re: Re: Re: win32::ole ppt regexp
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (16)
As of 2015-07-29 17:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (266 votes), past polls