tracker issue : CF-4203469

select a category, or use search below
(searches all categories and all time range)

DDX / Table of Contents - StyledText

| View in Tracker

Status/Resolution/Reason: To Track//PRNeedInfo

Reporter/Name(from Bugbase): RYAN SCHULZ / ()

Created: 11/15/2018

Components: Document Management, PDF Generation (CFHTML2PDF)

Versions: 2016

Failure Type: Non Functioning

Found In Build/Fixed In Build: Update 7 /

Priority/Frequency: Normal / All users will encounter

Locale/System: ALL / Linux Ubuntu 14.04

Vote Count: 0

Problem Description:
Declaring StyledText elements in the TableOfContentsEntryPattern does not output styled / formatted text in resulting PDF.  This is happening with install on ubuntu / coldfusion 2016.

Steps to Reproduce:
Create appropriate DDX with TableOfContentsEntryPattern with StyledText element with formatting of font-family and color does not get applied.

Actual Result:
Produces basic system-level font and text - no styling in Table of Contents entries.

Expected Result:
Should create table of contents entries that are styled based on the StyledText element formatting properties declared.

Any Workarounds:



Hi Ryan ,  I am not able to reproduce the issue. I am using the following code: {code:java} <cfsavecontent variable="myDDX"> <DDX xmlns="" xmlns:xsi="" xsi:schemaLocation=" coldfusion_ddx.xsd"> <PDF result="Out1"> <TableOfContents includeInTOC="false" bookmarkTitle="Table of Contents"> <TableOfContentsEntryPattern applicableLevel="all" > <StyledText> <p font-family="Arial Black" font-size="22pt" color="green"> <_BookmarkTitle/> <Space/> <Space/> <leader leader-pattern="dotted"/> <Space/> <Space/> <_BookmarkPageCitation/> </p> </StyledText> </TableOfContentsEntryPattern> </TableOfContents> <PDFGroup> <PDF source="Doc1" /> <PDF source="Doc2" /> </PDFGroup> </PDF> </DDX> </cfsavecontent> <cfif IsDDX(#myDDX#)> <cfset inputStruct = StructNew()> <cfset inputStruct.Doc1 = "FirstDocument.pdf"> <cfset inputStruct.Doc2 = "SecondDocument.pdf"> <cfset outputStruct = StructNew()> <cfset outputStruct.Out1 = "CombinedDocument.pdf"> <cfpdf action="processddx" ddxfile="#myddx#" inputfiles="#inputStruct#" outputfiles="#outputStruct#" name="ddxVar"> <cfdump var="#ddxVar#"> <cfelse> <cfoutput><p>NO, DDX IS NOT OK</p></cfoutput> </cfif> {code} Can you provide the code you are using so that we can repro the issue at our end? Thanks, Suchika
Comment by Suchika S.
30503 | March 14, 2019 08:59:44 AM GMT