Discussion:
[NF] Export to PDF/FDF
M Jarvis
2018-01-03 23:37:53 UTC
Permalink
Yep, still alive and kickin'....

I'm working up a proof-of-concept thing to add to our report writing
engine, that being the ability to export our text based reports into a PDF.
I know how to do the FDF creation part of this (thanks again Ted) but I
seem to be coming up short in a couple of areas.

I am using LibreOffice to create my PDF template file, and not sure if the
problem lives in there or not. I add a textbox control to a document, save
as PDF, and later the FDF merge works just fine. BUT if the text starts
getting any longer than what fits into the textbox as I've laid it out in
the PDF, scroll bars appear and the textbox doesn't expand. I'm not saying
it *should* do so automatically, but I can't figure out how to do that or
even if it's possible.

Or, is there some other control available to LibreOffice I might try using
that lets me FDF merge in files of large size?

In a perfect world there wouldn't be any control visible to the user at
all, just the text of the report.

Some of our reports can be several thousand pages for Year-End stuff and
all that...

Installing any software such as CutePDF or other to help drive this isn't
an option at this time.

TIA,
--
Matt Jarvis
Eugene, Oregon USA


--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CAPT54rYVBx5BK1oJMghfRuq=zOz5vbYKo+=***@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
M Jarvis
2018-01-04 00:05:31 UTC
Permalink
Yep, still alive and kickin'....

I'm working up a proof-of-concept thing to add to our report writing
engine, that being the ability to export our text based reports into a PDF.
I know how to do the FDF creation part of this (thanks again Ted) but I
seem to be coming up short in a couple of areas.

I am using LibreOffice to create my PDF template file, and not sure if the
problem lives in there or not. I add a textbox control to a document, save
as PDF, and later the FDF merge works just fine. BUT if the text starts
getting any longer than what fits into the textbox as I've laid it out in
the PDF, scroll bars appear and the textbox doesn't expand. I'm not saying
it *should* do so automatically, but I can't figure out how to do that or
even if it's possible.

Or, is there some other control available to LibreOffice I might try using
that lets me FDF merge in files of large size?

In a perfect world there wouldn't be any control visible to the user at
all, just the text of the report.

Some of our reports can be several thousand pages for Year-End stuff and
all that...

Installing any software such as CutePDF or other to help drive this isn't
an option at this time.

TIA,
--
Matt Jarvis
Eugene, Oregon USA


--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CAPT54rZfb9W29VE=***@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Laurie Alvey
2018-01-04 09:39:05 UTC
Permalink
If you're using VFP tables or cursors, FoxyPreviewer lets you export
seamlessly to PDF.

Laurie
Post by M Jarvis
Yep, still alive and kickin'....
I'm working up a proof-of-concept thing to add to our report writing
engine, that being the ability to export our text based reports into a PDF.
I know how to do the FDF creation part of this (thanks again Ted) but I
seem to be coming up short in a couple of areas.
I am using LibreOffice to create my PDF template file, and not sure if the
problem lives in there or not. I add a textbox control to a document, save
as PDF, and later the FDF merge works just fine. BUT if the text starts
getting any longer than what fits into the textbox as I've laid it out in
the PDF, scroll bars appear and the textbox doesn't expand. I'm not saying
it *should* do so automatically, but I can't figure out how to do that or
even if it's possible.
Or, is there some other control available to LibreOffice I might try using
that lets me FDF merge in files of large size?
In a perfect world there wouldn't be any control visible to the user at
all, just the text of the report.
Some of our reports can be several thousand pages for Year-End stuff and
all that...
Installing any software such as CutePDF or other to help drive this isn't
an option at this time.
TIA,
--
Matt Jarvis
Eugene, Oregon USA
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CAMvTR9f+EhFhz6LRmtHuHM4LyjDVCAEYXD-2S+***@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Koen Piller
2018-01-04 11:03:54 UTC
Permalink
Hi,
I would also go for FoxyPreviewer, would not be able to construct an app
without this class. You can export to virtualy anything: Word, Excel,PDF,
RTF and print a normal report, with not more than one (1) mouseclick.
Forget about anything else, the more FP is free and 100% VFP.
Regards,
Koen
Post by Laurie Alvey
If you're using VFP tables or cursors, FoxyPreviewer lets you export
seamlessly to PDF.
Laurie
Post by M Jarvis
Yep, still alive and kickin'....
I'm working up a proof-of-concept thing to add to our report writing
engine, that being the ability to export our text based reports into a
PDF.
Post by M Jarvis
I know how to do the FDF creation part of this (thanks again Ted) but I
seem to be coming up short in a couple of areas.
I am using LibreOffice to create my PDF template file, and not sure if
the
Post by M Jarvis
problem lives in there or not. I add a textbox control to a document,
save
Post by M Jarvis
as PDF, and later the FDF merge works just fine. BUT if the text starts
getting any longer than what fits into the textbox as I've laid it out in
the PDF, scroll bars appear and the textbox doesn't expand. I'm not
saying
Post by M Jarvis
it *should* do so automatically, but I can't figure out how to do that or
even if it's possible.
Or, is there some other control available to LibreOffice I might try
using
Post by M Jarvis
that lets me FDF merge in files of large size?
In a perfect world there wouldn't be any control visible to the user at
all, just the text of the report.
Some of our reports can be several thousand pages for Year-End stuff and
all that...
Installing any software such as CutePDF or other to help drive this isn't
an option at this time.
TIA,
--
Matt Jarvis
Eugene, Oregon USA
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CACUu1StR7NVt20Mk670-***@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
John Weller
2018-01-04 12:11:51 UTC
Permalink
+1

