rbeckman-nextgen / test-mc6

0 stars 0 forks source link

Add ability to set page size for Document Writer #3720

Closed rbeckman-nextgen closed 4 years ago

rbeckman-nextgen commented 4 years ago

Right now the default for RTF is A4, when some people might want 8.5 x 11 instead. For PDFs this is already possible by using a CSS property ([http://flyingsaucerproject.github.io/flyingsaucer/r8/guide/users-guide-R8.html#xil_35]), but that does not apply to RTF rendering.

Imported Issue. Original Details: Jira Issue Key: MIRTH-3861 Reporter: narupley Created: 2016-01-04T09:44:56.000-0800

rbeckman-nextgen commented 4 years ago

Revision 7916: The Document Writer now has the ability to set page sizes for both PDF and RTF. For PDFs this is done with a CSS3 selector, and for RTFs iText already has a method to set the page size. The units allowed are inches, mm, or twips, and several standard US/EU paper sizes are included. On migration the size for PDF is set to Letter (8.5 x 11 in) and for RTF is set to A4 (210 x 297 mm) to keep the same behavior as before.

Imported Comment. Original Details: Author: narupley Created: 2016-02-16T12:34:49.000-0800

rbeckman-nextgen commented 4 years ago

OS(s) and JRE version: virtual Window 7 with JRE version 1.8.0_77-b03 Version(s)/Build(s) to reproduce failure: mirthconnect-3.3.2.7909.b103-windows-x64 Version(s)/Build(s) to verify fixes: mirthconnect-3.4.0.7958.b1917-windows-x64 How Tested:

Observation:

Imported Comment. Original Details: Author: minht Created: 2016-03-30T10:43:41.000-0700

rbeckman-nextgen commented 4 years ago

Successfully verified Page Size setting for Document Writer

Imported Comment. Original Details: Author: minht Created: 2016-03-30T10:49:45.000-0700