diff --git a/processor/src/main/java/one/nem/lacerta/processor/DocumentProcessor.java b/processor/src/main/java/one/nem/lacerta/processor/DocumentProcessor.java index 4e6631e6..e822e683 100644 --- a/processor/src/main/java/one/nem/lacerta/processor/DocumentProcessor.java +++ b/processor/src/main/java/one/nem/lacerta/processor/DocumentProcessor.java @@ -1,4 +1,20 @@ package one.nem.lacerta.processor; +import android.graphics.Bitmap; + public interface DocumentProcessor { + + // ページ操作 + void addNewPageToLast(Bitmap bitmap); + void addNewPageAfterIndex(Bitmap bitmap, int index); + void addNewPageBeforeIndex(Bitmap bitmap, int index); + void removePageAtIndex(int index); + + // 更新 + void updatePageAtIndex(Bitmap bitmap, int index); + + // ページ取得 + Bitmap getPageAtIndex(int index); + int getPageCount(); + }