Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #11561 Reply

    Lenci

    Hello Dr.,

    Is it possible to highlight already existing annotations in the pdf that is loaded from the file system? Because I have a problem that two important annotations are not recognized and I don’t know if they are in the correct places. Any other annotations that are on the same page are working on every screen size (tablet application, Horizontal display mode, no zooming).

    Is it possible to “play” only some selected pages from the original pdf without using your PDFSplitter code and saving the new pdf to the file system?

    #11562 Reply

    Lenci

    …On Android 🙂

    #11572 Reply

    Dr. Plug
    Moderator

    Hello Lenci,

    Thank you for your patience.
    1. How about change the color of the annotations of give a color to the bbox of the annotations?
    You should make the functions to highlight your special annotations.

    2. Does it mean that you want to control some selected pages and save them in original pdf?
    For example we assume that there is 10 pages pdf and you want control 1-3 pages.
    Do you want to play only 1-3 pages and other pages be not shown when you watch the pdf?

    Best regards,

    Dr.PlugPDF
    PlugPDF Support

    #11573 Reply

    Lenci

    Thank You for your reply,

    Yes. I have a PDF with 10 to 120 pages and there is a list of “sub pdfs”, which are page numbers from the original slide (for example {2, 6, 8, 23, 56, 80} ) and when I select a “sub” I want to show/play these pages in the ReaderView, from the original PDF, but I don’t want to split the big pdf and save the “sub” as a new pdf in the file system.

    Is this possible?

    #11577 Reply

    Lenci

    Can you give me some answer, because I’m working on a project and It’s important. If it’s possible, then can you give a small hint?
    Thank you.

    Lenci

    #11594 Reply

    Dr. Plug
    Moderator

    Hello Lenci

    Sorry for the delay.

    I can suggest that use the onGoToPage method in your code.
    For example, the ReaderView go to 6 page after 2page.

    I hope that this will help you.

    Best regards,
    Dr.PlugPDF
    PlugPDF Support

    #11612 Reply

    Lenci

    Thank you for your answer, I will use this approach… however now I have this issue, that at swiping the wrong page is loaded for next/previous and it is not the best for the user experience.

    Can I disable paging with swipe? I only want to go to given pages from code with goToPage.

    Thanks.

    #11613 Reply

    Dr. Plug
    Moderator

    Hello Lenci

    There is the ReaderListener interface in our PlugPDF.
    It will be help you to use the goToPage method when action that you want is called.
    The code snippet will help you to use the interface.
    mReader.setReaderListener(new ReaderListener() {
    @Override
    public void onLoadFinish(OPEN state) {}
    public void onSingleTapUp(MotionEvent e) { }
    public void onSearchFinish(boolean success) {}
    public void onScroll(int distanceX, int distanceY) {}
    public void onGoToPage(int pageIdx, int pageCount) {}
    public void onDoubleTapUp(MotionEvent e) {}
    public void onChangeZoom(double zoomLevel) {}
    public void onChangeDisplayMode(PageDisplayMode mode, int pageIndex) {}
    public void onLongPress(MotionEvent e) {}
    });

    I hope that this will help you.

    Best regards,
    Dr.PlugPDF
    PlugPDF Support

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Annotation coloring, pdf splitting
Your information: