summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)AuthorFilesLines
2013-01-14Add new unit test to test pivot table functionalities via ScDBDocFunc.Kohei Yoshida2-0/+12
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-14we only ever want the preferred window size from GetOptimalSizeCaolán McNamara2-5/+5
so remove the MAX and MIN options and simplify the whole lot Change-Id: Iaaf350c37e01f7fce434af760bcddb9b7d7135ea
2013-01-14Work around "may be used uninitialized" warningsStephan Bergmann1-2/+2
Change-Id: Ib31ebaf6a6117689737705921a7af558257e8cd1
2013-01-14-Werror,-Wtautological-constant-out-of-range-compareStephan Bergmann1-5/+3
...comparing enum eOption with -1 Change-Id: I927b71d1e9988a39ffc1be585ab4bdecfd16b226
2013-01-11QUARTZ is equivalent to MACOSXTor Lillqvist3-6/+6
So just check MACOSX in the sources, and don't pass any -DQUARTZ to compilations. Change-Id: Ia1de6024810f81f1eea01b8eb0b885d9d1ee8e20
2013-01-10fdo#58328: fixed items types made versioning work againCédric Bosdonnat1-2/+2
Change-Id: Ib74f8f1a79ca04c42db9bd2c35ae6c4729edad69
2013-01-09Template Manager: delete popup menus in the proper orderCédric Bosdonnat1-1/+1
Change-Id: Iafccfaa572b945d8d75d926ccc1935320b9d70d9
2013-01-09Template Manager: filter the results when opening the dialogCédric Bosdonnat2-5/+4
Change-Id: If6cc5f6d5e502c1fc5da210179263be63fc8c8a6
2013-01-09Template Manager: removed All categoryCédric Bosdonnat3-9/+0
Change-Id: I073b9601c82a464f705df30cfd7e760c212eb7ca
2013-01-09Template Manager: don't deselect item after setting default templateCédric Bosdonnat1-10/+8
Change-Id: I860fb2c91d6843a1d5345ab2cf9270473f73f5bc
2013-01-09Template Manager: double click on the whole item instead of only thumbnailCédric Bosdonnat1-1/+0
Change-Id: Ie07d41e5dcb09977d89752e724fcbabd6c5d7df1
2013-01-09Documentation for sfx2Lennard Wasserthal1-0/+0
Change-Id: Id0df71664891ad2ced5336a7eea65c03353bbd92 Signed-off-by: Lennard Wasserthal <Wasserthal@nefkom.net> Reviewed-on: https://gerrit.libreoffice.org/1599 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-01-09fdo#468080, remove unnecessary XMultiServiceFactory from frameworkNoel Grandin1-1/+1
The ActionTrigger classes in framework were not using their XMultiServiceFactory parameters, so remove them. And follow that through by cleaning up places that no longer need to store XMultiServiceFactory references. Change-Id: I433c4fdb02a56eeef75728893e0c9b749d8313be
2013-01-09fdo#46808, use new method OConfigurationTreeRoot::createWithComponentContextNoel Grandin1-2/+2
.. everywhere that was using createWithServiceFactory, and delete the old method. Change-Id: I02cb2bfbcc2390494383579d2f14caa4fc5b8014
2013-01-09fdo#46808, Add service factory method to ucb::AnyCompareFactoryNoel Grandin1-7/+2
Change-Id: I18774fabdaf27376898ed661be21a72c6f52410d
2013-01-08Template Manager: clicking on selected item should deselect itCédric Bosdonnat1-1/+1
Change-Id: Id13ce13ec222fc10cbfcad7fec5e7eeb5957312c
2013-01-08Template Manager: clicking on empty space deselect everythingCédric Bosdonnat1-0/+2
Change-Id: I7cfbbd3a4f4283b9438a97eb383b460cad1f5a63
2013-01-08Template Manager: unselect folder when double-clickingCédric Bosdonnat1-1/+1
Change-Id: I11ad88b3a69d3e2a00e859ee33cbc22c5d525618
2013-01-08Template Manager: fixed select template and scroll caused trouble with toolbarCédric Bosdonnat1-3/+5
Selecting a template in the first row and scrolling down made some items in the toolbar disappear... Fixed this by checking if the item to update is already in the selection. Change-Id: I2ddffae3a1c6092241afcf2acd212fe07b3a65ce
2013-01-08Templates Manager: merged the Double Click Handling into TemplateAbstractViewCédric Bosdonnat9-69/+59
Change-Id: Iafc1650d57d29fbc24921498f18da6c0e510b37a
2013-01-07allow associating tab page names and tab page creation idsCaolán McNamara2-18/+73
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-07allow menu items to be referred to by a nameCaolán McNamara1-1/+2
Change-Id: I8bb1c082e3948f919232b81e0f1f869b88fcd852
2013-01-07Cleanup: #include <tools/gen.hxx>Matteo Casalin1-1/+0
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-07Add some DISABLE_SCRIPTING ifndefsTor Lillqvist4-1/+14
Change-Id: I2bb4f00ece212fe3c4741deea0bcad50e1fd60e1
2013-01-04Make LO buildable again after the GraphicFilter move.Jan Holesovsky6-6/+6
Change-Id: I3455a7294b136400f32163626d5a7a7f2bfa898c
2013-01-03fix fdo#58779 fdo#58403 re. raise print dialogNoel Power1-4/+7
adds another tweak that had been removed with some print related rewrite Change-Id: If63072c9b2c6158d46f26933fd54766fd808569c
2013-01-01remove use of #pragma optimizeLuboš Luňák2-19/+0
All these are years old, guessing from some comments as old as Windows 9x support. These workarounds do not seem to be needed now. Change-Id: If67baa5cdefcec33b28696c764b1ed96143b7ccd
2013-01-01Bump copyright year to 2013Andras Timar1-1/+1
Change-Id: Iab660dcfffc2a511092398926338ed06f6408925
2012-12-29callcatcher: update unused code listCaolán McNamara14-1153/+1
Change-Id: I47467b53705f8059a829126a598e29a1105df13c
2012-12-27Sigh, my git grep regexps missed some casesTor Lillqvist1-1/+1
Change-Id: I085f14f40fb83cba171b35b14cf7c0d99091fc00
2012-12-21fdo#46808, Convert frame::Desktop to new style service.Noel Grandin18-147/+113
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 Leigh1-1/+1
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-20fix fdo#58403 fix processing of arguments from ".uno:Print" requestNoel Power1-1/+1
Change-Id: I011c2ea45d33ead14910e149a99ee8e587ef79b9
2012-12-20Partially reverted 786f15e605867668d88ab23d66cabb18f18bdcf9Cédric Bosdonnat3-0/+39
This dialog is still of some use with some Writer Wizards and templates. Re-added the dialog, but moved the menu entry to Tools menu in Writer. The menu entry has not been added back in the other applications. Conflicts: sfx2/sdi/appslots.sdi sfx2/source/appl/appserv.cxx sfx2/source/doc/docvor.cxx sfx2/source/doc/docvor.hrc sfx2/source/doc/docvor.src Change-Id: I1388d955752e99ab6d39dfc81bb41a97b33bdfcd
2012-12-20Removed File > Templates > Address Book Source... menu entry and its codeCédric Bosdonnat3-39/+0
Conflicts: basctl/uiconfig/basicide/menubar/menubar.xml extensions/source/bibliography/uiconfig/sbibliography/menubar/menubar.xml framework/uiconfig/startmodule/menubar/menubar.xml sc/uiconfig/scalc/menubar/menubar.xml sd/uiconfig/sdraw/menubar/menubar.xml sd/uiconfig/simpress/menubar/menubar.xml sfx2/sdi/appslots.sdi sfx2/source/appl/appserv.cxx sfx2/source/doc/docvor.cxx sfx2/source/doc/docvor.hrc sfx2/source/doc/docvor.src svtools/source/dialogs/addresstemplate.cxx sw/uiconfig/sglobal/menubar/menubar.xml sw/uiconfig/sweb/menubar/menubar.xml sw/uiconfig/swform/menubar/menubar.xml sw/uiconfig/swreport/menubar/menubar.xml sw/uiconfig/swriter/menubar/menubar.xml sw/uiconfig/swxform/menubar/menubar.xml Change-Id: Iaec660c2d8da109bd644f5c88213fdb0c51a9c0f
2012-12-20Templates Manager: removed the old dialogs and menu entriesCédric Bosdonnat24-4307/+0
Change-Id: I5aa9dd8c0bfb95c26bca14962f60041e892ea2ea
2012-12-20Template Manager: one filtering code to rule them allCédric Bosdonnat6-85/+64
Change-Id: Ice3523a98b575b3dfd39ca6edf5fbacc1f229480
2012-12-19post OnPrint event ( application & document ) when printing startsNoel Power2-0/+2
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-19set a more sane default height on headerbarsCaolán McNamara1-1/+1
Change-Id: I2af5adb064888336dd1ea622bb274c45052e2e61
2012-12-19convert document properties tabdialog to .ui formatCaolán McNamara8-169/+178
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 McNamara8-226/+198
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 McNamara8-217/+115
Change-Id: I4353c839f6b081fcffd33edb2eb6722e91379cf5
2012-12-19split out internet info page and convert to .uiCaolán McNamara10-502/+375
Change-Id: I1aa0dea1e0867b4cf6c4ca099d8c0281d400b24c
2012-12-18fdo#58370 - 'Send Feedback...' URL invalid in other languages then EnglishRob Snelders1-2/+2
Change-Id: Idfd689c86700fe3b6ec2af477973a2cb484fc29d Reviewed-on: https://gerrit.libreoffice.org/1408 Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com> Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-12-18split out security info page and convert to .uiCaolán McNamara11-406/+206
Change-Id: Ifb962186a80941beb57b75815fbb9d425ef44ee0
2012-12-18split out statistics info page and convert to .uiCaolán McNamara1-274/+1
Change-Id: I0c940128e535cfadbd7ac917601dd9da0d0a347a
2012-12-18bah, missing fileCaolán McNamara1-0/+142
Change-Id: I09626f2d7b5b786e35e02964554d7f5c0239d952
2012-12-18split out description info page and convert to .uiCaolán McNamara8-264/+57
Change-Id: I502a51018f7281c9e4bc42d6f9ae76e6cd6a3d86
2012-12-18sfx2 renamed templatelocalviewitem.hxx to templatecontaineritem.hxxCédric Bosdonnat6-5/+5
Change-Id: I7133c5b1ba41b01e695d006af8e5e3bb29997ec6
2012-12-18sfx2: renamed TemplateLocalViewItem into TemplateContainerItemCédric Bosdonnat5-41/+39
Change-Id: I8ff318a7bcad21c4fe8d5dda818fad5763a6ff02