PDF Generating Tool Support Forum

HOME   Login   Register    Search




Post a reply
Username:
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are OFF
Disable BBCode
Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the Board Administrator.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.
   

Topic review - Not able to set "Document view mode" in pd4ml v4
Post subject:  Not able to set "Document view mode" in pd4ml v4
Hi,

Recently we upgraded PD4ML to v4.0.11 (com.pd4ml), the PDF generated is displayed in "Fit one full page" mode where as with older version PD4ML v3.20.1 (zefer), the PDF generated was displayed in "Fit to width Scrolling" mode. This is causing a lot of inconvenience as every time to read the pdf content, user has to zoom in. We tried using "PD4ML_DOCUMENT_VIEW_MODE" with "setDynamicData" but looks like it is not working either.

Map<String, String> m = new HashMap<String, String>();
m.put(Constants.PD4ML_DOCUMENT_VIEW_MODE, "OneColumn");
pd4ml.setDynamicData(m);

Please let us know if there is a solution to this using Java.
Thanks,
Ashutosh
    Post Posted: 01 Feb 2022, 09:22
 


cron
Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share