# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- # # This file is part of the LibreOffice project. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # $(eval $(call gb_Library_Library,sdd)) $(eval $(call gb_Library_set_include,sdd,\ $$(INCLUDE) \ -I$(SRCDIR)/sd/inc \ )) $(eval $(call gb_Library_use_external,sdd,boost_headers)) $(eval $(call gb_Library_use_sdk_api,sdd)) $(eval $(call gb_Library_use_libraries,sdd,\ comphelper \ cppu \ cppuhelper \ sal \ sfx \ sot \ tl \ utl \ vcl \ $(gb_UWINAPI) \ )) $(eval $(call gb_Library_set_componentfile,sdd,sd/util/sdd)) $(eval $(call gb_Library_add_exception_objects,sdd,\ sd/source/ui/unoidl/sddetect \ )) # vim: set noet sw=4 ts=4: 4-LTS LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/odk/examples/python/Text/TextReplace.py
AgeCommit message (Collapse)Author
2024-07-27comphelper, msicreator, odk: fix issues found by Ruff linterIlmari Lauhakangas
Change-Id: I5ef65baeb0100b9d70b5c59c1d5f6f43ab951a22 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171092 Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2023-12-29tdf#158803 Remove unused imports from odkBogdan B
Used pyflakes to find unused imports from odk module. Then, removed those unused imports. Change-Id: If1a160fa99f0c3581687faecb0c7051625c478c4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158821 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
2022-12-03tdf#143123 Port Text Java examples to PythonChenxiong Qi
The examples inside odk/examples/java/Text are ported to Python: BookmarkInsertion.java -> BookmarkInsertion.py GraphicsInserter.java -> GraphicsInserter.py HardFormatting.java -> HardFormatting.py StyleCreation.java -> StyleCreation.py SWriter.java -> SWriter.py StyleInitialization.java -> StyleInitialization.py TextDocumentStructure.java -> TextDocumentStructure.py TextReplace.java -> TextReplace.py WriterSelector.java -> WriterSelector.py Code format is checked with 'pycodestyle': pycodestyle --ignore=E501,E722 odk/examples/python/Text/*.py Some Java methods are merged when ported to Python. Signed-off-by: Chenxiong Qi <qcxhome@gmail.com> Change-Id: Ic903cfa24ef32f8edaafd7e6e2e0c757b4b1be0a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141425 Tested-by: Hossein <hossein@libreoffice.org> Reviewed-by: Hossein <hossein@libreoffice.org>