eaaf5ef8f9
To allow advanced Diagram/SmartArt support in the future this is a first step to organize imported SmartArt Data in a way that will allow to re-layout loaded SmartArts, under re-usage of the oox::Theme (held available). It is designed to work without holding available the original XML snippets defining the imported Diagram in any way, also for performance reasons. It tries to re-use some of the already basically added functionality, including the systematic layouting using the generic layout algorithm, plus some already available text extraction. Before being sure that the former state can be completely replaced this is optoinal and used when SAL_ENABLE_ADVANCED_SMART_ART is defined. Some new stuff is already done but e.g. the redefined reLayout method will not (yet) be triggered. It works and reliably produces a re-layouted identical version, also preserving transformations. Change-Id: I08cfbae04afa663d0589530aae549216d853128d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130171 Tested-by: Jenkins Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com> |
||
---|---|---|
.. | ||
check-last-commit | ||
ClangFormat.pm | ||
excludelist | ||
generate-style-excludelist | ||
README | ||
reformat-formatted-files | ||
remove_not_existent_files_from_clang_excludelist |
Style enforcing code. == How to reproduce the binaries at <https://dev-www.libreoffice.org/bin/> == - Linux: - Built from source on openSUSE Leap 42.3 - get <http://releases.llvm.org/5.0.0/llvm-5.0.0.src.tar.xz> - get <http://releases.llvm.org/5.0.0/cfe-5.0.0.src.tar.xz> and extract this as tools/clang/ in the LLVM source code - mkdir workdir; cd workdir; cmake -G 'Unix Makefiles' -DCMAKE_INSTALL_PREFIX=$PWD/../instdir -DCMAKE_BUILD_TYPE=Release -DLLVM_BUILD_STATIC=true ..; make -j8 clang-format - this produces a binary that is statically linked - macOS: - <http://releases.llvm.org/5.0.0/clang+llvm-5.0.0-x86_64-apple-darwin.tar.xz> provides a portable binary already - Windows: - <http://releases.llvm.org/5.0.0/LLVM-5.0.0-win32.exe> provides a portable binary already == Directory contents == - excludelist: list of existing files not to be formatted: - if you rename a file mentioned in this list, please update the entry (and keep the file sorted) - check-last-commit: this is used during gerrit / jenkins verification - ClangFormat.pm: shared code between the git hook and these scripts - generate-style-excludelist: was used to generate `excludelist` - reformat-formatted-files: run this script in case the style config changes or clang-format version is updated