No prob.

On Jun 6, 2012, at 8:30 AM, Mark Davis wrote:

> Thanks guys.   I have an idea now how I will accomplish this. At this point, 
> I just wanted to know that it could be done.  My project plan would look a 
> lot different if I couldn't do what I was hoping.  Thanks for the info.
> 
> Mark
> 
> On Tue, Jun 5, 2012 at 6:05 PM, John C Bland II <[email protected]> 
> wrote:
> Yep, that's right.
> 
> To help kickstart your work a bit, here's some sample code from CFWACK [cf9 
> version]:
> 
> <!--- Merges PDFs usingsource attribute --->
> <cfpdf action="merge" overwrite="yes" source="samples/title.pdf, 
> samples/page.pdf" destination="pdfs/titlepagemerge.pdf" />
> 
> ...or you could do it with cfpdfparams:
> <!--- Merges PDFs using cfpdfparam --->
> <cfpdf action="merge" overwrite="yes" destination="pdfs/titlepagemerge2.pdf">
>    <cfpdfparam source="samples/title.pdf" />
>    <cfpdfparam source="samples/page.pdf" />
> </cfpdf>
> 
> ...or if you want to do the entire directory:
> <!--- Merges PDFs using directory --->
> <cfpdf action="merge" overwrite="yes" order="name" ascending="yes"
>        stoponerror="yes" directory="samples/pdfsToMerge"
>        destination="pdfs/titlepagemerge3.pdf" />
> 
> Here is some DDX to add a TOC:
> <?xml version="1.0" encoding="UTF-8"?>
> <DDX xmlns="http://ns.adobe.com/DDX/1.0/"; 
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>     xsi:schemaLocation="http://ns.adobe.com/DDX/1.0/ coldfusion_ddx.xsd">
>       <PDF result="Output1">
>               <PDF source="TitlePage" bookmarkTitle="Cover Page"/>
>               <TableOfContents bookmarkTitle="Table of Contents" />
>               <PDF source="SamplePage" bookmarkTitle="Sample Page" />
>               <PDF source="Comps" bookmarkTitle="Site Designs" />
>       </PDF>
> </DDX>
> 
> Here is the same TOC but with some style:
> <?xml version="1.0" encoding="UTF-8"?>
> <DDX xmlns="http://ns.adobe.com/DDX/1.0/"; 
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>     xsi:schemaLocation="http://ns.adobe.com/DDX/1.0/ coldfusion_ddx.xsd">
>       <PDF result="Output1">
>               <PageLabel format="Decimal"/> 
>               <PDF source="TitlePage" bookmarkTitle="Cover Page"/>
>               <TableOfContents bookmarkTitle="Table of Contents">
>                       <TableOfContentsEntryPattern> 
>                               <StyledText>
>                                       <p font="Arial,10pt">
>                                               <_BookmarkTitle/>
>                                               <leader leader-pattern="solid" 
> /> 
>                                               Page <_BookmarkPageCitation/>
>                                       </p>
>                               </StyledText>
>                       </TableOfContentsEntryPattern> 
>               </TableOfContents>
>               <PDF source="SamplePage" bookmarkTitle="Sample Page" />
>               <PDF source="Comps" bookmarkTitle="Site Designs" />
>       </PDF>
> </DDX>
> 
> 
> 
> On Jun 5, 2012, at 4:45 PM, Mike G wrote:
> 
>> yes. but you would use cfdocument to Gen the pdfs and then cfpdf to pull 
>> them together into a single document.
>> 
>> On Jun 5, 2012 4:25 PM, "Mark Davis" <[email protected]> wrote:
>> hey guys,
>> 
>> I have never used cfDocument, but I am in the planning phases of a project 
>> that will likely need to use it.  I will likely end up with 10 ish pdfs in a 
>> folder and will need to combine those into a single pdf, with consistent 
>> page numbering and (hopefully) an auto-generated table of contents.  For 
>> those of you who have worked with cfdocument before, does this sounds 
>> remotely workable?  
>> 
>> Thanks
>> 
>> Mark
>> 
>> -- 
>> You received this message because you are subscribed to the "Houston 
>> ColdFusion Users' Group" discussion list.
>> To unsubscribe, send email to [email protected]
>> For more options, visit http://groups.google.com/group/houcfug?hl=en
>> 
>> -- 
>> You received this message because you are subscribed to the "Houston 
>> ColdFusion Users' Group" discussion list.
>> To unsubscribe, send email to [email protected]
>> For more options, visit http://groups.google.com/group/houcfug?hl=en
> 
> 
> -- 
> You received this message because you are subscribed to the "Houston 
> ColdFusion Users' Group" discussion list.
> To unsubscribe, send email to [email protected]
> For more options, visit http://groups.google.com/group/houcfug?hl=en
> 
> 
> -- 
> You received this message because you are subscribed to the "Houston 
> ColdFusion Users' Group" discussion list.
> To unsubscribe, send email to [email protected]
> For more options, visit http://groups.google.com/group/houcfug?hl=en

-- 
You received this message because you are subscribed to the "Houston ColdFusion 
Users' Group" discussion list.
To unsubscribe, send email to [email protected]
For more options, visit http://groups.google.com/group/houcfug?hl=en

Reply via email to