Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automation of Powerpoint
Message
 
 
To
03/09/2002 07:54:35
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00695582
Message ID:
00703131
Views:
15
Thanks for the suggestion Tamar

>>Im am using OLE automation of powerpoint to parse ppt files into a modified HTML format. I cannot use the default export to HTML included in powerpoint.
>>
>>When parsing the information, I need to generate HTML that takes bold, italic, and underline into account (IOW generates appropriate HTML tags < B >, etc). The only way that I have found to generate the HTML is to go character by character through the ranges of text evaluating bold, italic and underline (see the code below).
>>
>>The approach works, but the problem is that iterating character by character (in addition to checking the properties of each character several times) using automation is REALLY REALLY REALLY REALLY REALLY slow. (Did I mention it was slow? < g >.)
>
>Rick - might you be better off using the default export and cleaning up the results? Take a look at Doug Hennig's FoxTalk articles (or EssentialFox session notes) on doing the same with Word's HTML output.
>
>Tamar
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Previous
Reply
Map
View

Click here to load this message in the networking platform