summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
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-11Fixed SfxDocTplService_Impl::setTitleForURL to keep all streams.Cédric Bosdonnat
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.
2013-02-11fdo#46808, use service constructor for document::DocumentIOLogRingNoel Grandin
Change-Id: I39f6d9f671dcb03779d594df5af60c9a0e3ca451
2013-02-11fdo#46808, convert xml::xpath::XPathAPI to new-style serviceNoel Grandin
Change-Id: I54bb0eb08d687e7d54c42601c826c580a7a17ebb
2013-02-11fdo#46808, Use singleton util::theMacroExpander new-style constructorNoel Grandin
And deprecate the old-style service util::MacroExpander Change-Id: Ifcefe31a8f8c68c6d44d6ec19616727eb607e1cd
2013-02-10embeddedobj: log some exceptionsMichael Stahl
Change-Id: I2e565bc6e57f7bf59fdd6eb5fc577e0b3d58b9f6
2013-02-09Remove unused methodsThomas Arnhold
GetOptimalSizePixel and GetHCtrlWidth are never called Change-Id: Ib2ce1445447e85de66683f8b0fdf4fc8aa464084
2013-02-08fdo#38838 Some removal/replacement of the String/UniString with OUStringJean-Noël Rouvignac
Change-Id: I6daea312198fae3a9717bd8d4fea6371aa4cd275 Reviewed-on: https://gerrit.libreoffice.org/1962 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-02-06remove obsolete hidother.src filesAndras Timar
Change-Id: Ieb30afd81d16d184e0276ce7699b848f26a00013
2013-02-06String->OUStringCaolán McNamara
Change-Id: I42193a40a0b5b905a721cb511d69836385bfcb40
2013-02-05Resolves: fdo#60144 only delete *unposted* SfxRequests accumulated during lockCaolán McNamara
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
2013-02-04String to OUString.Kohei Yoshida
Change-Id: I3a0eff8ca0c8b654a38ee2df1022ca162bcb67aa
2013-02-05SfxCommonTemplateDialog_Impl::SelectStyle:Michael Stahl
Deselect everything before selecting a style. Fixes the problem that travelling around with the cursor leads to accumulating multiple selection of every style the cursor runs across. (regression from 439ac45925039aa7a537feedab3e731e8a60a8e5) Change-Id: I5d51122a719a160c6428e196b32264a90f984579
2013-02-01Increase test timeoutStephan Bergmann
...it now matches the duration of another nearby timeout in the code, and it happened to cause a parallel "make check" to sometimes fail on a slow MacBook. Change-Id: If8bddb82a05c46637fdc2fcc3373411fcb37a466
2013-01-31fdo#59022: revert "SfxMedium::GetOutputStream(): re-use existing XStream"Michael Stahl
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
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-28Template Manager: focus in search edit when clicking search actionCédric Bosdonnat
2013-01-28Template Manager: don't show any tab and show all folders when saving templateCédric Bosdonnat
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-28fdo#46808, Adapt document::*PropertyValues UNO service to new styleNoel Grandin
The services are: document::NamedPropertyValues document::IndexedPropertyValues The services already existed, they just did not have IDL files Change-Id: Ibafe9b5afb9b30785df4f66aa923f4b96ceabeed
2013-01-28fdo#46808, Convert SvNumberFormatter to use XComponentContextNoel Grandin
Change-Id: If4e8312dae6bc5eb8bb7655cf250f06ab37b7e5c
2013-01-27Some cppcheck cleaningJulien Nabet
Change-Id: I7217ab7500de5d8220b85e56aceb6e843bd0769f
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl
- do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-26add mnemonic widgets to document info pageCaolán McNamara
Change-Id: I286847cb0f07a416b1810450eb2c873ca19c2932
2013-01-26add mnemonic widgets to description info pageCaolán McNamara
Change-Id: Ic9b5a0d39d91ee3546ab49e5c586b16b70298045
2013-01-26add mnemonic widgets to statistics info pageCaolán McNamara
Change-Id: Ife142f262f3f78f25ba3b8b3eaa1a515b21b3da5
2013-01-26sfx2/source/control/templateview.src is localizableAndras Timar
Change-Id: Ic21abffa3a889b96e2ce03c9ad997b3924133e66
2013-01-26add mnemonic widgets to internet info pageCaolán McNamara
Change-Id: Ic28d8e0918d81086232424fe98e34636f4f83233
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-24Template Manager: remote repositories only for experimental modeCédric Bosdonnat
Change-Id: I79501bdcd25f362065d9b95efd1a43f6be84577e
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-24fdo#46718 Delete multiple styles at onceJoren De Cuyper
Change-Id: I5f5982b2a2768d021f24693a285274544e07e40f Reviewed-on: https://gerrit.libreoffice.org/1737 Reviewed-by: Radek Doulík <rodo@novell.com> Tested-by: Radek Doulík <rodo@novell.com>
2013-01-24look into active tabcontrol page on help fallback searchCaolán McNamara
Change-Id: I13eda8a66e437c5f428b3ee3e9106f25cc9d02b7
2013-01-21fix previous string conversion:Michael Stahl
- unconverted assertion in dinfdlg.cxx - wrong replaceAt in SidebarWin.cxx - obsolete cast in SpellDialog.cxx Change-Id: I18450c0c6fdd275b7f81a7fce58cdf98bb806e27
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-21Fix spelling misteakTor Lillqvist
Change-Id: Ie5d3564cf00c27c11597dd3ff1ba8dc82e250c0b
2013-01-18PRODUCTEXTENSION: fix various obvious strings and such...Michael Stahl
... 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
2013-01-18add a way to select the current SfxTabPage by nameCaolán McNamara
Change-Id: Ib7a07bc0e6ec9f47b83839fb3eb8f31c014dedff
2013-01-16bInOK is unused, remove itCaolán McNamara
Change-Id: I133d7d2e37d267afe521d6641582dc88f9054a41
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-16SfxObjectShell::UpdateFromTemplate_Impl: template URL...Michael Stahl
... is an URI not a system path so convert it to absolute URI via rtl::Uri. Change-Id: I1ce4c732340a52916dab658f43b96da9a81b3525
2013-01-16fdo#58893: Revert "Resolves: rhbz#818557 crash with NULL shell..."Michael Stahl
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
2013-01-16Template Manager: show names on several linesCédric Bosdonnat
Change-Id: I6990bb6ac52889de36f3ec2cce33e4dc2f3da2ea