Re: Embedding files in a PDF

2015-02-25 Thread Michael Grant

Hi Kevin,

The CF8 documentation seems to indicate that PDF merging is supported with
cfpdf.

http://help.adobe.com/livedocs/coldfusion/8/htmldocs/help.html?content=Tags_p-q_02.html

From the docs:

*Merge PDF documents into an output PDF file*
cfpdf*required*
action = merge
*one of the following:*
directory = *directory of PDF files to merge*
source = *comma-separated list of PDF source files|absolute or
relative pathname **to a PDF file*|*PDF document
variable*|*cfdocument variable*
cfpdfparam ...
*required if directory is specified:*
order = name|time
*one of the following if cfpdfparam ... is specified:*
name = *PDF document variable name*
destination = *PDF output file pathname**optional*
ascending = yes|no
keepBookmark = yes|no
overwrite = yes|no
pages = *pages to merge in PDF source file*
password = *PDF source file password*
stopOnError = yes|no*one of the following:*
destination = *PDF output file pathname*
name = *PDF document variable name*




On Wed, Feb 25, 2015 at 6:07 AM, Kevin Parker tras...@internode.on.net
wrote:


 Be grateful for a little advice or confirmation please.



 Putting together a little award nomination system. User submits the
 nomination via a web form and attaches any supporting documents to the
 nomination. I then need to produce a PDF of the nomination which in itself
 is not an issue e.g. cfdocument. However, I was looking for a way to embed
 the submitted documents in the PDF version of the nomination. While
 embedding other (types of) files is supported in Acrobat there appears to
 be
 no way to do this via CF be it cfdocument or even cfpdf (platform is CF8) -
 is my summation correct.



 Thank you





 ++

 Kevin Parker



 ++





 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360151
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Embedding files in a PDF

2015-02-25 Thread Mark A Kruger

Yes but he's talking about arbitrary files I think - supporting documents. I
think the first step is to identify what document types you wish to support.
If you can specify only PDF's and images for example, you could make this
work with CF natively. If you have to do (for example) word doc conversions,
then you will need to use a 3rd party jar file or tool to do the conversion
to PDF and then merge the results. Doable, but a lot trickier :)

-Original Message-
From: Michael Grant [mailto:mgr...@modus.bz] 
Sent: Wednesday, February 25, 2015 8:34 AM
To: cf-talk
Subject: Re: Embedding files in a PDF


Hi Kevin,

The CF8 documentation seems to indicate that PDF merging is supported with
cfpdf.

http://help.adobe.com/livedocs/coldfusion/8/htmldocs/help.html?content=Tags_
p-q_02.html

From the docs:

*Merge PDF documents into an output PDF file*
cfpdf*required*
action = merge
*one of the following:*
directory = *directory of PDF files to merge*
source = *comma-separated list of PDF source files|absolute or
relative pathname **to a PDF file*|*PDF document
variable*|*cfdocument variable*
cfpdfparam ...
*required if directory is specified:*
order = name|time
*one of the following if cfpdfparam ... is specified:*
name = *PDF document variable name*
destination = *PDF output file pathname**optional*
ascending = yes|no
keepBookmark = yes|no
overwrite = yes|no
pages = *pages to merge in PDF source file*
password = *PDF source file password*
stopOnError = yes|no*one of the following:*
destination = *PDF output file pathname*
name = *PDF document variable name*




On Wed, Feb 25, 2015 at 6:07 AM, Kevin Parker tras...@internode.on.net
wrote:


 Be grateful for a little advice or confirmation please.



 Putting together a little award nomination system. User submits the
 nomination via a web form and attaches any supporting documents to the
 nomination. I then need to produce a PDF of the nomination which in itself
 is not an issue e.g. cfdocument. However, I was looking for a way to embed
 the submitted documents in the PDF version of the nomination. While
 embedding other (types of) files is supported in Acrobat there appears to
 be
 no way to do this via CF be it cfdocument or even cfpdf (platform is CF8)
-
 is my summation correct.



 Thank you





 ++

 Kevin Parker



 ++





 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360152
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Embedding files in a PDF

2015-02-25 Thread Kevin Parker

Thanks guys - you're right - file types are quite arbitrary, most likely
office documents I would expect.

Thank you for your help!


++
Kevin Parker

++

-Original Message-
From: Mark A Kruger [mailto:mkru...@cfwebtools.com] 
Sent: Thursday, 26 February 2015 1:49 AM
To: cf-talk
Subject: RE: Embedding files in a PDF


Yes but he's talking about arbitrary files I think - supporting documents. I
think the first step is to identify what document types you wish to support.
If you can specify only PDF's and images for example, you could make this
work with CF natively. If you have to do (for example) word doc conversions,
then you will need to use a 3rd party jar file or tool to do the conversion
to PDF and then merge the results. Doable, but a lot trickier :)

-Original Message-
From: Michael Grant [mailto:mgr...@modus.bz]
Sent: Wednesday, February 25, 2015 8:34 AM
To: cf-talk
Subject: Re: Embedding files in a PDF


Hi Kevin,

The CF8 documentation seems to indicate that PDF merging is supported with
cfpdf.

http://help.adobe.com/livedocs/coldfusion/8/htmldocs/help.html?content=Tags_
p-q_02.html

From the docs:

*Merge PDF documents into an output PDF file*
cfpdf*required*
action = merge
*one of the following:*
directory = *directory of PDF files to merge*
source = *comma-separated list of PDF source files|absolute or
relative pathname **to a PDF file*|*PDF document
variable*|*cfdocument variable*
cfpdfparam ...
*required if directory is specified:*
order = name|time
*one of the following if cfpdfparam ... is specified:*
name = *PDF document variable name*
destination = *PDF output file pathname**optional*
ascending = yes|no
keepBookmark = yes|no
overwrite = yes|no
pages = *pages to merge in PDF source file*
password = *PDF source file password*
stopOnError = yes|no*one of the following:*
destination = *PDF output file pathname*
name = *PDF document variable name*




On Wed, Feb 25, 2015 at 6:07 AM, Kevin Parker tras...@internode.on.net
wrote:


 Be grateful for a little advice or confirmation please.



 Putting together a little award nomination system. User submits the
 nomination via a web form and attaches any supporting documents to the
 nomination. I then need to produce a PDF of the nomination which in itself
 is not an issue e.g. cfdocument. However, I was looking for a way to embed
 the submitted documents in the PDF version of the nomination. While
 embedding other (types of) files is supported in Acrobat there appears to
 be
 no way to do this via CF be it cfdocument or even cfpdf (platform is CF8)
-
 is my summation correct.



 Thank you





 ++

 Kevin Parker



 ++





 





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360153
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Embedding files in a PDF

2015-02-25 Thread Kevin Parker

Be grateful for a little advice or confirmation please.

 

Putting together a little award nomination system. User submits the
nomination via a web form and attaches any supporting documents to the
nomination. I then need to produce a PDF of the nomination which in itself
is not an issue e.g. cfdocument. However, I was looking for a way to embed
the submitted documents in the PDF version of the nomination. While
embedding other (types of) files is supported in Acrobat there appears to be
no way to do this via CF be it cfdocument or even cfpdf (platform is CF8) -
is my summation correct.

 

Thank you

 

 

++

Kevin Parker

 

++

 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360150
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm