Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Import PDF into a report?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01676305
Message ID:
01676364
Vues:
34
Yes, this is an Intranet with very good security (large organization).

>Ok, sounds like an Intranet application within the confines of your customer's premises. My suggestion came from my experience where we created PDFs containing credit card statements on a WestWind Internet application a long time ago. Mangling the PDF name was the simple solution I came up with.
>
>Your situation is obviously different.
>
>>The PDF files are not on my server but on the customer server. And they don't use any random names; actually they use names that may remind them of the content of the PDF. For example, "BrokenFanServiceReport.pdf"
>>Thank you for your input.
>>
>>>Warning: Be sure to name the PDF files with good random GUID-like names and better to prevent hackers from fishing for the PDFs on your server.
>>>
>>>>Very interesting approach. Thank you!
>>>>
>>>>I have never used a Web Browser control. I will will have to look in the VFP 9 help where to find it.
>>>>
>>>>>How about a slightly different approach -- you generate an HTML file for the report, then launch a Web Browser control to view it. The HTML could have the links to the URLs of the PDF files.
>>>>>
>>>>>>Hi Martina,
>>>>>>
>>>>>>Converting PDF to images will be a manual work (I don't know how it could be done in VFP 9 code). And it would complicated the solution big time.
>>>>>>
>>>>>>It would be nice if the VFP 9 report would allow adding a URL pointing to a PDF file saved on the drive. And then would allow a user to click on this URL to open the PDF.
>>>>>>
>>>>>>Another thing would be nice if I could open several PDF files at once. I can open one PDF file using this:
>>>>>>
>>>>>>lnResult =Shellexecute(0, tcCommand, tcFileName, tcParameter,tcDirectory,tnShowCommand)
>>>>>>
>>>>>>Where the tcFilename is the PDF file name.
>>>>>>
>>>>>>Thank you.
>>>>>>
>>>>>>>Hi,
>>>>>>>
>>>>>>>PDF is very complex and many PDF's features VFP doesn't support.
>>>>>>>May be will better convert each PDF page to image and put to report.
>>>>>>>
>>>>>>>MartinaJ
>>>>>>>
>>>>>>>>Hi,
>>>>>>>>
>>>>>>>>Is there a way to import some PDF files into VFP 9 report? Along with some other fields (e.g. date when PDF was added to a table)?
>>>>>>>>
>>>>>>>>TIA
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform