summaryrefslogtreecommitdiff
path: root/sfx2/source
AgeCommit message (Collapse)AuthorFilesLines
2013-02-14CMIS: made it work with Lotus LiveCédric Bosdonnat1-1/+1
Making libcmis and LibreOffice work with Lotus Live service needed a few hacks to either better implement CMIS or workaround some bad implementations. As a general improvement, the CheckOut InfoBar isn't shown if the document can't be checked out. Change-Id: I7bb4211db0506998cef40ac1fb6375e647234085
2013-02-13Templates Manager: if the title can't be edited, don't update it in UICédric Bosdonnat4-7/+9
Change-Id: Id16431fb3517c831a5e81ff72fafaa8569f99ef1 Reviewed-on: https://gerrit.libreoffice.org/2109 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-02-13Templates Manager: UI for renaming templates and folders, fdo#60579Cédric Bosdonnat6-5/+222
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. Conflicts: sfx2/inc/sfx2/templateview.hxx sfx2/source/control/templatelocalview.cxx sfx2/source/control/templateview.cxx Change-Id: I2e4a89c2e68f7e04b0fca3fc161920505ac715b4 Reviewed-on: https://gerrit.libreoffice.org/2108 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-02-12Fixed SfxDocTplService_Impl::setTitleForURL to keep all streams.Cédric Bosdonnat1-2/+13
After commit 117fdb98, the setTitleForURL only wrote the meta.xml file to the odf container, dropping all the other streams. Use storeToStorage as in the old implementation to fix the problem. Even though marginal, this problem is important for templates renaming. Change-Id: Ia9b6abfc112f102e2bd2ae9d3080c4ed827200df Reviewed-on: https://gerrit.libreoffice.org/2107 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-02-06bnc#437516: Hide minimum password info in the password dialog.Kohei Yoshida1-0/+5
When launching it from the Security tab of the PDF Options dialog during PDF export. Change-Id: Ife2d3a7b508ba2e077018d11478ad680d18d3f0d Reviewed-on: https://gerrit.libreoffice.org/1946 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-02-05Resolves: fdo#60144 only delete *unposted* SfxRequests accumulated during lockCaolán McNamara1-4/+14
When the dispatched is locked, SfxRequests accumulate in aReqArr for later dispatch when unlocked via Post The pointers are typically deleted in Post, so only if we never get around to posting them do we delete the unposted requests. regression from 528aba3a9cf91da5ce70c6d631d7b82e203f8086 Change-Id: I4c214791d356ce0e5401a87b968b53e4866f6174 (cherry picked from commit 1385896fe760fe61b19a682cb7dc7fdf31d31490) Reviewed-on: https://gerrit.libreoffice.org/1991 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-02-02fdo#59022: revert "SfxMedium::GetOutputStream(): re-use existing XStream"Michael Stahl1-13/+6
Revert commit 0c2206081de38a41597aadfb2255540d6308be63, since this apparently causes failure to open ODF files via SMB on Linux. Instead of changing SfxMedium, adjust the ScExportTest: when saving XLSX files interactively, the SfxFilter::lFormat is always 0, which causes SfxObjectShell::SaveTo_Impl not to call SfxMedium::GetOutputStorage() at all, working around the locking issue on WNT. Change-Id: I0ab8b4262475e4c8425eebb1413997457e5e9417 (cherry picked from commit 0799130b0ba954715d00feb93cef83dd48e29889) Reviewed-on: https://gerrit.libreoffice.org/1952 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-02-01Template Manager: show some icons if there is no thumbnailCédric Bosdonnat3-0/+51
Change-Id: I2686d6f1d29862878b5ee0f6ca0d2e746766ef21 Reviewed-on: https://gerrit.libreoffice.org/1948 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-01-30Template Manager: focus in search edit when clicking search actionCédric Bosdonnat1-0/+2
Change-Id: I91fa8463442d842ef9929a87fb22e5e1a0a869b5 Reviewed-on: https://gerrit.libreoffice.org/1916 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-01-29Template Manager: don't show any tab and show all folders when saving templateCédric Bosdonnat1-0/+2
Change-Id: Ib8f8dd66374a56a5c49155cde6420c865aa308f7 Reviewed-on: https://gerrit.libreoffice.org/1902 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-01-25Template Manager: remote repositories only for experimental modeCédric Bosdonnat1-0/+8
Change-Id: I79501bdcd25f362065d9b95efd1a43f6be84577e Reviewed-on: https://gerrit.libreoffice.org/1847 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-01-21PRODUCTEXTENSION: fix various obvious strings and such...Michael Stahl1-1/+1
... to look pretty; most of these expect PRODUCTEXTENSION to be a word like "Beta" but nowadays it is ".micro.rc.alphabeta" numbers so there should be no space before it. ReplaceStringHookProc adds insult to injury by refusing to replace %ABOUTBOX variables unless some %PRODUCT is in the string. Change-Id: Ib676f3837ab0785529a226fc9359e8defacf3459 (cherry picked from commit c106167f5f6ec1bff9b2291ff8791ca6d4d411c3) Reviewed-on: https://gerrit.libreoffice.org/1763 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-01-18fdo#58893: Revert "Resolves: rhbz#818557 crash with NULL shell..."Michael Stahl1-3/+0
This reverts commit a1d265be484f1c70f57ab3de9b2d8c27d2fd3aa4. This commit causes the crash, because apparently it causes some event to be delayed via SfxHintPoster which refers to some SfxRequest that is then deleted too early. Change-Id: I301f3b52001c1d8b1b60f5b1cfb3b093c9f81607 (cherry picked from commit 5090267eada3d68a618769c5dbae8b2ee8d6dab5) Reviewed-on: https://gerrit.libreoffice.org/1721 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-01-17Template Manager: show names on several linesCédric Bosdonnat4-76/+68
Change-Id: I6990bb6ac52889de36f3ec2cce33e4dc2f3da2ea Reviewed-on: https://gerrit.libreoffice.org/1715 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-01-17Resolves: fdo#58998 insert section applied twiceCaolán McNamara1-1/+9
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 (cherry picked from commit 8fd85527981e3a6a915192aaea6f1595ea9f037c) Reviewed-on: https://gerrit.libreoffice.org/1729 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-01-15Template Manager: delete popup menus in the proper orderCédric Bosdonnat1-1/+1
Change-Id: Iafccfaa572b945d8d75d926ccc1935320b9d70d9 Reviewed-on: https://gerrit.libreoffice.org/1689 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-01-14Template Manager: show folders with 4 previews inside a rounded rectCédric Bosdonnat4-67/+128
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-14Template Manager: filter the results when opening the dialogCédric Bosdonnat2-2/+21
Conflicts: sfx2/source/control/templateabstractview.cxx Change-Id: If6cc5f6d5e502c1fc5da210179263be63fc8c8a6 Reviewed-on: https://gerrit.libreoffice.org/1675 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-01-14Template Manager: removed All categoryCédric Bosdonnat3-9/+0
Change-Id: I073b9601c82a464f705df30cfd7e760c212eb7ca Reviewed-on: https://gerrit.libreoffice.org/1674 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-01-10fdo#58328: fixed items types made versioning work againCédric Bosdonnat1-2/+2
Change-Id: Ib74f8f1a79ca04c42db9bd2c35ae6c4729edad69 Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2013-01-10Template Manager: don't deselect item after setting default templateCédric Bosdonnat1-10/+8
Change-Id: I860fb2c91d6843a1d5345ab2cf9270473f73f5bc Reviewed-on: https://gerrit.libreoffice.org/1611 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-01-10Template Manager: double click on the whole item instead of only thumbnailCédric Bosdonnat1-1/+0
Change-Id: Ie07d41e5dcb09977d89752e724fcbabd6c5d7df1 Reviewed-on: https://gerrit.libreoffice.org/1610 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
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-08Make LO buildable again after the GraphicFilter move.Jan Holesovsky5-5/+5
Conflicts: svtools/Library_svt.mk q# Change-Id: I3455a7294b136400f32163626d5a7a7f2bfa898c Signed-off-by: Cor Nouws <oolst@nouenoff.nl> Signed-off-by: Olivier Hallot <olivier.hallot@documentfoundation.org> Signed-off-by: Adolfo Jayme Barrientos <fitoschido@ubuntu.com> Signed-off-by: Michael Meeks <michael.meeks@suse.com>
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-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-01Bump copyright year to 2013Andras Timar1-1/+1
Change-Id: Iab660dcfffc2a511092398926338ed06f6408925
2012-12-21Templates Manager: removed the old dialogs and menu entriesCédric Bosdonnat12-3910/+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/inc/docvor.hxx sfx2/inc/orgmgr.hxx sfx2/source/doc/docvor.cxx sfx2/source/view/orgmgr.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: I5aa9dd8c0bfb95c26bca14962f60041e892ea2ea
2012-12-20fix fdo#58403 fix processing of arguments from ".uno:Print" requestNoel Power1-1/+1
Change-Id: I011c2ea45d33ead14910e149a99ee8e587ef79b9
2012-12-20post OnPrint event ( application & document ) when printing starts fdo#58269Noel Power1-0/+1
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-20Partially reverted 786f15e605867668d88ab23d66cabb18f18bdcf9Cédric Bosdonnat4-0/+35
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. Change-Id: I1388d955752e99ab6d39dfc81bb41a97b33bdfcd
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-18Removed File > Templates > Address Book Source... menu entry and its codeCédric Bosdonnat4-35/+0
Change-Id: Iaec660c2d8da109bd644f5c88213fdb0c51a9c0f
2012-12-18Template Manager: one filtering code to rule them allCédric Bosdonnat3-78/+60
Change-Id: Ice3523a98b575b3dfd39ca6edf5fbacc1f229480
2012-12-18sfx2 renamed templatelocalviewitem.hxx to templatecontaineritem.hxxCédric Bosdonnat3-3/+3
Change-Id: I7133c5b1ba41b01e695d006af8e5e3bb29997ec6
2012-12-18sfx2: renamed TemplateLocalViewItem into TemplateContainerItemCédric Bosdonnat3-33/+33
Change-Id: I8ff318a7bcad21c4fe8d5dda818fad5763a6ff02
2012-12-18sfx2: rename TemplateRemoteViewItem to TemplateRepositoryCédric Bosdonnat2-6/+6
Change-Id: I7a7479f0264f38aa0193d50acfe58b20ff57d8d0
2012-12-18sfx2: renamed templateremoteviewitem.hxx to templaterepository.hxxCédric Bosdonnat2-2/+2
Change-Id: I5fb96df9ae95b42eb4e2485068488e8c81929563
2012-12-18Template Manager: moved repositories storage to dialogCédric Bosdonnat3-137/+113
Change-Id: If049e05b7cec060cbdbc5a366a4019f088325e1f
2012-12-13Template Manager: fixed typo in .src fileCédric Bosdonnat1-1/+1
Change-Id: I27195076b6a0a8f48c676d884d671fc9a746ce6b
2012-12-13Template Manager: make it sizeableCédric Bosdonnat3-49/+62
Change-Id: I14d3c73b714b9cbfefad7adcb02efb790c8a1e5b
2012-12-13Template manager: slightly smaller items to show more of themCédric Bosdonnat2-20/+0
Change-Id: I43aa0655fb46729747829f7e6ef111efc8df90f7
2012-12-13Template Manager: add path controls to overlay and removed name editingCédric Bosdonnat6-211/+36
Change-Id: I0d27edff4ba6c25fd9dc85c80ac5e3287fbd4207
2012-12-13Revert "Template Manager: better show the folder overlay."Cédric Bosdonnat6-51/+20
This reverts commit 7bebd970852a34c8421b499d06d75444c08221bc.
2012-12-13fdo#31309 Taskpane items visibility can't be restoredRob Snelders1-2/+3
Change-Id: I9959b8e0a21252638a4f39f88bf5049ea905f4bb Reviewed-on: https://gerrit.libreoffice.org/1231 Reviewed-by: Lennard Wasserthal <Wasserthal@nefkom.net> Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com> Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com> Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-12-12Template manager: no need to extract file type descriptionCédric Bosdonnat3-10/+0
Change-Id: I18d01542f009a5c6c1f688a8df04c14d3c8edc9e
2012-12-12Template manager: filter on extensions, file type is localizedCédric Bosdonnat2-37/+20
Change-Id: I4b4a4f8aaf253e663bbeb4f061c6aa87411b730f
2012-12-12oops, introduced some typos in the allowed templates extensionsCédric Bosdonnat1-1/+1
Change-Id: I144141ade5ff8c719e9eb21e3b904cbbdca14f00