Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automation of Powerpoint
Message
 
 
À
03/09/2002 07:54:35
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00695582
Message ID:
00703131
Vues:
16
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform