diff options
author | brainbreaker <gautamprajapati06@gmail.com> | 2017-03-14 19:12:20 +0530 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2017-03-30 19:59:10 +0000 |
commit | 1503769fe15c122ff2bb8f6f7e7b4ab72656ddc2 (patch) | |
tree | c839a253bebc30893e94887d80d48f7c0182a38f /android/Bootstrap | |
parent | 0466d0c815f8b0f60497faec8b60a18d35a61eca (diff) |
tdf#106325 - No way to create a new Document
This commit will add the ability to create a new document.
A FAB is used in home screen which on expansion gives
four options namely new writer document, new impress,
new Sheet or new Draw. Two new events loadNewDocument
and saveDocumentAs have been added.
Another major change includes the use of constraint layout
in LOUIActivity layout as it decreases nesting of views and
improves the app performance. This was needed because
of the new FAB layouts being added.
Support for vector drawables has been enabled.
Change-Id: Ia3ea17f73c0d8514f8ddb7b9a1cbd2ce7de6ac08
Reviewed-on: https://gerrit.libreoffice.org/35183
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'android/Bootstrap')
-rw-r--r-- | android/Bootstrap/src/org/libreoffice/kit/Document.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/Bootstrap/src/org/libreoffice/kit/Document.java b/android/Bootstrap/src/org/libreoffice/kit/Document.java index a7d3f04938bb..7cf99413644c 100644 --- a/android/Bootstrap/src/org/libreoffice/kit/Document.java +++ b/android/Bootstrap/src/org/libreoffice/kit/Document.java @@ -147,7 +147,7 @@ public class Document { public native void setClientZoom(int nTilePixelWidth, int nTilePixelHeight, int nTileTwipWidth, int nTileTwipHeight); - private native void saveAs(String url, String format, String options); + public native void saveAs(String url, String format, String options); private native void paintTileNative(ByteBuffer buffer, int canvasWidth, int canvasHeight, int tilePositionX, int tilePositionY, int tileWidth, int tileHeight); |