summaryrefslogtreecommitdiff
path: root/sfx2/inc
AgeCommit message (Collapse)Author
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
2012-12-19split out internet info page and convert to .uiCaolán McNamara
Change-Id: I1aa0dea1e0867b4cf6c4ca099d8c0281d400b24c
2012-12-18split out description info page and convert to .uiCaolán McNamara
Change-Id: I502a51018f7281c9e4bc42d6f9ae76e6cd6a3d86
2012-12-18sfx2 renamed templatelocalviewitem.hxx to templatecontaineritem.hxxCédric Bosdonnat
Change-Id: I7133c5b1ba41b01e695d006af8e5e3bb29997ec6
2012-12-18sfx2: renamed TemplateLocalViewItem into TemplateContainerItemCédric Bosdonnat
Change-Id: I8ff318a7bcad21c4fe8d5dda818fad5763a6ff02
2012-12-18sfx2: rename TemplateRemoteViewItem to TemplateRepositoryCédric Bosdonnat
Change-Id: I7a7479f0264f38aa0193d50acfe58b20ff57d8d0
2012-12-18sfx2: renamed templateremoteviewitem.hxx to templaterepository.hxxCédric Bosdonnat
Change-Id: I5fb96df9ae95b42eb4e2485068488e8c81929563
2012-12-18Template Manager: moved repositories storage to dialogCédric Bosdonnat
Change-Id: If049e05b7cec060cbdbc5a366a4019f088325e1f
2012-12-17split out document info page and convert to .uiCaolán McNamara
move svt::SelectableFixedText to vcl and implement "selectable" GtkLabels by mapping to that vs FixedText for standard GtkLabels Change-Id: Ic114991cd2c2eb6673bcef634fa286dd7c67056f
2012-12-15Remove unused ThumbnailView::GetScrollWidth()Julien Nabet
Change-Id: I8d3337e6ff30276c9de6c5de4836ea75ed6c8d99