tracker issue : CF-4197198

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

[ANeff] Doc Bug for: CFHTMLTOPDF variables undocumented

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 11/01/2016

Components: Documentation

Versions: 2016

Failure Type: Unspecified

Found In Build/Fixed In Build: CF2016_Update3 /

Priority/Frequency: Trivial / Some users will encounter

Locale/System: English / Win All

Vote Count: 0

CFHTMLTOPDF.currentPageNumber and CFHTMLTOPDF.totalPageCount are undocumented.

Please see: https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-tags/tags-g-h/cfhtmltopdfitem.html

This:
--------------------------------------------
_PAGENUMBER – Add current page number.
_LASTPAGENUMBER – Add last page number.
_CURRENTPAGENUMBER - Add current page number.
_TOTALPAGECOUNT - Add total page count.
--------------------------------------------

Should be:
--------------------------------------------
CFHTMLTOPDF.currentPageNumber – Add current page number.
CFHTMLTOPDF.totalPageCount – Add last page number.
_PAGENUMBER – Add current page number.
_LASTPAGENUMBER – Add last page number.
_CURRENTPAGENUMBER - Add current page number.
_TOTALPAGECOUNT - Add total page count.
--------------------------------------------

Related tickets: 3744504 and 3846442.

Also, the "History" section of cfhtmltopdfitem should probably state which version the CFHTMLTOPDF variables were added in.

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

Watson Bug ID:	4197198

External Customer Info:
External Company:  
External Customer Name: Aaron Neff
External Customer Email:

Attachments:

Comments:

I mistakenly filed this as an ER, instead of as a bug.
Comment by External U.
1526 | November 02, 2016 12:39:25 AM GMT
Aaron, Thanks for pointing this out. The updated page is: https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-tags/tags-g-h/cfhtmltopdfitem.html
Comment by Saurav G.
1527 | November 23, 2016 02:48:25 AM GMT
Hi Saurav, You're very welcome! Note: this ticket isn't completely fixed. This part wasn't done: "Also, the "History" section of cfhtmltopdfitem should probably state which version the CFHTMLTOPDF variables were added in." Recommended wording for History section: ----------- ColdFusion 11 Update 3 - Added the _CURRENTPAGENUMBER and _TOTALPAGECOUNT scope variables. ColdFusion (2016 release) - Added the CFHTMLTOPDF.currentPageNumber and CFHTMLTOPDF.totalPageCount scope variables. ColdFusion (2016 release) Update 3 - Added the attribute evalAtPrint. ----------- Thanks!, -Aaron
Comment by Aaron N.
1528 | June 02, 2017 08:59:51 PM GMT
Hi Aaron, I've updated the History section: https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-tags/tags-g-h/cfhtmltopdfitem.html Thanks, Saurav
Comment by Saurav G.
1529 | June 05, 2017 05:52:26 AM GMT