summaryrefslogtreecommitdiff
path: root/android/source/src/java/org/libreoffice/LOKitShell.java
diff options
context:
space:
mode:
Diffstat (limited to 'android/source/src/java/org/libreoffice/LOKitShell.java')
-rw-r--r--android/source/src/java/org/libreoffice/LOKitShell.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/android/source/src/java/org/libreoffice/LOKitShell.java b/android/source/src/java/org/libreoffice/LOKitShell.java
index 609a6cf56bf1..aff04720b2c0 100644
--- a/android/source/src/java/org/libreoffice/LOKitShell.java
+++ b/android/source/src/java/org/libreoffice/LOKitShell.java
@@ -59,6 +59,14 @@ public class LOKitShell {
return LibreOfficeMainActivity.mAppContext.getToolbarController();
}
+ public static FormattingController getFormattingController() {
+ return LibreOfficeMainActivity.mAppContext.getFormattingController();
+ }
+
+ public static FontController getFontController() {
+ return LibreOfficeMainActivity.mAppContext.getFontController();
+ }
+
public static int getMemoryClass(Context context) {
ActivityManager activityManager = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);
return activityManager.getMemoryClass() * 1024 * 1024;