Test repository to check push and ssh key
Find a file
Rizal Muttaqin b2da36a083 tdf#155374 Icons for PageNumberWizard
Change-Id: Ie0317d6640e2c2a40dc3e5808397dfada6edc55a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152408
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
2023-05-30 23:23:31 +02:00
.git-hooks related tdf#154946: check syntax in git pre-commit hook 2023-04-21 14:15:18 +02:00
.github workflows: Update dessant/repo-lockdown to v3 2023-04-22 03:27:06 +02:00
.vscode vscode: add Cygwin terminal profile and config for VS debugger for Windows 2023-04-18 14:30:11 +02:00
accessibility tdf#105404 [API CHANGE] add index to accessiblity change event 2023-05-04 13:56:46 +02:00
android android: Update Android Gradle Plugin to 7.4.2 2023-03-13 08:25:39 +00:00
animations improve some usage of OInterfaceIteratorHelper4 2023-05-07 08:00:46 +02:00
apple_remote Add support for macOS SDK 12.0 2021-10-27 16:32:04 +02:00
avmedia Use getXWeak in avmedia 2023-04-29 21:35:24 +02:00
basctl Remove triplicated include 2023-05-24 15:02:38 +02:00
basegfx Use getXWeak in basegfx 2023-05-28 10:04:12 +02:00
basic merge some stringadds 2023-05-25 18:43:52 +02:00
bean
bin merge expwrap into sax library 2023-05-30 08:45:46 +02:00
binaryurp Use getXWeak in binaryurp 2023-05-28 09:06:11 +02:00
bridges Fix compilation with latest Xcode with iOS SDK 16.4 2023-04-20 21:35:01 +02:00
canvas MCGR: Reduce diverse GradientStyle enums to single UNO API one 2023-04-21 15:03:14 +02:00
chart2 merge some stringadds 2023-05-25 18:43:52 +02:00
cli_ure Avoid MSVC error C2039 2023-04-17 15:07:57 +02:00
codemaker loplugin:stringadd in c* 2023-03-24 15:29:18 +00:00
comphelper replace find_if by none_of 2023-05-26 12:49:14 +02:00
compilerplugins loplugin:unusedmethods 2023-05-20 12:55:07 +02:00
config_host
configmgr merge some stringadds 2023-05-25 18:43:52 +02:00
connectivity Typo: aCatlog->aCatalog 2023-05-28 18:42:14 +02:00
cppcanvas MCGR: Reduce diverse GradientStyle enums to single UNO API one 2023-04-21 15:03:14 +02:00
cppu loplugin:stringadd in c* 2023-03-24 15:29:18 +00:00
cppuhelper use WeakComponentImplHelper2 in Bootstrap_MacroExpander 2023-05-10 08:01:47 +02:00
cpputools
cui use more TypedWhichInfo 2023-05-30 08:14:35 +02:00
dbaccess use more TypedWhichId 2023-05-29 13:13:44 +02:00
desktop desktop: check getDialog() 2023-05-25 16:57:51 +02:00
dictionaries@2404521a6c Update git submodules 2023-05-24 12:37:23 +02:00
distro-configs Re-enable Skia in Flatpak builds 2023-03-01 16:26:32 +00:00
docmodel change ComplexColor to show more useful properties 2023-05-12 05:00:39 +02:00
drawinglayer improved B2DHomMatrix 2023-05-18 21:18:06 +02:00
editeng use more TypedWhichId 2023-05-26 13:49:54 +02:00
embeddedobj add a route to get writer Floating Frame links under 'manage links' 2023-04-14 11:53:54 +02:00
embedserv Use getXWeak in embedserv 2023-05-28 10:03:59 +02:00
emfio ofz#58991 Heap-buffer-overflow 2023-05-15 12:20:15 +02:00
eventattacher Use getXWeak in eventattacher 2023-05-28 10:03:41 +02:00
extensions use more TypedWhichId 2023-05-26 13:49:54 +02:00
external [3.0] external/openssl: add patch for CVE-2023-0464 2023-05-28 12:57:47 +02:00
extras Remove namespace prefix in manifest.xml (extras/pt-PT) 2023-04-22 10:37:51 +02:00
filter Fix typo 2023-05-24 20:37:57 +02:00
forms use more TypedWhichId in editeng 2023-05-25 07:52:21 +02:00
formula tdf#104487 - Function wizard: remember last used function category 2023-05-09 17:39:05 +02:00
fpicker Use getXWeak in fpicker 2023-05-27 17:09:53 +02:00
framework merge some stringadds 2023-05-25 18:43:52 +02:00
helpcompiler loplugin:unnecessarygetstr extend to more std::string checking 2023-04-24 18:04:50 +02:00
helpcontent2@e21dbdfd85 Update git submodules 2023-05-30 22:46:31 +02:00
hwpfilter ofz#58400 Timeout 2023-04-30 10:58:48 +02:00
i18nlangtag Related: tdf#154832 Official name is Morisyen 2023-04-16 14:11:56 +02:00
i18npool Remove recently unused CTLScriptType code 2023-05-29 16:23:07 +02:00
i18nutil Remove recently unused CTLScriptType code 2023-05-29 16:23:07 +02:00
icon-themes tdf#155374 Icons for PageNumberWizard 2023-05-30 23:23:31 +02:00
idl Drop SvStream::WriteCharPtr 2023-04-10 23:13:32 +02:00
idlc/test/parser
include Resolves tdf#140091 - Tooltip to add sheets should be more informative 2023-05-30 13:53:15 +02:00
instsetoo_native Add configure switch to enable building the installer with WiX. 2023-05-23 11:47:19 +02:00
io Use getXWeak in io 2023-05-27 18:08:00 +02:00
ios
javaunohelper
jurt
jvmaccess
jvmfwk Allow bootstrap variables in Java user classpath settings 2023-05-25 16:19:00 +02:00
l10ntools loplugin:stringview whitelist getLength and isEmpty 2023-04-12 12:57:22 +02:00
librelogo tdf#147906: Use python's math.hypot() for Pythagorean addition 2023-03-19 18:17:46 +00:00
libreofficekit Add LoKit callback for application color change 2023-04-01 13:03:22 +02:00
lingucomponent loplugin:unnecessarygetstr extend to more std::string checking 2023-04-24 18:04:50 +02:00
linguistic use more optional for CharClass 2023-05-13 14:56:06 +02:00
lotuswordpro ofz#58529 Null-dereference READ 2023-05-02 12:54:04 +02:00
m4 Fix typo 2023-04-06 14:15:12 +02:00
msicreator msicreator: fix hardcoded wix toolset path 2023-04-28 11:22:44 +02:00
nlpsolver Fix title for nlpsolver/README.md 2022-12-19 09:42:02 +00:00
o3tl update loplugin:stringview* for o3tl::iterateCodePoints 2023-05-06 12:09:48 +02:00
odk Add script to find unused using declarations 2023-04-25 08:09:28 +02:00
offapi Remove recently unused CTLScriptType code 2023-05-29 16:23:07 +02:00
officecfg tdf#148756: Fix document type in option dialog 2023-05-27 09:00:08 +02:00
onlineupdate
oovbaapi tdf#150281: Fix CentimetersToPoints in Calc 2023-03-13 15:16:24 +00:00
oox merge expwrap into sax library 2023-05-30 08:45:46 +02:00
opencl Drop SvStream::WriteCharPtr 2023-04-10 23:13:32 +02:00
osx
package loplugin:unusedmethods 2023-05-20 12:55:07 +02:00
pch merge expwrap into sax library 2023-05-30 08:45:46 +02:00
postprocess [API CHANGE] Drop obsolete TemplateRepositoryURL config key 2023-05-06 00:40:01 +02:00
pyuno loplugin:stringadd 2023-04-17 11:42:07 +02:00
qadevOOo Remove remnant commented code concerning recently dropped "XAccessibleStateSet" 2023-05-16 23:11:26 +02:00
readlicense_oo update credits 2023-05-03 17:10:16 +02:00
registry loplugin:stringadd in registry..sal 2023-03-25 19:03:28 +00:00
remotebridges
reportbuilder Fix some getImplementationName 2023-04-21 08:05:46 +02:00
reportdesign use more TypedWhichId 2023-05-26 13:49:54 +02:00
ridljar InputStreamToXInputStreamAdapter.readBytes() should read... 2023-02-28 11:12:06 +00:00
sal Revert a thinko from commit 876010cbc4 2023-05-07 08:07:40 +02:00
salhelper Recheck modules s[a-c]* with IWYU 2022-02-14 15:25:30 +01:00
sax merge expwrap into sax library 2023-05-30 08:45:46 +02:00
sc Revert "Resolves: tdf#155453 formatting lost when formula bar edited via IM" 2023-05-30 22:27:14 +02:00
scaddins Drop some defines in scaddins 2023-04-22 14:17:59 +02:00
sccomp Extend loplugin:cppunitassertequals to more argument types 2023-02-23 07:04:09 +00:00
schema xmloff: add color-type attribute to complex color 2023-05-27 06:00:31 +02:00
scp2
scripting Use getXWeak in scripting 2023-04-30 20:35:05 +02:00
sd tdf#155393 SdNavigator: Enhancement to navigate in Notes view 2023-05-30 21:06:26 +02:00
sdext Use getXWeak in sdext 2023-04-30 17:45:22 +02:00
setup_native
sfx2 use more TypedWhichId 2023-05-26 13:49:54 +02:00
shell Use getXWeak in shell 2023-04-30 17:05:28 +02:00
slideshow use AlphaMask for variables when calling GetAlphaMask 2023-05-07 20:17:16 +02:00
smoketest clang-tidy modernize-pass-by-value in various 2022-08-13 19:11:49 +02:00
solenv merge expwrap into sax library 2023-05-30 08:45:46 +02:00
soltools Remove support for AIX 2023-01-27 07:28:16 +00:00
sot Use getXWeak in sot 2023-04-30 20:34:59 +02:00
starmath use more TypedWhichId 2023-05-26 11:18:07 +02:00
static tdf#142978 Remove a11y check dialog 2023-03-23 21:51:46 +00:00
stoc merge some stringadds 2023-05-25 18:43:52 +02:00
store
svgio expose parsing svgs for testing 2023-04-26 16:23:49 +02:00
svl Fix typo 2023-05-27 12:33:46 +02:00
svtools tdf#154547: Improve Hebrew font preview sample text 2023-05-28 13:07:46 +02:00
svx avoid some invalid Fraction objects 2023-05-29 21:35:07 +02:00
sw tdf#140508 doc import: auto-contour for textboxes 2023-05-30 21:33:16 +02:00
swext
sysui tdf#152598 Update .ico files 2023-03-11 18:09:28 +00:00
test Don't even bother to introduce unused variables 2023-05-23 14:35:03 +02:00
testtools Use getXWeak in testtools 2023-05-27 20:14:56 +02:00
toolkit move a toolkit header inside the module 2023-05-09 18:12:21 +02:00
tools Factor out DateTime::NormalizeTimeRemainderAndApply(tools::Time& rTime) 2023-05-28 03:49:55 +02:00
translations@b2e864f9b4 Update git submodules 2023-05-22 12:37:25 +02:00
ucb merge some stringadds 2023-05-25 18:43:52 +02:00
ucbhelper Use getXWeak in ucbhelper 2023-05-27 20:14:40 +02:00
udkapi Introduce css.reflection.Dump singleton 2023-03-22 08:46:35 +00:00
uitest tdf#154131 Add Detect scientific number option 2023-05-26 23:57:16 +02:00
UnoControls Use getXWeak in UnoControls 2023-05-27 15:20:51 +02:00
unodevtools Revert "Use getXWeak in unodevtools" 2023-05-30 13:56:49 +02:00
unoidl tdf#147021 Use std::size() instead of SAL_N_ELEMENTS() macro 2022-11-06 01:22:27 +01:00
unoil allow native compile for windows aarch64 2023-04-11 12:06:25 +02:00
unotest loplugin:unnecessarygetstr 2023-05-05 10:11:54 +02:00
unotools Related tdf#154769: XML Form add limits of length value for some datatype 2023-05-03 13:55:30 +02:00
unoxml Use getXWeak in unoxml 2023-05-27 12:46:01 +02:00
ure Revert "Use getXWeak in ure" 2023-05-30 13:57:12 +02:00
uui Avoid conversions between OUString and OString in VCL 2023-04-02 18:46:47 +02:00
vbahelper use more XVclWindowPeer 2023-04-01 14:42:17 +02:00
vcl Related: tdf#155542 drop workaround for "XB Roya" issue 2023-05-30 15:53:09 +02:00
winaccessibility loplugin:stringadd 2023-04-17 15:45:06 +02:00
wizards Fix typo 2023-05-27 13:50:12 +02:00
writerfilter sw floattable: handle \nobrkwrptbl in the RTF filter 2023-05-30 12:49:52 +02:00
writerperfect Add script to find unused using declarations 2023-04-25 08:09:28 +02:00
xmerge
xmlhelp Use getXWeak in xmlhelp 2023-05-06 12:27:42 +02:00
xmloff Fix wrong check 2023-05-30 15:58:49 +02:00
xmlreader
xmlscript Use getXWeak in xmlscript 2023-05-06 12:28:01 +02:00
xmlsecurity xmlsecurity: do not run the test with HAVE_FEATURE_PDFIMPORT 2023-05-16 14:18:16 +02:00
.buckconfig Add build toolchain to upload LibreOffice API to Maven Central 2015-12-03 23:32:11 +00:00
.buckversion Add build toolchain to upload LibreOffice API to Maven Central 2015-12-03 23:32:11 +00:00
.clang-format
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore Add .cache (Qt Creator) and gdbtrace.log (gdb) 2023-04-28 21:54:20 +02:00
.gitmodules gitmodules: use relative paths 2020-10-21 21:51:54 +02:00
.gitpod.dockerfile
.gitpod.yml
.gitreview git-review: Use the hostname instead of alias. 2019-05-15 15:13:47 +02:00
antivirusDetection.vbs tdf#84553 Correctly handle failures while getting a WMI Object. 2020-02-12 09:14:03 +01:00
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in New --with-coredumpctl to obtain core dumps of crashed tests from coredumpctl 2023-04-02 18:02:27 +02:00
config_host_lang.mk.in don't export the various language lists and consolidate them 2022-12-15 21:07:37 +00:00
configure.ac Add configure switch to enable building the installer with WiX. 2023-05-23 11:47:19 +02:00
COPYING Licencing files 2011-01-11 21:49:39 +00:00
COPYING.LGPL Licencing files 2011-01-11 21:49:39 +00:00
COPYING.MPL
cpp.hint Add a VisualStudio cpp.hint file 2022-08-22 16:01:16 +02:00
download.lst Update pdfium to 5778 2023-05-25 08:12:41 +02:00
g git-hooks: remove hint in './g -z' 2023-04-01 13:28:14 +02:00
hardened_runtime.xcent.in
install-sh
install_deps.sh Make some scripts more portable 2021-08-20 12:32:22 +02:00
leak-suppress.txt
Library_merged.mk
lo.xcent.in
logerrit
Makefile.fetch tdf#136604: Remove Source Sans Pro fonts 2022-12-31 19:34:37 +00:00
Makefile.gbuild
Makefile.in add fetch to dependencies of gbuildtojson / Rdb target 2023-04-11 12:39:46 +02:00
README.cross
README.help.md
README.md Update Android baseline in README.md 2023-02-16 20:33:15 +00:00
README.Solaris
Repository.mk merge expwrap into sax library 2023-05-30 08:45:46 +02:00
RepositoryExternal.mk Depend on ExternalPackage_fontconfig, not just ExternalProject_fontconfig 2023-03-07 18:43:56 +00:00
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk introduce docmodel comp., model::ThemeColor, use it in SvxColorItem 2023-01-12 23:15:58 +00:00
sanitize-ubsan-excludelist
setup.cfg
TEMPLATE.SOURCECODE.HEADER
tsan-suppress.txt update TSAN suppressions 2023-01-30 13:53:45 +00: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 and Developers Guide. 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.10
  • macOS:
    • Runtime: 10.15
    • Build: 12 (13 for aarch64) + Xcode 14
  • Linux:
    • Runtime: RHEL 7 or CentOS 7
    • Build: either GCC 7.0.0; or Clang 8.0.1 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 r23 and SDK 30.0.3
  • Emscripten / WASM:
    • Runtime: a browser with SharedMemory support (threads + atomics)
    • Build: Qt 5.15 with Qt supported Emscripten 1.39.8
    • See README.wasm

Java is required for building many parts of LibreOffice. In TDF Wiki article Development/Java, the exact modules that depend on Java are listed.

The baseline for Java is Java Development Kit (JDK) Version 11 or later. It is possible to build LibreOffice with JDK version 9, but it is no longer supported by the JDK vendors, thus it should be avoided.

If you want to use Clang with the LibreOffice compiler plugins, the minimal version of Clang is 12.0.1. 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.libera.chat - 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.