blob: cc0405d161fda545f7d611ee05113525c41a705e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
package com.artifex.mupdfdemo;
import android.graphics.PointF;
import android.graphics.RectF;
enum Hit {Nothing, Widget, Annotation};
public interface MuPDFView {
public void setPage(int page, PointF size);
public void setScale(float scale);
public int getPage();
public void blank(int page);
public Hit passClickEvent(float x, float y);
public LinkInfo hitLink(float x, float y);
public void selectText(float x0, float y0, float x1, float y1);
public void deselectText();
public boolean copySelection();
public boolean markupSelection(Annotation.Type type);
public void deleteSelectedAnnotation();
public void setSearchBoxes(RectF searchBoxes[]);
public void setLinkHighlighting(boolean f);
public void deselectAnnotation();
public void startDraw(float x, float y);
public void continueDraw(float x, float y);
public void cancelDraw();
public boolean saveDraw();
public void setChangeReporter(Runnable reporter);
public void update();
public void addHq(boolean update);
public void removeHq();
public void releaseResources();
}
|