Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting a DOC file to a PDF
Message
De
06/05/2011 11:13:31
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01509696
Message ID:
01509831
Vues:
67
>Thanks Gary. Looks interesting. Gotta love how the standard edition does not support DOCX nor hyperlinks.

Docx is actually supported, it's only that you need to decide programmatically which format it is (which is easy - docx is actually a zipped set of folders, so its first two bytes are PK, nod to Phil Katz). Hyperlinks in the PDF, that yes, only extended version.

>I'm curious about how you are using the control. Are you keeping letters in DOC files while using the control to import the DOCs for editing and for 'exporting' to PDF'? Does this allow you to avoid having MSWord installed on the workstation(s)... bypassing Word automation? Are you using the content for html emails?

My plan for now is to use this primarily for mailmerges, and maybe some editing. The button bar was flaky and caused my VFP to freeze seriously (i.e. had to pull TaskKiller to shoot it down), so I guess I'd have to rebuild the whole toolbar from scratch. Exporting to PDF (which I previously did via Adobe's PostScript driver and GhostScript, no go anymore, PS driver won't go on 64-bit, last version being from 1991) is also an option, either immediately on save (so each document is written only once, period), or after some delay.

Over the years Word automation was getting more and more flaky, specially if you needed to do anything in a batch. Nowadays it builds various internal lists as you keep opening documents, and releases nothing until you shut it down. I actually had to shut down and reinstantiate Word instance every 200 documents or so, or else it would eat up the available memory. Not to mention that there's no programmable interface to shut some dialogs (which aren't covered with the global setting), and some things don't work if the dialogs are off. A general mess, which I hope to avoid using TxControl.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform