tracker issue : CF-4197415

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

cfpresentation (format="ppt"): formatting issues when generating PPT with HTML content.

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): / ext-user ()

Created: 11/07/2016

Components: Document Management, Presentation

Versions: 2016,11.0,10.0

Failure Type:

Found In Build/Fixed In Build: CF10 HF20 / CF2018U5

Priority/Frequency: Normal / Few users will encounter

Locale/System: English / Windows 7 SP1 64-bit

Vote Count: 0

Listed in the version 2016.0.04.302561 Issues Fixed doc
Problem:
cfpresentation (format="ppt"): formatting issues when generating PPT with HTML content.

Method:

Issue No. 1: CFPresentation backgroundColor attribute does nothing
<cfset myPath = GetDirectoryFromPath( GetCurrentTemplatePath() ) />
Changing the color to a hex value makes no diference<br /> 
<cfpresentation backgroundcolor="blue" format="ppt" destination="#myPath#myPPT.ppt" overwrite="yes">
       <cfpresentationslide>
              <h1>Hello World!</h1>
       </cfpresentationslide>
</cfpresentation>

Issue No. 2: usage of a background attribute results in multiple imgaes being placed in the PPT.  Additionally, the image is not placed in the background, rather on top of all other content.
<cfset myPath = GetDirectoryFromPath( GetCurrentTemplatePath() ) />
<cfpresentation format="ppt" destination="#myPath#myPPT.ppt" overwrite="yes">
       <cfpresentationslide>
              <html>
                     <body background="chart1.png">
                           <h1>Hello World</h1>
                     </body>
              </html>
       </cfpresentationslide>
</cfpresentation>


Result:
Issue #1. Background color is missing. But the behavior is the same in CF10 HF20

Issue #2. Background image overwrite the text in the slide. As it does in CF10 HF20.

(issue verified with 2016.0.03.300550, CF10 HF20 and CF902)

Expected:

Workaround:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4197415

External Customer Info:
External Company:  
External Customer Name:  
External Customer Email:

Attachments:

Comments: