summaryrefslogtreecommitdiff
path: root/sw/Library_sw.mk
AgeCommit message (Collapse)Author
2015-10-02loplugin:unusedmethodsNoel Grandin
Change-Id: Ie1603adf3908fd0668bcbe8f75c6bafa0d0bfd6c Reviewed-on: https://gerrit.libreoffice.org/19072 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-15Convert optimize table button to the generic controllerMaxim Monastirsky
Change-Id: I6b9089daaa2bb7d0dfc1072296fc51401e5fc88a
2015-04-22Theme panel to change color/fonts of current stylesTomaž Vajngerl
In a theme panel the user can change / replace the styles font and colors used in some predefined style elements (for example Heading). This is "fake" theme support and not the same thing that MSO uses, but it still can be useful for the users to change the appearance of the document. This is the initial commit of the work and will be much extended. Currently it is only available when experimental mode is enabled. Change-Id: I8d34ce87d21975ec6020ac45ecaebb0701b63b2a
2015-04-22add "Style Presets" sidebar panel (experimental) to writerTomaž Vajngerl
Style presets is a list of bundled & user defined styles presets that can be applied to the current document. The styles are taken from tempalte files that are in "styles" template folder. This is for now only added as an experimental feature. Change-Id: If6d1128ca7e2f61efd13bb8ae3baee5cb357d286
2015-04-15move unocrsr to unocoreBjoern Michaelsen
Change-Id: I1a3185e89e68b4d85221b8296fe9ffad8b18de5f Reviewed-on: https://gerrit.libreoffice.org/15335 Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-04-15DBTOOLS_DLL_NAME not used anymoreMatúš Kukan
Change-Id: Ieb9a373e4d59bfe72a7709bd7822617f9877054a
2015-04-14tdf#88710 Kill svx dbtoolsclientMatthew Nicholls
Removes dynamic loading logic described in tdf#84315, similar thing removed in swdbtoolsclient. Change-Id: I8762102a7263e6933354c2ff6f9978929b760f6e Reviewed-on: https://gerrit.libreoffice.org/15147 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-03-31sw: remove pointless wrtsh/docsh.cxx fileMichael Stahl
SwDocShell already has 4 or 5 other cxx files. Change-Id: I591d6e5d7ebf5727b4a760add2eeea04c3ca5abe
2015-03-20Ensure GrammarCheckingIterator thread is joined before SwBreakIt::_DeleteStephan Bergmann
...because SwBreakIt::_Delete clears g_pBreakIt but SwTxtNode::GetLang (called indirectly from GrammarCheckingIterator::DequeueAndCheck) expects it to be non- null. That caused CppunitTest_libreofficekit_tiledrendering to occasionally fail. Change-Id: Ia350e2531067dd8308dfa20567cc00e1140f764c
2015-03-02sw: remove now unused WriterHelperMiklos Vajna
This concludes the ongoing various dumpXml() cleanups of mine since 2014-11-24 in the sw doc model xml dumper. Change-Id: I8e9f7c8d9443df3763b7d3073541dbe03b662f4c
2015-01-09Revert "Use SVLIBRARY instead of gb_Library_get_runtime_filename"Matúš Kukan
$(call gb_Library__get_name,foo) returns "libmerged" if library foo is merged. This reverts commit ee567a63fad9e755b11ca28696da35f00ed3b0fc. Change-Id: I6ab9b7f0b01262a6f9d5a6834a6cffdd6ffc6f8a
2015-01-06Use SVLIBRARY instead of gb_Library_get_runtime_filenameStephan Bergmann
Change-Id: I0d21d9685cdc801f7d6975a752999788c1f132e4
2014-12-23inline stream operator and remove objectBjoern Michaelsen
Change-Id: I9df9a56eca662c6adf0a2cf4ef25a917da8dc609
2014-12-10fdo#80403: Writer specific AutoCorr use FastParserDaniel Sikeler
Contextclasses implement XFastContextHandler Importclasses implement XFastDocumentHandler Tokens for BlockList.xml are defined in BlockListTokens.txt Tokens for content.xml are defined in TextBlockTokens.txt A perfect hash table is generated with gperf and used by the tokenhandlers This is corrected version of c1e90457d2ecc6e1171b7a296ab8bd05821e39e6 (Also pushing again follow-up c940d4d30673dc02ea34b5e60a4a8140648a0dba "loplugin:saloverride" and 5f0f3d4e91e9eb1d1f60b0cd073e7bbd8ea38c29 "Work around -Werror,-Wdeprecated-register") The commits were reverted in 7ef4457b9fc06b5c25c607d7e0149f45c7015b10 Change-Id: I08cd852fa751f98fd0ac6a55dda22f82a869b4d8
2014-12-07loplugin:cstylecast, involving pointer to incomplete typeStephan Bergmann
Change-Id: Idab944f3b9a93258b7f58a33e8a2a2c69448c7d8
2014-12-05Revert "fdo#80403: Writer specific AutoCorr use FastParser"Stephan Bergmann
This reverts commit c1e90457d2ecc6e1171b7a296ab8bd05821e39e6 (plus follow-up c940d4d30673dc02ea34b5e60a4a8140648a0dba "loplugin:saloverride" and 5f0f3d4e91e9eb1d1f60b0cd073e7bbd8ea38c29 "Work around -Werror,-Wdeprecated-register"), it broke JunitTest_sw_unoapi. Change-Id: I21499f8a7810eef637bb51a30380ae60b3d915cd
2014-12-04fdo#80403: Writer specific AutoCorr use FastParserDaniel Sikeler
Contextclasses implement XFastContextHandler Importclasses implement XFastDocumentHandler Tokens for BlockList.xml are defined in BlockListTokens.txt Tokens for content.xml are defined in TextBlockTokens.txt A perfect hash table is generated with gperf and used by the tokenhandlers Change-Id: Iff8ad5f1a4df0b808ee6fdf13f75a821596e9ee9 Reviewed-on: https://gerrit.libreoffice.org/12386 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2014-12-02make ring header onlyBjoern Michaelsen
Change-Id: If8a52d12cb145120be4477ee79f8cdc55329c36c
2014-11-08sw: store Outline Numbering as ODF fragment instead of SfxPoolItemsMichael Stahl
This should be less fragile and re-uses some xmloff and unocore code. Storing from ~SwBaseNumRules() does not work because other gobals that the export code relies on are already dead at the time it is called from a terminate() listener, so store when the dialog updates a format. Change-Id: I4e148b82d0a338ec7ffa6429c6e162db79f8c44e
2014-11-06sw: merge SwXMLBlockListContext.cxx into SwXMLBlockImport.cxxMichael Stahl
... so all the import is in one source file not 3 tiny ones. Change-Id: I239316ec54cab28a7af643372af33782f70e7040
2014-10-22remove original and unused word for windows 1 filterCaolán McNamara
move fltshell.cxx into basflt and fire up the chainsaw for the rest This filter has never, as far as I know, had a route to actually execute it since day 0 of OpenOffice.org. Change-Id: I35a92e2dee60bdc5d2d4e7181074bc4a3635b54c
2014-10-22Replace DISABLE_SCRIPTING with HAVE_FEATURE_SCRIPTINGTor Lillqvist
Feature test macros that govern conditional compilation should be defined in config_*.h include files, not on the compilation command line. Change-Id: I40575a4762fd2564f10927b6f38a112dd9f9a3d7
2014-10-02fdo#84315: quick fix for sw tooMatúš Kukan
Similar to 08f33ca66559dfafd29ab0c6073232cf05a6d4e5 Change-Id: I04f11a3821cb3793e5f993995b0c10fc7a62420b
2014-08-12Refactored IDocumentExternalData out of SwDoc.Valentin Kettner
Into the new class DocumentExternalDataManager. Change-Id: Ib863daec170044c46143b47a91739d4c0940d963
2014-08-12Refactored IDocumentStylePoolAccess out of SwDoc.Valentin Kettner
Added non const SwDoc::GetDfltTxtFmtColl and SwDoc::GetTxtFmtColls and SwDoc::GetCharFmts. Had to make the manager friend of SwTxtFmtColl and SwConditionTxtFmtColl Had to make SwDoc::_MakeCharFmt and SwDoc::_MakeFrmFmt public. Change-Id: I19a36d91f92b3781a6c4313ec12eb8f7d4dfacc3
2014-08-12Refactored IDocumentLayoutAccess out of SwDoc.Valentin Kettner
Into the new class DocumentLayoutManager. Change-Id: I02d0cfcc63633d0bdab380508b2ef563187fd269
2014-08-12Refactored IDocumentState out of SwDoc.Valentin Kettner
Into the new class DocumentStateManager. Change-Id: I91c9097b091ff6118d58fd15fff2a4cefe0171fd
2014-08-12Refactored IDocumentStatistics our of SwDoc.Valentin Kettner
Into the new class DocumentStatisticsManager. Change-Id: I281232dc09dbd79c2faf3c2a78ae49625bbe88ee
2014-08-12Refactored IDocumentFieldsAccess out of SwDoc.Valentin Kettner
Into the new class DocumentFieldsManager. Removed SwDoc::_MakeFldList because it is not defined anywhere. Also moved a few non interface methods that belong to the manager. Change-Id: Icefd7ca7adcbb05a18d6fae0529fc54150b862fd
2014-08-12Refactored IDocumentRedlineAccess out of SwDoc.Valentin Kettner
Into the new class DocumentRedlineManager. Added an non const version of GetRedlineTbl to the interface. Also Moved SetAutoFmtRedlineComment which is not part of interface. Change-Id: I600d5821d5d5831557f5fc5375fb1203fe67a295
2014-07-25move CntntIdxStore to own fileBjoern Michaelsen
Change-Id: Ic8280478b154b9b132f74e260edea46911cb1803
2014-07-15Refactored IDocumentContentOperations out of SwDoc.Valentin Kettner
Into the new class DocumentContentOperationsManager. Made SwNodes in sw/inc/ndarr.hxx friend class to DocumentContentOperationsManager so it can call DelNodes at end of DocumentContentOperationsManager::DeleteSection . Added DeleteAutoCorrExceptWord to SwDoc, its needed in the Manager. Added a non const version of SwDoc::GetDfltGrfFmtColl() to SwDoc because its needed in the Manager. Made SwDoc a friend class to DocumentContentOperationsManager so it can call SwDoc::checkRedlining and SwDocL::_MakeFlySection. Moved SwDoc::CopyImpl_ , SwDoc::CopyWithFlyInFly and SwDoc::CopyFlyInFlyImpl into the Manager. Moved "struct ParaRstFmt" and "lcl_RstTxtAttr" from docfmt.cxx in DocumentContentOperationsManager.hxx . Change-Id: Icaab57f4a8c158a85e549ecb4aacc752bc95bbc9
2014-07-15Refactored IDocumentOutlineNodes out of SwDoc.Valentin Kettner
Into the new class DocumentOutlineNodesManager. Change-Id: I05581391a1474872113ae91d6429709d181cabfe
2014-07-15Refactored IDocumentListsAccess out of SwDoc.Valentin Kettner
In the new class DocumentListsManager. The method listfunc::CreateUniqueListId was also moved there. Added a new method deleteListsByDefaultListStyle to the Interface, which is needed for SwDoc::DelNumRule. Change-Id: I75ea554a57d9402d2fcfeaedf9fbe50fbae2b020
2014-07-15Refactored IDocumentListItems out of SwDoc.Valentin Kettner
Into the new class DocumentListItemsManager. Change-Id: Ic86200280caa1b6e2c940bb12149235223ed0cd2
2014-07-15Refactored IDocumentLinksAdministration out of SwDoc.Valentin Kettner
To the new class DocumentLinksAdministrationManager. Additional to the Interface methods SwDoc::SelectServerObj was also moved and sw/source/core/doc/docdde.cxx was deleted as it became empty. Also fixed OUString usage in IDocumentLinksAdministration.hxx . Change-Id: I1f2bf0881a7d4add9c657b6441851ae14ad8d161
2014-07-15Refactored IDocumentTimerAccess in SwDoc into DocumentTimerManager.Valentin Kettner
Change-Id: Idb39ef2cdc34e0c0e7853de0a656f579ca3528da
2014-07-15Refactored IDocumentChartDataProviderAccess in SwDoc.Valentin Kettner
Into the new class DocumentChartDataProviderManager. Change-Id: I3be038ba276642546223c0c2fba3bea21980b33d
2014-07-01Related: #i124638# Second step of DrawingLayer FillAttributes...Armin Le Grand
for Writer objects, now added support for Paragraph and PageStyle (including Header and Footer) for direct attributes and style attributes (cherry picked from commit cc25c58f7052827bfebdc9fbeec668c8fa29ed1b) Conflicts: cui/source/factory/dlgfact.cxx cui/source/factory/dlgfact.hxx cui/source/inc/bbdlg.hxx cui/source/inc/cuires.hrc cui/source/tabpages/bbdlg.cxx cui/source/tabpages/bbdlg.src cui/source/tabpages/page.cxx cui/source/tabpages/tparea.cxx include/svx/pagectrl.hxx include/svx/svxdlg.hxx include/svx/svxids.hrc include/xmloff/PageMasterStyleMap.hxx include/xmloff/prstylei.hxx include/xmloff/txtprmap.hxx svx/Package_inc.mk svx/inc/svx/hdft.hxx svx/source/dialog/hdft.cxx svx/source/dialog/pagectrl.cxx svx/source/tbxctrls/tbxcolorupdate.cxx svx/source/unodraw/unobrushitemhelper.cxx sw/Library_sw.mk sw/inc/fillattributes.hxx sw/inc/format.hxx sw/inc/frmatr.hxx sw/inc/frmfmt.hxx sw/inc/hintids.hxx sw/inc/hints.hxx sw/inc/ndtxt.hxx sw/inc/node.hxx sw/inc/swunohelper.hxx sw/inc/unobrushitemhelper.hxx sw/inc/unoprnms.hxx sw/source/core/attr/format.cxx sw/source/core/attr/hints.cxx sw/source/core/doc/docdesc.cxx sw/source/core/doc/docdraw.cxx sw/source/core/doc/docfmt.cxx sw/source/core/doc/docnew.cxx sw/source/core/doc/docredln.cxx sw/source/core/doc/poolfmt.cxx sw/source/core/doc/visiturl.cxx sw/source/core/docnode/node.cxx sw/source/core/inc/frame.hxx sw/source/core/inc/frmtool.hxx sw/source/core/inc/rolbck.hxx sw/source/core/layout/atrfrm.cxx sw/source/core/layout/fillattributes.cxx sw/source/core/layout/findfrm.cxx sw/source/core/layout/paintfrm.cxx sw/source/core/txtnode/ndtxt.cxx sw/source/core/txtnode/thints.cxx sw/source/core/txtnode/txtedt.cxx sw/source/core/undo/rolbck.cxx sw/source/core/unocore/swunohelper.cxx sw/source/core/unocore/unoframe.cxx sw/source/core/unocore/unomap.cxx sw/source/core/unocore/unoparagraph.cxx sw/source/core/unocore/unoprnms.cxx sw/source/core/unocore/unostyle.cxx sw/source/ui/chrdlg/paradlg.src sw/source/ui/chrdlg/pardlg.cxx sw/source/ui/fmtui/tmpdlg.cxx sw/source/ui/fmtui/tmpdlg.src sw/source/uibase/app/docst.cxx sw/source/uibase/app/docstyle.cxx sw/source/uibase/frmdlg/colex.cxx sw/source/uibase/shells/basesh.cxx sw/source/uibase/shells/textsh1.cxx sw/source/uibase/uiview/viewstat.cxx sw/source/uibase/utlui/uitool.cxx xmloff/inc/PageMasterImportContext.hxx xmloff/inc/xmloff/XMLShapeStyleContext.hxx xmloff/source/draw/XMLShapeStyleContext.cxx xmloff/source/draw/sdpropls.hxx xmloff/source/style/PageMasterExportPropMapper.cxx xmloff/source/style/PageMasterImportContext.cxx xmloff/source/style/PageMasterPropHdlFactory.cxx xmloff/source/style/PageMasterStyleMap.cxx xmloff/source/style/prstylei.cxx xmloff/source/text/txtexppr.cxx xmloff/source/text/txtprhdl.cxx xmloff/source/text/txtprmap.cxx xmloff/source/text/txtstyli.cxx Conflicts: svx/source/dialog/hdft.cxx sw/source/core/doc/visiturl.cxx sw/source/core/txtnode/thints.cxx sw/source/core/txtnode/txtatr2.cxx sw/source/core/unocore/unostyle.cxx Change-Id: I7e8779db6c0cbd1e242b63eab888f468f2de509a
2014-06-16Use proper name also when libmerged is used.Matúš Kukan
gb_Library__get_name was forgotten in 1817366cb5f61337b34b5284615d3d4e0a8aa68a Change-Id: I42592d70455b9c695879d7fa20881c77a1ca2066
2014-06-09gbuild: remove config_libraries.h and gb_Helper_generate_config_librariesMichael Stahl
This much ugly complexity, generating a header on every gbuild startup etc. is really not warranted for 6 callers of the generated macros. Also, the Win32 make has problems with the quoting. Change-Id: If945e09c1730e52174a6084677842dc611d66b2f
2014-06-06TOX: Extract generation of tab stop attributes to its own class.Tobias Lippert
This allows us to pass through less parameters which are only used for this functionality. Conflicts: sw/inc/ToxTextGenerator.hxx sw/source/core/tox/ToxTextGenerator.cxx Change-Id: I5a03cf8ec6d86d05f2a7f7771668585669c1e595 Reviewed-on: https://gerrit.libreoffice.org/9613 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-05Unittest link generation for table of contents.Tobias Lippert
The logic was moved to a separate class and unittested. Conflicts: sw/inc/ToxTextGenerator.hxx Change-Id: I0e4475f5e2950cdfdfb07b89128c4ce1d6af3f22 Reviewed-on: https://gerrit.libreoffice.org/9609 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-05Unittest the whitespace stripping logic for tox text generationTobias Lippert
The separate class allows to unittest this functionality in isoloation. Change-Id: I1e5eddfb455ca85a662ea38c03302883decc5d58 Reviewed-on: https://gerrit.libreoffice.org/9608 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-06-05Extract TOX text generation to its own source fileTobias Lippert
The separate source file will make it easier to unit test the functionality Also: move some constants to tox.hxx to have them available in the new source file Conflicts: sw/source/core/doc/doctxm.cxx Change-Id: Ib0369cc4875043829f55d30a549997560a38cc35 Reviewed-on: https://gerrit.libreoffice.org/9607 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-03Split out IDocumentDrawModelAccess from SwDoc.Valentin Kettner
To the new class DocumentDrawModelManager. All moved methods and members have the same in thew new class. Change-Id: I89ad0e0c4a42885d5810e834983ea8e8e6c0a2d2
2014-05-27sw: move sw/source/core/uibase to sw/source/uibaseMichael Stahl
It's too confusing to have UI code inside of core; the important part is that it's separated from the optional UI code in swui library. Change-Id: I640a52723d5802faf08f3b8eaa03cd937fd93449
2014-05-27SwXShape: invoke SwTextBoxHelperMiklos Vajna
For now, only in queryInterface(), setPropertyValue() and setSize(). It's safe to always call these methods, if they are not relevant, the method will be a NOP. Change-Id: I6efb808f605d47f731819cd971bb66ca251cafb6
2014-05-13remove dead code SwAccessibleFieldNoel Grandin
which seems to be dead since the IA2 integration Change-Id: I3a6c70f27ef0cb2ac23776ad00394a73a99bb7e8
2014-05-01sw: iodetect is not a part of the type detector anymoreMaxim Monastirsky
and remove now unused IsFileFilter method. Change-Id: I6b4559fdf6442b6baa869b2949142f8fc8c52f30 Reviewed-on: https://gerrit.libreoffice.org/9223 Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com> Tested-by: Maxim Monastirsky <momonasmon@gmail.com>