Test repository to check push and ssh key
Find a file
Hossein ea5641baee Updated README.md files to represent current code / use Markdown format
Previously, all of the README files have been renamed to README.md
and now, the contents of these files were changed to use Markdown
format. Other than format inconsistency, some README.md files lacked
information about modules, or were out of date. By using LibreOffice
/ OpenOffice wiki and other documentation websites, these files were
updated. Now every README.md file has a title, and some description.
The top-level README.md file is changed to add links to the modules.
The result of processing the Markdown format README.md files can be
seen at: https://docs.libreoffice.org/

Change-Id: Ic3b0c3c064a2498d6a435253b041df010cd7797a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113424
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-04-07 17:47:16 +02:00
.git-hooks replace stock button images 2021-01-15 17:37:36 +01:00
.github add .github/lockdown.yml to auto-close issues/pull-requests 2021-01-27 11:20:04 +01:00
.vscode vscode: make it work better when srcdir=buildir and add mac lldb config 2021-02-13 13:13:35 +01:00
accessibility Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
android Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
animations Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
apple_remote Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
avmedia Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
basctl Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
basegfx Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
basic Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
bean Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
bin Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
binaryurp Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
bridges Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
canvas Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
chart2 Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
cli_ure Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
codemaker Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
comphelper Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
compilerplugins Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
config_host Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
configmgr Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
connectivity Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
cppcanvas Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
cppu Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
cppuhelper Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
cpputools Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
cui Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
dbaccess Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
desktop Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
dictionaries@a968e48f9b Update git submodules 2021-01-27 11:23:47 +01:00
distro-configs Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
drawinglayer Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
editeng Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
embeddedobj Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
embedserv Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
emfio Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
eventattacher Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
extensions Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
external Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
extras Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
filter Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
forms Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
formula Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
fpicker Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
framework Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
helpcompiler Use GetShortPathNameW workaround on Windows for help indexer 2021-01-02 07:25:45 +01:00
helpcontent2@cc74ec0700 Update git submodules 2021-04-06 22:59:55 +02:00
hwpfilter Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
i18nlangtag Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
i18npool Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
i18nutil Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
icon-themes Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
idl Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
idlc Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
include implement operators +,-,*,/ for tools::Size 2021-04-07 17:00:38 +02:00
instsetoo_native Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
io Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
ios Fix editing mistake for iOS build 2021-03-25 15:30:12 +02:00
javaunohelper Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
jurt Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
jvmaccess Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
jvmfwk Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
l10ntools Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
librelogo Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
libreofficekit Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
lingucomponent Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
linguistic Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
lotuswordpro Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
m4 Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
nlpsolver Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
o3tl Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
odk Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
offapi Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
officecfg Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
onlineupdate Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
oovbaapi Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
oox Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
opencl Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
osx Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
package Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
pch Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
postprocess Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
pyuno Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
qadevOOo Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
readlicense_oo Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
registry Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
remotebridges Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
reportbuilder Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
reportdesign Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
ridljar Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
sal Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
salhelper Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
sax Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
sc Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
scaddins Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
sccomp Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
schema Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
scp2 Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
scripting Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
sd Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
sdext Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
setup_native add back sal/macros.h for SAL_N_ELEMENTS 2021-04-02 09:12:08 +02:00
sfx2 Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
shell Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
slideshow Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
smoketest Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
solenv Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
soltools Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
sot Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
starmath Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
stoc Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
store Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
svgio Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
svl Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
svtools Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
svx Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
sw Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
swext Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
sysui Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
test Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
testtools Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
toolkit Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
tools Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
translations@e882b1d51e Update git submodules 2021-04-06 15:29:26 +02:00
ucb Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
ucbhelper Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
udkapi Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
uitest Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
UnoControls Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
unodevtools Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
unoidl Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
unoil Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
unotest Exclude tests based on device color depth, not RDP 2021-04-01 17:39:54 +02:00
unotools Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
unoxml Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
ure Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
uui Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
vbahelper Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
vcl Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
winaccessibility Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
wizards Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
writerfilter Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
writerperfect Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
xmerge Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
xmlhelp Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
xmloff Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
xmlreader Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
xmlscript Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
xmlsecurity Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.git-blame-ignore-revs put clang-format commits to .git-blame-ignore-revs 2020-10-18 22:35:07 +02:00
.gitattributes
.gitignore qtcreator: Create *.pro.shared files instead of *.pro.user 2021-02-24 17:44:50 +01:00
.gitmodules gitmodules: use relative paths 2020-10-21 21:51:54 +02:00
.gitpod.dockerfile
.gitpod.yml Install C++ VSCode extension for Gitpod 2020-03-09 15:54:14 +01:00
.gitreview
antivirusDetection.vbs
autogen.sh Enable building for WSL (Linux) on WSL 2020-10-09 17:27:24 +02:00
BUCK Adapt buck build to jars merged into libreoffice.jar 2020-11-30 11:27:47 +01:00
config.guess Update config.{guess,sub} with latest versions and handle fallout of that 2020-08-07 11:34:28 +02:00
config.sub Fix typo 2020-08-07 17:11:39 +02:00
config_host.mk.in Add initial support for sccache builds on WNT 2021-04-03 21:17:48 +02:00
config_host_lang.mk.in
configure.ac Add initial support for sccache builds on WNT 2021-04-03 21:17:48 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst tdf#140229 neon: update to release 0.31.2 2021-04-02 19:35:07 +02:00
g Workaround a problem in Git for Windows' bash 2021-03-04 15:16:55 +01:00
hardened_runtime.xcent.in Explicitly require com.apple.security.cs.allow-jit 2020-12-08 15:35:29 +01:00
install-sh
install_deps.sh Initial version of script to install dependencies 2021-03-31 17:38:48 +02:00
leak-suppress.txt ignore leaks in idlc 2020-05-07 19:28:07 +02:00
Library_merged.mk
lo.xcent Add the com.apple.security.cs.disable-executable-page-protection here, too 2020-04-29 17:15:15 +02:00
logerrit fix logerrit on mac 2021-04-06 15:22:41 +02:00
Makefile.fetch Drop external owncloud-android-lib 2021-03-22 07:55:52 +01:00
Makefile.gbuild Fix the minimal build-tools target 2020-09-11 18:34:48 +02:00
Makefile.in skip check-if-root test if LIB_FUZZING_ENGINE is set 2021-04-07 15:01:10 +02:00
README.cross Add missing autogen.input entries to README.cross 2020-03-25 16:25:14 +01:00
README.md Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
README.Solaris
Repository.mk tdf#124173: Enable thesauruses in the iOS app 2021-03-25 09:06:39 +01:00
RepositoryExternal.mk Rename LO Windows arm64 ID to aarch64 2021-03-23 23:46:12 +01:00
RepositoryFixes.mk
RepositoryModule_build.mk Don't lock galleries build into DESKTOP 2020-12-23 01:52:11 +01:00
RepositoryModule_host.mk add --disable-librelogo to disable LibreLogo at build time 2021-01-19 13:55:08 +01:00
sanitize-ubsan-excludelist replace usage of blacklist with denylist 2020-07-10 01:34:54 +02:00
setup.cfg
TEMPLATE.SOURCECODE.HEADER Make it clear that the text is in addition to the previous 2021-01-27 08:02:35 +01:00

LibreOffice

Coverity Scan Build Status CII Best Practices Translation status

LibreOffice is an integrated office suite based on copyleft licenses and compatible with most document formats and standards. Libreoffice is backed by The Document Foundation, which represents a large independent community of enterprises, developers and other volunteers moved by the common goal of bringing to the market the best software for personal productivity. LibreOffice is open source, and free to download, use and distribute.

A quick overview of the LibreOffice code structure.

Overview

You can develop for LibreOffice in one of two ways, one recommended and one much less so. First the somewhat less recommended way: it is possible to use the SDK to develop an extension, for which you can read the API docs here and here. This re-uses the (extremely generic) UNO APIs that are also used by macro scripting in StarBasic.

The best way to add a generally useful feature to LibreOffice is to work on the code base however. Overall this way makes it easier to compile and build your code, it avoids any arbitrary limitations of our scripting APIs, and in general is far more simple and intuitive - if you are a reasonably able C++ programmer.

The Build Chain and Runtime Baselines

These are the current minimal operating system and compiler versions to run and compile LibreOffice, also used by the TDF builds:

  • Windows:
    • Runtime: Windows 7
    • Build: Cygwin + Visual Studio 2019 version 16.5
  • macOS:
    • Runtime: 10.10
    • Build: 10.14.4 + Xcode 11.3
  • Linux:
    • Runtime: RHEL 7 or CentOS 7
    • Build: either GCC 7.0.0; or Clang 5.0.2 with libstdc++ 7.3.0
  • iOS (only for LibreOfficeKit):
    • Runtime: 11.4 (only support for newer i devices == 64 bit)
    • Build: Xcode 9.3 and iPhone SDK 11.4
  • Android:
    • Build: NDK r19c and SDK 22.6.2