John Weller
01380 723235
07976 393631
-----Original Message-----
Koen Piller
Sent: 04 January 2018 11:04
Subject: Re: [NF] Export to PDF/FDF
Hi,
I would also go for FoxyPreviewer, would not be able to construct an app
without this class. You can export to virtualy anything: Word, Excel,PDF,
RTF
and print a normal report, with not more than one (1) mouseclick.
Forget about anything else, the more FP is free and 100% VFP.
Regards,
Koen
_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/002301d38555$34d5fd70$9e81f850$@johnweller.co.uk
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Ted Roche
2018-01-04 11:10:03 UTC
Permalink
Post by M Jarvis
I'm working up a proof-of-concept thing to add to our report writing
engine, that being the ability to export our text based reports into a PDF.
I know how to do the FDF creation part of this (thanks again Ted) but I
seem to be coming up short in a couple of areas.
Glad to help.
Post by M Jarvis
I am using LibreOffice to create my PDF template file, and not sure if the
problem lives in there or not. I add a textbox control to a document, save
as PDF, and later the FDF merge works just fine.
Are you using pdftk to do the PDF-FDF merge? If so, there are a couple
of commands starting with "dump" that can tell you a little bit more
about what pdftk is seeing in the document, perhaps a clue.
Post by M Jarvis
BUT if the text starts
getting any longer than what fits into the textbox as I've laid it out in
the PDF, scroll bars appear and the textbox doesn't expand. I'm not saying
it *should* do so automatically, but I can't figure out how to do that or
even if it's possible.
Or, is there some other control available to LibreOffice I might try using
that lets me FDF merge in files of large size?
The student has exceeded the teacher :) My customers use CutePDFPro
for all of the PDFs they need to turn into data-fillable ones.
Post by M Jarvis
In a perfect world there wouldn't be any control visible to the user at
all, just the text of the report.
In LibreOffice, with the textbox control selected, you can right-mouse
click over an existing textbox, select "Control" and get a property
page where you tell it to be multi-line and turn off the scroll bars,
but I don't see an option to "rubber-band" the length
Post by M Jarvis
Some of our reports can be several thousand pages for Year-End stuff and
all that...
Installing any software such as CutePDF or other to help drive this isn't
an option at this time.
Don't you hate it when you're backed into a corner, but you can't use
the tool that would solve the problem?

--
Ted Roche & Associates, LLC
http://www.tedroche.com

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CACW6n4tiGYwxhkJMzfhvmbCKribEKhZ4gjg=***@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
M Jarvis
2018-01-05 18:27:59 UTC
Permalink
Post by Ted Roche
Post by M Jarvis
Installing any software such as CutePDF or other to help drive this isn't
an option at this time.
Don't you hate it when you're backed into a corner, but you can't use
the tool that would solve the problem?
Sorry for the delayed response... I appreciate the help from all...

I was doing some more research and came across a technique that supposedly
did what I wanted, but it requires $$$ for the tool(s) to do it and for
this proof-of-concept phase I doubt that the powers that be are going to
pony up. I guess I'll wait until they want it bad enough right? Of course,
by then it will be an 'emergency' to get it done... gosh just once it would
be nice to plan this stuff out in advance wouldn't it?

If someone wants to give it a shot, here are some links that describe the
technique/process:

https://blogs.uoregon.edu/developments/2010/12/29/pdf-making-text-fields-grow-to-accommodate-text/

https://forums.adobe.com/thread/450522

https://itstillworks.com/increase-pdf-form-character-limit-5814921.html
--
Matt Jarvis
Eugene, Oregon USA


--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CAPT54rZMaZTu43TZBMrxQi1JPxwfp4KrHkSv_1D+***@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Gene Wirchenko
2018-01-04 18:02:56 UTC
Permalink
At 15:37 2018-01-03, M Jarvis <***@gmail.com> wrote:

[snip]
Post by M Jarvis
Installing any software such as CutePDF or other to help drive this isn't
an option at this time.
Why not? Do you have an arm tied behind your back, too?

Sincerely,

Gene Wirchenko



_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@mtlp000087
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Michael Oke, II
2018-01-04 21:17:54 UTC
Permalink
[image: MailTag]
Sounds like the client has his arms tied.

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

-----------------------------
Michael Oke, II
***@gmail.com
661-349-6221
-----------------------------
Post by Gene Wirchenko
[snip]
Installing any software such as CutePDF or other to help drive this isn't
Post by M Jarvis
an option at this time.
Why not? Do you have an arm tied behind your back, too?
Sincerely,
Gene Wirchenko
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CACBEV=***@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Loading...