on 10-25-2007 1:52 AM
Hi,
I am woking on a scenario where when I click a button in Adobe Form,
another Adobe Form should be displayed. This is using Web Dynpro Java.
For this I have made the second form invisible and I want to make this VISIBLE when the button is Clicked. I am unable to get a method where this property of interactive form can be changed.
Also, If there is any other way this can be done please let me know.
I am using NWDS 7.0.09 with Adobe Live cycle designer 7.1.
Thanks in Advance,
Vasu
You need to get the handler to the adobe form in your webdynpro program. If you are using webdynpro for java the following code snipped could be useful...
IWDPDFDocumentInteractiveFormHandler iFormHandler = WDPDFDocumentFactory.getDocumentHandler(wdThis.wdGetAPI(),"YourAdobeForm");
// Get appearance setter.
IWDPDFDocumentAppearance appearance =
iFormHandler.getDocumentContext().getAppearance();
//appearance.
// Set page layout option
appearance.setPageLayout(pageLayoutOption);
// Set show option.
appearance.setShowOption(showOption);
// Hide menu bar.
appearance.hideMenuBar(true);
// Hide tool bars.
appearance.hideToolBars(true);
// Hide window controls.
appearance.hideWindowControl(true);
// Show full screen.
appearance.showFullScreen(true);
Reward points if the post is helpful
Thanks!
Surya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot Surya.
But the the class WDPDFDocumentFactory is deprecated . I have used WDPDFInteractiveFormDocumentFactory. Even then, there is no visible property that can bes set.
It has just the Layout, Show option (this cannot be set to false to hide)etc.
Please let me know if there is any alternative.
Thank you,
Vasu
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.