cfpdf, ddx and InitialViewProfile

This is a discussion on cfpdf, ddx and InitialViewProfile within the Cold Fusion forums in Application Servers & Tools category; I have tried to use this as per the docs, but it appears to have no effect. See attached code. I have also tried include a table of contents, this works as long as I don't try and use any attributes for the tag. Eg. If I just use <TableOfContents/> then it works, but if I use <TableOfContents maxBookmarkLevel="infinite" bookmarkTitle="Table of Contents" includeInTOC="false"> As the online docs indicate then I get a parse error for the ddx Note I have following version 8,0,1,195765 Anybody got any ideas ?? Ken <?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"> <InitialViewProfile name="firstView" show="BookmarksPanel" ...

Go Back   Application Development Forum > Application Servers & Tools > Cold Fusion

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-04-2008, 03:05 AM
The ScareCrow
Guest
 
Default cfpdf, ddx and InitialViewProfile

I have tried to use this as per the docs, but it appears to have no effect.

See attached code.

I have also tried include a table of contents, this works as long as I don't
try and use any attributes for the tag.

Eg.

If I just use <TableOfContents/> then it works, but if I use

<TableOfContents maxBookmarkLevel="infinite" bookmarkTitle="Table of Contents"
includeInTOC="false">

As the online docs indicate then I get a parse error for the ddx

Note I have following version 8,0,1,195765

Anybody got any ideas ??

Ken



<?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">
<InitialViewProfile name="firstView" show="BookmarksPanel"
magnification="FitPage"/>
<PDF result="Out1">
<PDF source="Doc1"/>
<PDF source="Doc2"/>
</PDF>
</DDX>

Reply With Quote
  #2  
Old 09-07-2008, 07:09 PM
The ScareCrow
Guest
 
Default Re: cfpdf, ddx and InitialViewProfile

There must be someone from Adobe that can help ????

Ken
Reply With Quote
  #3  
Old 09-08-2008, 11:43 PM
The ScareCrow
Guest
 
Default Re: cfpdf, ddx and InitialViewProfile

Found the problem, need to add an attribute to the <pdf result="out1" tag
See attached code...


ken



<?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">
<InitialViewProfile name="firstView" show="BookmarksPanel"
magnification="FitPage"/>
<PDF result="Out1" initialView="firstView">
<PDF source="Doc1"/>
<PDF source="Doc2"/>
</PDF>
</DDX>

Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 06:15 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.