If you want to use Clang with the LibreOffice compiler plugins, the minimal version of Clang is 5.0.2. Since Xcode doesn't provide the compiler plugin headers, you have to compile your own Clang to use them on macOS.

You can find the TDF configure switches in the distro-configs/ directory.

To setup your initial build environment on Windows and macOS, we provide the LibreOffice Development Environment (LODE) scripts.

For more information see the build instructions for your platform in the TDF wiki.

The Important Bits of Code

Each module should have a README.md file inside it which has some degree of documentation for that module; patches are most welcome to improve those. We have those turned into a web page here:

https://docs.libreoffice.org/

However, there are two hundred modules, many of them of only peripheral interest for a specialist audience. So - where is the good stuff, the code that is most useful. Here is a quick overview of the most important ones:

Module Description
sal/ this provides a simple System Abstraction Layer
tools/ this provides basic internal types: Rectangle, Color etc.
vcl/ this is the widget toolkit library and one rendering abstraction
framework/ UNO framework, responsible for building toolbars, menus, status bars, and the chrome around the document using widgets from VCL, and XML descriptions from /uiconfig/ files
sfx2/ legacy core framework used by Writer/Calc/Draw: document model / load/save / signals for actions etc.
svx/ drawing model related helper code, including much of Draw/Impress

Then applications

Module Description
desktop/ this is where the main() for the application lives, init / bootstrap. the name dates back to an ancient StarOffice that also drew a desktop
sw/ Writer
sc/ Calc
sd/ Draw / Impress

There are several other libraries that are helpful from a graphical perspective:

Module Description
basegfx/ algorithms and data-types for graphics as used in the canvas
canvas/ new (UNO) canvas rendering model with various backends
cppcanvas/ C++ helper classes for using the UNO canvas
drawinglayer/ View code to render drawable objects and break them down into primitives we can render more easily.

Rules for #include Directives (C/C++)

Use the "..." form if and only if the included file is found next to the including file. Otherwise, use the <...> form. (For further details, see the mail Re: C[++]: Normalizing include syntax ("" vs <>).)

The UNO API include files should consistently use double quotes, for the benefit of external users of this API.

loplugin:includeform (compilerplugins/clang/includeform.cxx) enforces these rules.

Finding Out More

Beyond this, you can read the README.md files, send us patches, ask on the mailing list libreoffice@lists.freedesktop.org (no subscription required) or poke people on IRC #libreoffice-dev on irc.freenode.net - we're a friendly and generally helpful mob. We know the code can be hard to get into at first, and so there are no silly questions.