Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.0 - Beta
-
Fix Version/s: 4.0
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:Search for a term using search highlight and print a page that has a hit on it. The printed page should have the search highlight words on it.
-
ICEsoft Forum Reference:
Description
This came in though the forums. When I wrote the search highlight code I was only considering the screen representation and didn't cut the paint code in the rendering code and as a result search terms are not show when printing. As the form post suggested, this would be a nice feature have a available when printing.
Activity
Patrick Corless
created issue -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Fix Version/s | 4.0 [ 10222 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #20209 | Wed Jan 13 11:43:16 MST 2010 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/src/org/icepdf/core/views/swing/PageViewComponentImpl.java
MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/views/common/TextSelectionPageHandler.java MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Page.java |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #52082 | Wed Nov 15 07:20:27 MST 2017 | patrick.corless | clean up call. Addresses memory leak. |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/viewer/viewer-awt/src/main/java/org/icepdf/ri/common/views/TwoPageView.java
|
Updated the Page.paint method to take an optional boolean var to control whether or not the page is responsible for painting the text highlight state, this flag is similar to annotation painting flag. The reason for the two flags is that the interactive features search highlight and annotation editing that takes place PageViewComponentImp is best handled by the view and not the core.
However for printing and page captures we need to print the annotation and highlight state via the core and thus the flags can be enabled. If a page paint method does not specify boolean paintAnnotations or boolean paintSearchHighlight properties then it is assumed that the annotation and search hightlight graphcis are painted if present.