Test repository to check push and ssh key
Find a file
Gabor Kelemen 63e43c1db9 Drop Macromedia Flash export filter
Flash technology is going to be retired by the end of 2020 by Adobe:

https://theblog.adobe.com/adobe-flash-update/

With this ahead doesn't make much sense for LO 7.0 to support exporting
presentations and drawings to swf anymore.

Change-Id: Ic2c6e95db2f56bcd4eb25abdd0a6748aee9b0e4c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92507
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-04-23 16:16:12 +02:00
.git-hooks
.github
accessibility uiobject.hxx only needs forward declares 2020-04-22 09:39:07 +02:00
android
animations loplugin:flatten in accessibility 2020-04-18 21:46:57 +02:00
apple_remote
avmedia move InterimItemWindow to svtools 2020-04-22 18:27:24 +02:00
basctl move InterimItemWindow to svtools 2020-04-22 18:27:24 +02:00
basegfx tdf#42949 Simplify use of rtl::math::approxEqual in include/basegfx/ 2020-04-22 15:36:50 +02:00
basic uiobject.hxx only needs forward declares 2020-04-22 09:39:07 +02:00
bean
bin bin: Add script to find missing unittests based on git log 2020-04-15 17:54:14 +02:00
binaryurp
bridges loplugin:flatten in bridges 2020-04-18 21:47:45 +02:00
canvas tdf#42949 Simplify use of rtl::math::approxEqual in include/basegfx/ 2020-04-22 15:36:50 +02:00
chart2 move InterimItemWindow to svtools 2020-04-22 18:27:24 +02:00
cli_ure Fix typos 2020-04-22 15:48:11 +02:00
codemaker loplugin:flatten in codemaker 2020-04-18 21:46:13 +02:00
comphelper uiobject.hxx only needs forward declares 2020-04-22 09:39:07 +02:00
compilerplugins Drop Macromedia Flash export filter 2020-04-23 16:16:12 +02:00
config_host No need for HAVE_GCC_DEPRECATED_MESSAGE 2020-04-17 19:57:20 +02:00
configmgr
connectivity uiobject.hxx only needs forward declares 2020-04-22 09:39:07 +02:00
cppcanvas tdf#42949 Simplify use of rtl::math::approxEqual in include/basegfx/ 2020-04-22 15:36:50 +02:00
cppu loplugin:flatten in cppu 2020-04-18 09:56:28 +02:00
cppuhelper loplugin:flatten in cppuhelper 2020-04-17 21:07:27 +02:00
cpputools
cui sd position ad size dialog update 2020-04-23 11:16:04 +02:00
dbaccess loplugin:makeshared in dbaccess 2020-04-23 12:42:19 +02:00
desktop Drop Macromedia Flash export filter 2020-04-23 16:16:12 +02:00
dictionaries@74d8e82635
distro-configs use without-latest-c++ in coverity conf 2020-04-22 09:58:36 +02:00
drawinglayer tdf#130058 Import shadow size. 2020-04-23 10:07:13 +02:00
dtrans
editeng lokit: fix edit-text/view-cursor position 2020-04-23 09:35:51 +02:00
embeddedobj
embedserv
emfio fixes for code creating reversed Rectangles 2020-04-16 09:11:41 +02:00
eventattacher
extensions Typo kServerDefiniton->kServerDefinition (extensions/ldap) 2020-04-22 16:24:55 +02:00
external Use equal number of leading and trailing context lines in patch 2020-04-23 15:21:53 +02:00
extras tdf#99674 update flowchart gallery now with themes support 2020-04-21 01:16:21 +02:00
filter Drop Macromedia Flash export filter 2020-04-23 16:16:12 +02:00
forms uiobject.hxx only needs forward declares 2020-04-22 09:39:07 +02:00
formula tdf#131169: Retrieve right category in function wizard 2020-04-22 18:43:56 +02:00
fpicker loplugin:makeshared in fpicker 2020-04-23 13:23:56 +02:00
framework weld ListBoxControl 2020-04-23 14:18:43 +02:00
helpcompiler
helpcontent2@51d027d333 Update git submodules 2020-04-21 19:49:10 +02:00
hwpfilter loplugin:buriedassign in f,h,i* 2020-04-15 19:25:23 +02:00
i18nlangtag
i18npool fix regression 2020-04-20 20:54:18 +02:00
i18nutil loplugin:buriedassign in f,h,i* 2020-04-15 19:25:23 +02:00
icon-themes tdf#131870 Update elementary & Sukapura buttons 2020-04-23 02:09:23 +02:00
idl
idlc loplugin:buriedassign in f,h,i* 2020-04-15 19:25:23 +02:00
include Drop Macromedia Flash export filter 2020-04-23 16:16:12 +02:00
instsetoo_native Relates tdf#130778 - Branding for 7.0 2020-04-21 17:04:50 +02:00
io
ios
javaunohelper
jurt
jvmaccess
jvmfwk
l10ntools loplugin:buriedassign in l,o,p* 2020-04-15 19:25:53 +02:00
librelogo
libreofficekit
lingucomponent
linguistic loplugin:makeshared in linguistic 2020-04-23 13:23:36 +02:00
lotuswordpro Add include needed for std::min 2020-04-22 08:46:31 +02:00
m4
nlpsolver
o3tl
odk make spinbutton demo wide enough to use 2020-04-23 14:48:26 +02:00
offapi
officecfg Add config to disable individual infobars 2020-04-23 10:59:42 +02:00
onlineupdate
oovbaapi
oox tdf#131936 Correctly detect OOXML variant on import 2020-04-23 12:00:28 +02:00
opencl
osx
package loplugin:buriedassign in l,o,p* 2020-04-15 19:25:53 +02:00
pch
postprocess Drop Macromedia Flash export filter 2020-04-23 16:16:12 +02:00
pyuno
qadevOOo Fix typos 2020-04-22 15:48:11 +02:00
readlicense_oo update credits 2020-04-22 12:13:40 +02:00
registry
remotebridges
reportbuilder
reportdesign tdf#42949 Fix IWYU warnings in reportdesign/*/*hxx 2020-04-22 12:10:17 +02:00
ridljar
sal Just use __builtin_ffs on GCC and Clang 2020-04-17 15:24:07 +02:00
salhelper
sax
sc Fix typos 2020-04-23 13:37:10 +02:00
scaddins loplugin:buriedassign in scaddins..sdext 2020-04-15 20:59:10 +02:00
sccomp
schema
scp2 Drop Macromedia Flash export filter 2020-04-23 16:16:12 +02:00
scripting Fix typos 2020-04-22 15:48:11 +02:00
sd Added parameter to FillPageGradient command 2020-04-23 13:22:16 +02:00
sdext tdf#42949 Simplify use of rtl::math::approxEqual in include/basegfx/ 2020-04-22 15:36:50 +02:00
setup_native Translate German variable names 2020-04-20 09:19:05 +02:00
sfx2 Drop Macromedia Flash export filter 2020-04-23 16:16:12 +02:00
shell
slideshow tdf#42949 Simplify use of rtl::math::approxEqual in include/basegfx/ 2020-04-22 15:36:50 +02:00
smoketest
solenv Drop Macromedia Flash export filter 2020-04-23 16:16:12 +02:00
soltools cid#1462267 Infinite loop 2020-04-16 22:24:48 +02:00
sot uiobject.hxx only needs forward declares 2020-04-22 09:39:07 +02:00
starmath tdf#42949 Simplify use of rtl::math::approxEqual in include/basegfx/ 2020-04-22 15:36:50 +02:00
stoc loplugin:buriedassign in starmath..svl 2020-04-16 08:15:54 +02:00
store
svgio tdf#42949 Simplify use of rtl::math::approxEqual in include/basegfx/ 2020-04-22 15:36:50 +02:00
svl tdf#42949 Simplify use of rtl::math::approxEqual in include/basegfx/ 2020-04-22 15:36:50 +02:00
svtools weld ListBoxControl 2020-04-23 14:18:43 +02:00
svx Resolves: tdf#132338 combobox 1 character narrower than it used to be 2020-04-23 13:44:31 +02:00
sw Fix typos 2020-04-23 13:37:10 +02:00
swext
sysui Drop Macromedia Flash export filter 2020-04-23 16:16:12 +02:00
test
testtools loplugin:buriedassign in various 2020-04-19 12:41:48 +02:00
toolkit Fix typo 2020-04-23 13:39:25 +02:00
tools add tools::Rectangle::Justify 2020-04-20 10:47:44 +02:00
translations@ebb391af06 Update git submodules 2020-04-17 09:24:18 +02:00
ucb loplugin:buriedassign in tools..xmloff 2020-04-17 12:44:46 +02:00
ucbhelper
udkapi
uitest Revert "tdf114724: uitest: make test less time.sleep dependent" 2020-04-22 13:50:26 +02:00
UnoControls tdf#42949 Simplify use of rtl::math::approxEqual in include/basegfx/ 2020-04-22 15:36:50 +02:00
unodevtools
unoidl
unoil
unotest
unotools Fix warning when compiling for iOS: unused parameter 'bCreateParentDirs' 2020-04-21 19:07:12 +03:00
unoxml loplugin:buriedassign in tools..xmloff 2020-04-17 12:44:46 +02:00
ure
uui tdf#42949 Simplify use of rtl::math::approxEqual in include/basegfx/ 2020-04-22 15:36:50 +02:00
vbahelper tdf#42949 Simplify use of rtl::math::approxEqual in include/basegfx/ 2020-04-22 15:36:50 +02:00
vcl avoid Skia xor crash with not-yet-drawn surface (tdf#132335) 2020-04-23 15:35:39 +02:00
winaccessibility Drop unused includes and usings 2020-04-17 11:11:07 +02:00
wizards
writerfilter Fix typos 2020-04-23 13:37:10 +02:00
writerperfect
xmerge
xmlhelp loplugin:buriedassign in tools..xmloff 2020-04-17 12:44:46 +02:00
xmloff Fix typos 2020-04-22 15:48:11 +02:00
xmlreader
xmlscript uiobject.hxx only needs forward declares 2020-04-22 09:39:07 +02:00
xmlsecurity uiobject.hxx only needs forward declares 2020-04-22 09:39:07 +02:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore
.gitmodules
.gitpod.dockerfile
.gitpod.yml
.gitreview
antivirusDetection.vbs
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in CLANG_C -> CLANG_CC 2020-04-21 13:38:48 +02:00
config_host_lang.mk.in
configure.ac CLANG_C -> CLANG_CC 2020-04-21 13:38:48 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst Update language-subtag-registry to 2020-04-01 2020-04-23 16:08:35 +02:00
g
hardened_runtime.xcent
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in ofz#21701 Fuzzing build failure 2020-04-21 11:52:40 +02:00
README.cross
README.md
README.Solaris
Repository.mk Drop Macromedia Flash export filter 2020-04-23 16:16:12 +02:00
RepositoryExternal.mk
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk
sanitize-ubsan-blacklist
setup.cfg
TEMPLATE.SOURCECODE.HEADER

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.4
  • 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 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 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.