summaryrefslogtreecommitdiff
path: root/sfx2/inc
AgeCommit message (Collapse)Author
2013-03-08fdo#60691 add modelines to *.src and *.hrc filesBorim
use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
2013-03-07WIP: fdo#47011 autosave featureKrisztian Pinter
Change-Id: Ib2cbcc33e6188c60c183b5f47e9ae9c9d4c91b95
2013-03-07fdo#46808, remove unnecessary XMultiServiceFactory usageNoel Grandin
No-one was calling the constructor with anything other than an empty reference. Change-Id: If1948ff236f6fdb3579e472d66c5f9c04879bc4e
2013-03-07fdo#46808, Convert ui::UIConfigurationManager to new-styleNoel Grandin
Change-Id: I62c37eb6d0e0b2a681a84e1fa0067d0a9f967cf2
2013-03-05fdo#38838, replacement of String with OUStringÁdám Csaba Király
Replaced String with OUString in mediawindow.cxx, basdoc.cxx, basdoc.hxx and bastype3.cxx. In other files I only replaced, what was necessary for the changes in basdoc to work. Change-Id: I1ad0e7e262f8becdf57f182853aaa914a88895a4 Reviewed-on: https://gerrit.libreoffice.org/2554 Reviewed-by: Muthu Subramanian K <muthusuba@gmail.com> Tested-by: Muthu Subramanian K <muthusuba@gmail.com>
2013-03-04one last DBG_UTIL consumer of this in writerCaolán McNamara
Change-Id: I6074c3bc265d405688f1984ddeb37dc332c02b33
2013-03-04remove unused and commented out codeThomas Arnhold
This code gets never called. Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
2013-03-04callcatcher: unused codeCaolán McNamara
Change-Id: I7dcaa6f57815321e108cd7ce284fe145dc0506f2
2013-03-01raise warning when saving macro laden doc as a macro-free format bnc#791777Noel Power
Change-Id: Ic947ceef71c86e31fbf0bce74b064aaf91f47178
2013-02-28coverity#705637: fix memory leak and add documentationMarkus Mohrhard
Change-Id: If06ef8c78a7d3910be3f3d46dca090a4568b5fe7
2013-02-27fdo#39446 - Bloat Removal. Removing uncallable code with callcatcherJean-Noël Rouvignac
Removed several unused methods. Could not remove ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent() and ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&) because it breaks compilation (they are implementing pure virtual methods). Should Test::test1Table1Page() really be removed? (test class) Conflicts: unusedcode.easy Change-Id: I98a761f66f28e3a82661c10a5fa1dc7e109fff2f
2013-02-27coverity#705698: fix memory leak and add some documentationMarkus Mohrhard
Change-Id: I082ac7c47a59f1cb0ef4e098739d6c7fa98e3795
2013-02-22s/the the/the/Tor Lillqvist
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-21clone documentfontsdialog from sw, add method to SfxDocumentInfoDialog add tabNoel Power
Change-Id: I9cfb4f65e27a73921ac7944376677c5ddecdf9a9
2013-02-14Removed several useless macros: UNISTRING, USTR, USTR_ASCII, ASCII_STR, ↵Jean-Noël Rouvignac
ASCII_STRING, CONST_ASCII, ASCSTR, ASCII, DEFINE_CONST_UNICODE, DEFINE_CONST_OUSTRING Change-Id: I96d690bf9f9b319e9eeafcf218ec5ce87f21215f Reviewed-on: https://gerrit.libreoffice.org/1954 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-02-13move print options .ui to sfx2 and adapt codeCaolán McNamara
Change-Id: I8a7b1d15a002cbe74ac0fb97fcd8ce60a47a4e61
2013-02-12fdo#46808, convert some svtools code to XComponentContextNoel Grandin
Change-Id: Icf939095f130e684db88a8563c56f4eb1e6079bc
2013-02-12fdo#46808, Adapt ui::dialogs::FilePicker UNO service to new styleNoel Grandin
Change-Id: I1cafbfc53994e5d74241042dbd1d292ddbda67d5
2013-02-12Templates Manager: if the title can't be edited, don't update it in UICédric Bosdonnat
Conflicts: sfx2/inc/sfx2/templatelocalview.hxx sfx2/source/control/templatelocalview.cxx sfx2/source/control/templateview.cxx Change-Id: Id16431fb3517c831a5e81ff72fafaa8569f99ef1
2013-02-11Templates Manager: UI for renaming templates and folders, fdo#60579Cédric Bosdonnat
After thinking this was a feature regression, I finally discovered that the old template manager couldn't rename templates. This commit is bringing back some previously unused code dropped in an ealier commit. Even though this is a UI change, no new string is added by this commit.
2013-02-09Remove unused methodsThomas Arnhold
GetOptimalSizePixel and GetHCtrlWidth are never called Change-Id: Ib2ce1445447e85de66683f8b0fdf4fc8aa464084
2013-02-06String->OUStringCaolán McNamara
Change-Id: I42193a40a0b5b905a721cb511d69836385bfcb40
2013-02-04String to OUString.Kohei Yoshida
Change-Id: I3a0eff8ca0c8b654a38ee2df1022ca162bcb67aa
2013-01-31Template Manager: show some icons if there is no thumbnailCédric Bosdonnat
2013-01-31bnc#437516: Hide minimum password info in the password dialog.Kohei Yoshida
When launching it from the Security tab of the PDF Options dialog during PDF export. Change-Id: Ife2d3a7b508ba2e077018d11478ad680d18d3f0d
2013-01-31tell the options dialog to relayout if a pane queue-resizesCaolán McNamara
Change-Id: I44686ea724873181018bf00253a08afa58c9a10b
2013-01-28fdo#38838 Some removal/replacement of the String/UniString with OUStringJean-Noël Rouvignac
Changed SfxItemPool::GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText ) const; to use OUString. Change-Id: I656c1d321ff96f1f2e5b77f6adc103ef0a6fdf66
2013-01-24restore the helpid for impress animation dialog after initializationCaolán McNamara
Document and centralize the uses of undoing the helpid clear after helpid->uniqueid hack Change-Id: I4e651235407a0eca26dc0acfc089ef8f8ce57b13
2013-01-24add a layout aware SfxSingleTabDialogCaolán McNamara
Change-Id: Ia4726eac4448dd22380d81d49c5e3b19aa097f73
2013-01-24rename SfxSingleTabDialog to SfxNoLayoutSingleTabDialogCaolán McNamara
Change-Id: I4922b719bf819879909e9949bf7946f20914d1e5
2013-01-24SingleTabDlgImpl::m_pTabPage never usedCaolán McNamara
Change-Id: I958fb2a42f8cc0ed87a98c68a303c8d6d6195079
2013-01-21Changed SetText() / GetText() to take/return OUStringChr. Rossmanith
replaced lots of Len() with isEmpty() Change-Id: I6b82d48245ee2a0782e05a326f7934e9357227d0 Reviewed-on: https://gerrit.libreoffice.org/1795 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-18add a way to select the current SfxTabPage by nameCaolán McNamara
Change-Id: Ib7a07bc0e6ec9f47b83839fb3eb8f31c014dedff
2013-01-16Resolves: fdo#58998 insert section applied twiceCaolán McNamara
regression since 0157f0b1ba364f7f9af2aacd1be9fbb5ddec2b4d my belief was that OK_Impl was only called in one place, in sw/source/ui/fmtui/tmpdlg.cxx, so I merged the use there into OK_Impl, but of course there was another use in sfx2/source/dialog/tabdlg.cxx Given that OK_Impl only called PrepareLeaveCurrentPage originally... a) replace OK_Impl in sfx2/source/dialog/tabdlg.cxx with PrepareLeaveCurrentPage, a no-op from the original state. b) add an Apply method that does what I want, i.e. call ok without closing the dialog, so we can retain the fix of fdo#38606 to have "apply" immediately apply the effect of pressing "ok" without closing and reopening the dialog Change-Id: I57e2e41c07ab9bf89ada98d1b9c3336db3493f19
2013-01-16Template Manager: show names on several linesCédric Bosdonnat
Change-Id: I6990bb6ac52889de36f3ec2cce33e4dc2f3da2ea
2013-01-16Template Manager: show folders with 4 previews inside a rounded rectCédric Bosdonnat
The previous display had the inconvenient to be misleading if there was one or no template inside a folder. Change-Id: I16faa2556ca02380bd4dac0d821ecac45b98b8c3 Reviewed-on: https://gerrit.libreoffice.org/1678 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-01-14Add new unit test to test pivot table functionalities via ScDBDocFunc.Kohei Yoshida
This change also introduces the following changes: 1) Special initialization routine just for the unit test runs. In particular, SfxMedium instance needs to be set even for a brand-new document (as in the actual run-time), or else the document would be always labeled "read-only". This prevented us from testing various code in Calc, which this commit fixes. 2) Several cppunit checks that checked for incorrect results, which passed because we happened to be getting those incorrect results due to the issue with the SfxMedium instance not being set. 3) Unfortunately now the test for cell function MATCH fails for some mysterious reason. The test is disabled temporarily until we figure this out. Change-Id: If231fd99e0ffddcd74f65c7cb5476e7a25f0ac7d
2013-01-08Templates Manager: merged the Double Click Handling into TemplateAbstractViewCédric Bosdonnat
Change-Id: Iafc1650d57d29fbc24921498f18da6c0e510b37a
2013-01-07allow associating tab page names and tab page creation idsCaolán McNamara
so we can refer to the .ui name of the tab dialog and pass in the page creation id to associate with that Change-Id: If3df6d3de9dc7da482a45d7d91b610b81981d5ed
2013-01-07Cleanup: #include <tools/gen.hxx>Matteo Casalin
Change-Id: Ic547b4a59102afc8bdbc85ec95ac312e32ef2530 Reviewed-on: https://gerrit.libreoffice.org/1484 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-04Make LO buildable again after the GraphicFilter move.Jan Holesovsky
Change-Id: I3455a7294b136400f32163626d5a7a7f2bfa898c
2012-12-29callcatcher: update unused code listCaolán McNamara
Change-Id: I47467b53705f8059a829126a598e29a1105df13c
2012-12-21fdo#46808, Convert frame::Desktop to new style service.Noel Grandin
I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-12-21tabs to spacesJack Leigh
Change-Id: I4f1c834f28cb49ec0dcb824280d348226ad7e514 Reviewed-on: https://gerrit.libreoffice.org/1458 Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com> Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-12-20Templates Manager: removed the old dialogs and menu entriesCédric Bosdonnat
Change-Id: I5aa9dd8c0bfb95c26bca14962f60041e892ea2ea
2012-12-20Template Manager: one filtering code to rule them allCédric Bosdonnat
Change-Id: Ice3523a98b575b3dfd39ca6edf5fbacc1f229480
2012-12-19post OnPrint event ( application & document ) when printing startsNoel Power
this event used to get posted, somehow it seems it got dropped somewhere along the line ( looks like the printer and printer monitor code got reworked ) Change-Id: Ib75ee9e7ecd41614275033d2be2a351785326e24
2012-12-19convert document properties tabdialog to .ui formatCaolán McNamara
this includes allow us to add tabpages to SfxTabDialogs by name (and getting back the matching pageid) where the name of a tabpage is the name of the label widget for the page in the .ui notebook. Change-Id: I48bfaa9ac8daa443ca72540e2024ddb9df34faa5
2012-12-19split out custom properties info page and convert to .uiCaolán McNamara
The CustomPropertiesWindow could be converted to something that inherits from one of the new containers and remove a load of that custom positioning code but for now just minimally retro-fit the existing manual position setting code of the custom scrolling widget. Change-Id: I6c85286f3652a11bf8c8d827c4986b5b9d745523
2012-12-19split out custom info page and convert to .uiCaolán McNamara
Change-Id: I4353c839f6b081fcffd33edb2eb6722e91379cf5