1 /* Configuration of high-level features that either 1) depend on the
2 * platform (but are common to several platforms so just checking for
3 * the feature is simpler than checking for several platforms), or 2)
4 * are build-time configurable.
7 #ifndef CONFIG_FEATURES_H
8 #define CONFIG_FEATURES_H
10 /* AVMEDIA - Whether to have functionality to display and manipulate
11 * embedded AV media in documents
14 #define HAVE_FEATURE_AVMEDIA 0
16 /* DBCONNECTIVITY - Whether to have functionality to connect to
20 #define HAVE_FEATURE_DBCONNECTIVITY 0
22 /* SCRIPTING - Whether we have any mechanism to execute user-provided scripts
24 * Primarily intended for the iOS App Store where the
25 * rules prohibit user-accessible scripting features.
26 * Sure, it would be nice to still be able to have internal features
27 * implemented in some scripting language. Later, if necessary.
30 #define HAVE_FEATURE_SCRIPTING 0
32 /* MULTIUSER_ENVIRONMENT - Whether running on a "normal" multi-user
33 * desktop (or server) OS
35 * Non-MULTIUSER implies that the OS makes sure that only one
36 * LibreOffice-based process at a time can be running that could
37 * access the same local documents, and that thus no locking of local
38 * documents is needed, and that no "shared documents" in Calc
41 * Non-MULTIUSER in practice means Android or iOS for now, so thus is
45 #define HAVE_FEATURE_MULTIUSER_ENVIRONMENT 0
48 * Whether the OS has Avahi support,
49 * This library is used for zeroconf service publication on the local network
50 * for the Impress remote control, so that the remote can automatically
51 * discover the running libO instance and its IP address.
53 * This library should be present on most modern linux distributions
54 * but not on "all" of them. For now, you should add --enable-avahi for
55 * this to be taken into account. Otherwise the test of its presence
56 * will not take place.
59 #define HAVE_FEATURE_AVAHI 0
61 /* MACOSX_SANDBOX - whether LibreOffice runs in a macOS sandbox
63 * When building LibreOffice for distribution through the Mac App Store,
64 * it must be sandboxed.
67 #define HAVE_FEATURE_MACOSX_SANDBOX 0
69 /* READONLY_INSTALLSET - whether to treat the installation as read-only
71 * Prevents attempts by LibreOffice to write into its installation. That means
72 * at least that no "system-wide" extensions can be added, if the location for
73 * them is the traditional one right in the middle of the installation.
74 * Probably not completely implemented.
77 #define HAVE_FEATURE_READONLY_INSTALLSET 0
80 * Whether we support breakpad as crash reporting lib.
82 #define HAVE_FEATURE_BREAKPAD 0
84 /* BACKTRACE - whether a GNU backtrace implementation is available.
86 #define HAVE_FEATURE_BACKTRACE 0
89 * Whether OpenGL is enabled
91 #define HAVE_FEATURE_OPENGL 0
94 * Whether Skia is enabled
96 #define HAVE_FEATURE_SKIA 0
99 * Whether User Interface is available
101 #define HAVE_FEATURE_UI 0
104 * Whether PDF import is available
106 #define HAVE_FEATURE_PDFIMPORT 0
109 * Whether poppler is available
111 #define HAVE_FEATURE_POPPLER 0
114 * Whether the automatic online updater is available
116 #define HAVE_FEATURE_UPDATE_MAR 0
119 * Whether we are avoiding the tweaks needed for the Android app from the
122 #define HAVE_FEATURE_ANDROID_LOK 0
125 * Whether this is a Community Edition.
127 #define HAVE_FEATURE_COMMUNITY_FLAVOR 0
129 /* XMLHELP - whether we include the XML help mechanisms
131 * Can be turned off with --without-xmlhelp
133 #define HAVE_FEATURE_XMLHELP 0
136 * Whether oosplash calls pagein binaries to speed up library loading.
137 * Probably not useful nowadays with SSD based systems.
139 #define HAVE_FEATURE_PAGEIN 0
142 * Whether Calc supports jumbo sheets (more than 1m rows), which can overflow
143 * 32bit drawing coordinates (see tools::Long definition).
145 #define HAVE_FEATURE_JUMBO_SHEETS 0