Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 6.2.5
-
Fix Version/s: 6.3
-
Component/s: Viewer RI
-
Labels:None
-
Environment:Viewer RI
-
Support Case References:Support Case 14221:- https://icesoft.my.salesforce.com/5000g00001nWJPv
Description
A client has asked us about making the org.icepdf.core.annotations.interactive.enabled property dynamic as it is currently defined as static property.
The ideal fix would be move the flag out to the document model so that it can be easily configured on a document by document case.
The ideal fix would be move the flag out to the document model so that it can be easily configured on a document by document case.
Activity
Patrick Corless
created issue -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Support Case References | https://icesoft.my.salesforce.com/5000g00001nWJPv |
Judy Guglielmin
made changes -
Support Case References | https://icesoft.my.salesforce.com/5000g00001nWJPv | Support Case 14221:- https://icesoft.my.salesforce.com/5000g00001nWJPv |
Naveen Anamaneni
made changes -
Attachment | ViewerComponentPro.java [ 22623 ] |
Naveen Anamaneni
made changes -
Attachment | 0022_G_WBM0_Widerrufsbelehrung_updated.pdf [ 22624 ] |
Patrick Corless
made changes -
Fix Version/s | 6.3 [ 13093 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #52071 | Thu Nov 09 13:41:22 MST 2017 | patrick.corless | isInteractiveAnnotationsEnabled flag on a document by document basis. The initial value is true but can be set to false for the initial launch using -Dorg.icepdf.core.annotations.interactive.enabled=false. |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-6.2.0/icepdf/viewer/src/org/icepdf/ri/common/views/annotations/PopupAnnotationComponent.java
MODIFY /icepdf/branches/icepdf-6.2.0/icepdf/viewer/src/org/icepdf/ri/common/views/DocumentViewModel.java MODIFY /icepdf/branches/icepdf-6.2.0/icepdf/viewer/src/org/icepdf/ri/common/views/annotations/AbstractAnnotationComponent.java MODIFY /icepdf/branches/icepdf-6.2.0/icepdf/viewer/src/org/icepdf/ri/common/views/AbstractDocumentViewModel.java |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Can you please provide a sample or part of the sample which satisfies the fix given - "move the flag out to the document model so that it can be easily configured on a document by document case.", since I have tried as I understood, by moving the flag to the outside of the SwingController object creation, which gives me the document, but the result didn't change for me.
My sample code attached here along with a sample acro form document, please check the code and modify according to the correct solution.