From a0deb45fa098ea5ceee2c712ec354dfe322abef0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Thu, 21 Dec 2023 14:09:00 +0900 Subject: [PATCH] WIP --- .../nem/lacerta/processor/DocumentProcessor.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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(); + }