# -*- 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,subsequenttest)) $(eval $(call gb_Library_set_include,subsequenttest,\ $$(INCLUDE) \ )) $(eval $(call gb_Library_add_defs,subsequenttest,\ -DOOO_DLLIMPLEMENTATION_TEST \ )) $(eval $(call gb_Library_use_sdk_api,subsequenttest)) $(eval $(call gb_Library_use_libraries,subsequenttest,\ comphelper \ cppu \ cppuhelper \ i18nlangtag \ sal \ test \ tl \ utl \ unotest \ vcl \ )) $(eval $(call gb_Library_use_externals,subsequenttest,\ boost_headers \ cppunit \ )) $(eval $(call gb_Library_add_exception_objects,subsequenttest,\ test/source/unoapi_test \ test/source/calc_unoapi_test \ test/source/beans/xpropertyset \ test/source/chart/xchartdata \ test/source/container/xchild \ test/source/container/xelementaccess \ test/source/container/xenumeration \ test/source/container/xenumerationaccess \ test/source/container/xindexaccess \ test/source/container/xnameaccess \ test/source/container/xnamecontainer \ test/source/container/xnamed \ test/source/container/xnamereplace \ test/source/document/xactionlockable \ test/source/document/xembeddedobjectsupplier \ test/source/document/xlinktargetsupplier \ test/source/drawing/captionshape \ test/source/drawing/xdrawpages \ test/source/drawing/xgluepointssupplier \ test/source/drawing/xshapedescriptor \ test/source/drawing/xshapegrouper \ test/source/drawing/xshape \ test/source/drawing/xshapes \ test/source/lang/xserviceinfo \ test/source/lang/xcomponent \ test/source/sheet/cellarealink \ test/source/sheet/cellproperties \ test/source/sheet/databaseimportdescriptor \ test/source/sheet/databaserange \ test/source/sheet/datapilotfield \ test/source/sheet/datapilotitem \ test/source/sheet/documentsettings \ test/source/sheet/functiondescription \ test/source/sheet/globalsheetsettings \ test/source/sheet/scenario \ test/source/sheet/shape \ test/source/sheet/sheetcell \ test/source/sheet/sheetcellrange \ test/source/sheet/sheetcellranges \ test/source/sheet/sheetfilterdescriptor \ test/source/sheet/sheetlink \ test/source/sheet/sheetsortdescriptor2 \ test/source/sheet/spreadsheet \ test/source/sheet/spreadsheetdocumentsettings \ test/source/sheet/spreadsheetviewsettings \ test/source/sheet/subtotaldescriptor \ test/source/sheet/tableautoformat \ test/source/sheet/tablevalidation \ test/source/sheet/xactivationbroadcaster \ test/source/sheet/xarealink \ test/source/sheet/xarealinks \ test/source/sheet/xarrayformularange \ test/source/sheet/xcalculatable \ test/source/sheet/xcelladdressable \ test/source/sheet/xcellformatrangessupplier \ test/source/sheet/xcellrangeaddressable \ test/source/sheet/xcellrangedata \ test/source/sheet/xcellrangeformula \ test/source/sheet/xcellrangemovement \ test/source/sheet/xcellrangereferrer \ test/source/sheet/xcellrangesquery \ test/source/sheet/xcellseries \ test/source/sheet/xconsolidatable \ test/source/sheet/xconsolidationdescriptor \ test/source/sheet/xdatabaserange \ test/source/sheet/xdatabaseranges \ test/source/sheet/xdatapilotdescriptor \ test/source/sheet/xdatapilotfield \ test/source/sheet/xdatapilotfieldgrouping \ test/source/sheet/xdatapilottable \ test/source/sheet/xdatapilottable2 \ test/source/sheet/xdatapilottables \ test/source/sheet/xdatapilottablessupplier \ test/source/sheet/xddelink \ test/source/sheet/xddelinks \ test/source/sheet/xdocumentauditing \ test/source/sheet/xformulaquery \ test/source/sheet/xfunctiondescriptions \ test/source/sheet/xgoalseek \ test/source/sheet/xheaderfootercontent \ test/source/sheet/xlabelrange \ test/source/sheet/xlabelranges \ test/source/sheet/xmultiformulatokens \ test/source/sheet/xmultipleoperation \ test/source/sheet/xnamedrange \ test/source/sheet/xnamedranges \ test/source/sheet/xprintareas \ test/source/sheet/xrecentfunctions \ test/source/sheet/xscenario \ test/source/sheet/xscenarioenhanced \ test/source/sheet/xscenarios \ test/source/sheet/xscenariossupplier \ test/source/sheet/xsheetannotation \ test/source/sheet/xsheetannotationanchor \ test/source/sheet/xsheetannotations \ test/source/sheet/xsheetannotationshapesupplier \ test/source/sheet/xsheetannotationssupplier \ test/source/sheet/xsheetauditing \ test/source/sheet/xsheetcellcursor \ test/source/sheet/xsheetcellrange \ test/source/sheet/xsheetcellrangecontainer \ test/source/sheet/xsheetcellranges \ test/source/sheet/xsheetcondition \ test/source/sheet/xsheetconditionalentries \ test/source/sheet/xsheetconditionalentry \ test/source/sheet/xsheetfilterable \ test/source/sheet/xsheetfilterableex \ test/source/sheet/xsheetfilterdescriptor \ test/source/sheet/xsheetfilterdescriptor2 \ test/source/sheet/xsheetfilterdescriptor3 \ test/source/sheet/xsheetlinkable \ test/source/sheet/xsheetoperation \ test/source/sheet/xsheetoutline \ test/source/sheet/xsheetpagebreak \ test/source/sheet/xspreadsheet \ test/source/sheet/xspreadsheetdocument \ test/source/sheet/xspreadsheets \ test/source/sheet/xspreadsheets2 \ test/source/sheet/xspreadsheetview \ test/source/sheet/xsubtotalcalculatable \ test/source/sheet/xsubtotaldescriptor \ test/source/sheet/xsubtotalfield \ test/source/sheet/xuniquecellformatrangessupplier\ test/source/sheet/xusedareacursor \ test/source/sheet/xviewfreezable \ test/source/sheet/xviewpane \ test/source/sheet/xviewsplitable \ test/source/style/xstyleloader \ test/source/table/tablecolumn \ test/source/table/tablerow \ test/source/table/xcell \ test/source/table/xcellcursor \ test/source/table/xcellrange \ test/source/table/xcolumnrowrange \ test/source/table/xtablechart \ test/source/table/xtablecharts \ test/source/table/xtablechartssupplier \ test/source/table/xtablecolumns \ test/source/table/xtablerows \ test/source/text/baseindex \ test/source/text/textcontent \ test/source/text/xsimpletext \ test/source/text/xtext \ test/source/text/xtextcontent \ test/source/text/xtextfield \ test/source/text/xtextrange \ test/source/text/xdocumentindex \ test/source/text/textdocumentsettings \ test/source/text/textprintersettings \ test/source/text/textsettings \ test/source/text/textdocumentindex \ test/source/util/searchdescriptor \ test/source/util/xindent \ test/source/util/xmergeable \ test/source/util/xrefreshable \ test/source/util/xreplaceable \ test/source/util/xreplacedescriptor \ test/source/util/xsearchable \ test/source/util/xsearchdescriptor \ test/source/view/xcontrolaccess \ test/source/view/xformlayeraccess \ )) # vim: set noet sw=4 ts=4: lhm/libreoffice-7-4+backports LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/include/sfx2/docinsert.hxx
AgeCommit message (Collapse)Author
2022-09-14move ErrCode to comphelper and improve debug output stringNoel Grandin
need to move it, because modules "below" vcl want to use the debug output method Change-Id: Ibcaf4089a1e0b3fcc0b5189c7ebf1aae90f50b48 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139791 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-07-14clang-tidy modernize-pass-by-value in sfx2Noel Grandin
Change-Id: I7984f0b52809091511dc01005fdbfeafd521b4bf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137048 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-11-04use more DECL_DLLPRIVATE_LINKNoel Grandin
to avoid unnecessarily exporting symbols Change-Id: I4c9c7c86f288ba9655a8b919387e30f3096ccfb2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124667 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-03-12Revert "loplugin:constfields in sfx2"Noel Grandin
This reverts commit 8411b80d46765f1ddd4e37aa634ec963dcf4b04f. Change-Id: Ibf3aa3ce4bfedf9d47001ad824db7c48ff093a21 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90416 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-11-28tdf#128898 import text from file with text-decode failedNoel Grandin
regression from commit 8f6f9e4217d03d874fb1ce391730a1c893ab6844 tdf#127958 crash adding 2 or more files into writer master document just make SfxMedium use shared_ptr, rather than the sometimes yes, sometimes no, ownership. Change-Id: I77559e9f766d84aca0f9dc0bd1b856c69f0f62f1 Reviewed-on: https://gerrit.libreoffice.org/83930 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-10-07tdf#127958 crash adding 2 or more files into writer master documentNoel Grandin
clean up the memory management here, the SfxMedium wants to own the passed-in SfxItemSet Change-Id: I1bafa520ca7b833c4d2df7593649c3720c46e2ce Reviewed-on: https://gerrit.libreoffice.org/80332 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-03-25tdf#42949 Fix IWYU warnings in include/sfx2/[a-D]*Gabor Kelemen
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I444cb71bc3d045072a4b1f9eed279ed7e425a0d4 Reviewed-on: https://gerrit.libreoffice.org/69481 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-12-18use unique_ptr in SfxMediumListNoel Grandin
fixing leak in SwGlobalTree::DialogClosedHdl Change-Id: I4a8e883bfe62181d4e332b3a0bbb85bbb332f711 Reviewed-on: https://gerrit.libreoffice.org/65333 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-10-09loplugin:constfields in sfx2Noel Grandin
and we find that bSplitable in SfxDockingWindow is always true, ever since commit 4bd28a2fee0d36c67911019eeb7d934838e27cad Date: Tue Jan 29 15:27:40 2008 +0000 INTEGRATION: CWS fwk82_SRC680 (1.45.138); FILE MERGED so we can remove all of the non-splittable code there. ` Change-Id: Ia7fe607ed02d1a7c69a92bab57e220b19f0e6e87 Reviewed-on: https://gerrit.libreoffice.org/61550 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-08-16pass SfxMedium around by std::unique_ptrNoel Grandin
Change-Id: Ibde7b68d9248f80d5304991390a80742265f37b3 Reviewed-on: https://gerrit.libreoffice.org/59031 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-04-06weld linkeditdialogCaolán McNamara
which enables changing FileDialogHelper over to welded Change-Id: I988342a6574cb7ed09b2724929e8c7117474a56c Reviewed-on: https://gerrit.libreoffice.org/52388 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-09-08set parent for file dialog helperCaolán McNamara
Change-Id: I3994ee48dcb5b2732cb27cb9ccb54926abf0828a Reviewed-on: https://gerrit.libreoffice.org/42048 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-27tools: move errcode.hxx to the vcl moduleChris Sherlock
Change-Id: I17e5a033de5f0aeb0a726744f7b464cdab6e2ee3 Reviewed-on: https://gerrit.libreoffice.org/36854 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2017-04-25tools: svstream.hxx needs only errcode.hxx & not errinf.hxxChris Sherlock
Change-Id: Ia28e35ae5af4f601e9a586a3deffbcd61702b0ca Reviewed-on: https://gerrit.libreoffice.org/36896 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2017-04-18tdf#95992 "Edit" > "Compare Document..." opens dialog that is...Matteo Casalin
misnamed "Insert" Issue is that the caption of the dialog is handled by generic code, which was not designed with comparison in mind. This fix extends the captions that can be used by such generic codes, without modifying the underlaying architecture. Letting callers directly provide caption text might be more versatile, though. The fix is extended to: * Writer Merge functionality * Calc Compare/Merge functionalities which use the same dialog (and thus were also displaying "Insert"). Change-Id: I452b37bf7d0024924c87316cd47572c09b373b65 Reviewed-on: https://gerrit.libreoffice.org/35285 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-01-17new loplugin: useuniqueptr: sfx2Noel Grandin
Change-Id: I544c615105d14fa258fed7f30790d305e987f523 Reviewed-on: https://gerrit.libreoffice.org/33206 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-07loplugin:nullptrTor Lillqvist
Change-Id: I67fae694a27c68c37e1f687ceaee9ff19db0ce55
2016-10-06tdf#101813 sw,sfx2: enable inserting master document as sectionMichael Stahl
Traditionally only ordinary com.sun.star.text.TextDocument could be inserted as a section but then commit 3da8f3680556e0163f660a0a159930337c8c32ff unintentionally enabled inserting everything, including master documents (com.sun.star.text.GlobalDocument). I'm really not sure if this should be allowed or not but apparently somebody finds it useful so here we add some crude hacks to enable it (to be reverted in case it causes trouble). (regression? from 805fd1ca343d6295b8114a24cc29bdac332f266d) Change-Id: I439b2516fcbe54977ff04e487a920acd38c27152
2016-10-05Remove _TYPED suffix from tools/link.hxx macrosStephan Bergmann
...which was introduced with 3ead3ad52f9bb2f9d1d6cf8dfc73a0a25e6778ed "Gradually typed Link" to distinguish the new, typed versions from the old, untyped ones, but is no longer necessary since 382eb1a23c390154619c385414bdbe6f6e461173 "remove untyped Link<>" removed the old versions. Change-Id: I494025df486a16a45861fcd8192dfe0275b1103c
2016-05-12convert SFXWB file dialog flags to scoped enumNoel Grandin
Change-Id: I1ab5191dc582c46785da58d50b2e68c30b5cbc9b Reviewed-on: https://gerrit.libreoffice.org/24881 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-20convert to typed Link<> in sfx2Noel Grandin
Change-Id: Ifa42bd14d7329ff1043fa736513c468dda30485e Reviewed-on: https://gerrit.libreoffice.org/17195 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-16loplugin:unusedmethods sfx2(part2)Noel Grandin
Change-Id: I82223b72ddb6a9df1ee52a300b083002234602dc Reviewed-on: https://gerrit.libreoffice.org/17075 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-30Gradually typed LinkStephan Bergmann
Turn the Link class into a template abstracting over the link's argument and return types, but provide default template arguments that keep the generic, unsafe "void* in, sal_IntPtr out" behvior. That way, individual uses of the Link class can be updated over time. All the related macros are duplicated with ..._TYPED counterparts, that additionally take the RetType (except for LINK_TYPED, which manages to infer the relevant types from the supplied Member). (It would have been attractive to change the "untyped" LinkStubs from taking a void* to a properly typed ArgType parameter, too, but that would cause -fsanitize=function to flag uses of "untyped" Link::Call.) Change-Id: I3b0140378bad99abbf240140ebb4a46a05d2d2f8
2013-10-23fixincludeguards.sh: include/s*Thomas Arnhold
Change-Id: I57fcfd442d2b5815e7c07a9cbd660f3698168dee
2013-09-25Related: fdo#38838 remove UniString::EqualsIgnoreCaseAsciiCaolán McNamara
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
2013-08-29convert include/sfx2/docinsert.hxx from String to OUStringNoel Grandin
Change-Id: I07b498f2a90399c8ee208de2bc4c780427fe4c17
2013-04-23execute move of global headersBjoern Michaelsen
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a