ICEpdf
  1. ICEpdf
  2. PDF-265

Headless Search Controller API Change and example

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2
    • Component/s: Core/Parsing, Viewer RI
    • Labels:
      None
    • Environment:
      any

      Description

      This came in through the forms a while ago but I can't seem to find the exact case. Basically a user wanted to do page captures that has some search/highlighted text on it and a headless exception came out of the RI related to cursor changes. The search as currently written has a pretty heavy Swing dependency and requires the RI SwingController.

      An nice enhancement would be have a new constructor which only required a Document object reference as well as an example of how to do search/highlighting in a headless environment.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #23987 Tue Feb 22 08:32:44 MST 2011 patrick.corless PDF-265 updated DocumentSearchControllerImpl to use a Document instance in it's constructor as an alternative to using the full SwingController and Swing dependencies. Also added a new search example for showing how to do searching in an headless environment.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingController.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/search/DocumentSearchControllerImpl.java
        Commit graph ADD /icepdf/trunk/icepdf/examples/search/SearchControllerHeadless.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Document.java

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: