mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-07 19:47:36 +00:00
WIP
This commit is contained in:
2 files changed
+7
-1
No files matched your search
@@ -133,6 +133,8 @@ public class DocumentProcessorImpl implements DocumentProcessor{
|
||||
logger.debug("updatePageAtIndex", "called");
|
||||
String filename = UUID.randomUUID().toString() + ".png"; // TODO-rca: 拡張子を動的にする
|
||||
|
||||
logger.debug("updatePageAtIndex", "filename1: " + filename);
|
||||
|
||||
try {
|
||||
this.fileManager.getNewInstance().createDirectoryIfNotExist(DEFAULT_SAVE_DIR).resolve(DEFAULT_SAVE_DIR).saveBitmap(bitmap, filename);
|
||||
} catch (Exception e) {
|
||||
@@ -142,6 +144,8 @@ public class DocumentProcessorImpl implements DocumentProcessor{
|
||||
lacertaVcs.undo();
|
||||
}
|
||||
|
||||
logger.debug("updatePageAtIndex", "filename: " + filename);
|
||||
|
||||
Page page = new Page();
|
||||
page.setFileName(filename);
|
||||
page.setBitmap(bitmap);
|
||||
|
||||
Reference in new issue
Block a user