summaryrefslogtreecommitdiff
path: root/sfx2/inc
AgeCommit message (Collapse)AuthorFilesLines
2013-05-08Add open action to template manager toolbar.Rafael Dominguez1-0/+1
Change-Id: I5cec8814776f2658c990fb45193736a60178965b
2013-05-08Give view variables a proper name that reflect their use.Rafael Dominguez1-2/+2
Change-Id: Ie1d4cb0e77a43ce1ea2115e781b3a62d60961e11
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2-25/+5
2013-04-23execute move of global headersBjoern Michaelsen116-19546/+0
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-22Restore SfxControllerItem::GetCoreMetricCaolán McNamara1-0/+2
was correctly removed by 9c2f7056a82c4d7719715ca1c77f8dd4c17aa24c but we will need it again soon Change-Id: I7b2af6a17fc1c34d9313428e759e93fdde9ba0d7
2013-04-22SID_ATTR_TEXT_FITTOSIZE is already using this slotThomas Arnhold1-1/+1
Change-Id: I26a0f821d026c8e0701fa3860357168837ea5a28
2013-04-21fdo#62699 Remove a few more pass-through headersMichael Dunphy1-28/+0
Change-Id: I4cc2dc7f1da3bc15921939e3bd5908a3f7049eab Reviewed-on: https://gerrit.libreoffice.org/3492 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-19Remove pass-through header svtools/inc/svtools/txtcmp.hxxMichael Dunphy2-27/+1
Change-Id: I605ae778e57a12588dca274a4ee34a018004034e Remove pass-through header sfx2/inc/sfx2/imgdef.hxx Change-Id: I9a5ebabefccdd63b55d64aec26488542d0d362e3 Remove pass-through header xmloff/inc/xmloff/xmlcnitm.hxx Change-Id: If880679499daee2f77d1f6e148dba963d09bbb9c Reviewed-on: https://gerrit.libreoffice.org/3477 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-16remove dead class SfxPtrAr and it's header sfx/inc/sfx2/minarray.hxxNoel Grandin3-112/+0
Change-Id: I23c9f905e6f679299f95baa6d8d4bafa97a3f19a Reviewed-on: https://gerrit.libreoffice.org/3399 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-04-16remove dead code minstack.hxxNoel Grandin1-56/+0
Change-Id: I67a7a4c51188187c1ab234f8e9d2634eb018badf Reviewed-on: https://gerrit.libreoffice.org/3397 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-04-16Convert SfxShellStack_Impl from SfxPtrArr to std::vectorNoel Grandin1-1/+3
Change-Id: I1ffd615a505029242a87337c9ef42c8156c42d70 Reviewed-on: https://gerrit.libreoffice.org/3394 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-04-16Convert SfxObjectUIArr_Impl from SfxPtrArr to std::vectorNoel Grandin1-17/+0
Also - remove dead class definition SfxIFConfig_Impl, which was using SfxObjectUIArr_Impl - simplify declaration sites, we don't need to dynamically allocate these arrays Change-Id: I0f7110a324cc37f2eb2567cc066099ea4d86276c Reviewed-on: https://gerrit.libreoffice.org/3359 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-04-16Convert usage of SfxPtrArray to std::vectorNoel Grandin1-1/+2
Change-Id: I38664f59e4cfa7354196437901175c9ef9aa9006 Reviewed-on: https://gerrit.libreoffice.org/3356 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-04-15remove dead class SfxResourceManagerNoel Grandin2-66/+0
Change-Id: I33590e7907c593d821e2eafda0e04c76c8b99879 Reviewed-on: https://gerrit.libreoffice.org/3393 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-04-15fdo#60724 correct spellingThomas Arnhold1-1/+1
Change-Id: I7318a9f4f3410edf4dbe67bf08f31682fcb4edc7
2013-04-13Share error handling code between DoLoad() and DoLoadExternal().Kohei Yoshida1-0/+3
Change-Id: I34167b80e9ac31b32639cd3be903ba9edbdfa41a
2013-04-13Manage to use orcus to import ods, xlsx, and csv.Kohei Yoshida2-7/+16
But this occasionally crashes. Change-Id: I0a18d0e210639b43b89b966a54de541b9a43e329
2013-04-11Resolves: fdo#63426 presentation wizard crashesCaolán McNamara1-0/+3
This effectively reverts the code parts of 13e8f68e82713cae2d081a236b260bda12aafa23 "fix memory leak and add some documentation" Change-Id: I66fa052f79185e1348c14e99954b04bf0a4622e5
2013-04-09String cleanup inside SfxFilter.Kohei Yoshida1-31/+33
Change-Id: I647b9e4de54fdcfadcf17ac7e161b245f3dea546
2013-04-09Store filter provider property with SfxMedium.Kohei Yoshida1-0/+1
Change-Id: I4ee6eed94cdfd8a8a514a79a33a1ccb4ff586ce5
2013-04-09Display correct region name in error messages.Rafael Dominguez1-0/+2
Change-Id: I1e3eddf9be2a75faabf0b0be91f30d7e8d43d3e4
2013-04-08fdo#46808, Convert frame::Frame to new styleNoel Grandin1-2/+2
Change-Id: I74427d1e0059808f04960c648b93245b06c20f7f
2013-04-08remove unused methodNoel Grandin1-1/+0
Change-Id: Ic8d56962411d87c5c6b33acccf1927d4e85ceaa9
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák56-304/+304
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-05fdo#61390 - Thumbnail navigation by shift-click and shift-keyboard.Rafael Dominguez1-0/+1
Change-Id: Ia63b2a39df1c2aa76bb288e032b35d95bb0ff439
2013-04-05Avoid generating filter list several times.Rafael Dominguez1-0/+2
- Only generate the list after applying a new filter function. - Append item directly to the filtered list if its allowed when appending a new item to the thumbnailview. Change-Id: I804533e2a1751abb0cbc3082093aef2cb9093fb0
2013-04-05new module i18nlangtagEike Rathke1-1/+1
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-05Remove SvtInternalOptionsThomas Arnhold1-1/+0
* only Get/SetCurrentTempURL were used, but only for compatibility reasons, to remove old temporary directories (before 2001). Those should be gone today. * MailUIEnabled was false in the xcu file. * SID_MAIL_SENDDOC* are handled some lines further. Change-Id: I482719b0de9df0a77c2fef0bf25ae1fb68926375 Reviewed-on: https://gerrit.libreoffice.org/3180 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz> Notes: API CHANGE.
2013-04-03convert calc format cells dialog to .ui formatCaolán McNamara1-0/+1
Change-Id: Ic134909f3e65bcb1aa440f60a156f293225d3edc
2013-04-02SFX_VISIBILITY_PLUGCLIENT, SERVER and RECORDING are unusedTor Lillqvist1-4/+0
Change-Id: I1fd581c8ca44cfb48184d8a17e6077707f038bd4 Reviewed-on: https://gerrit.libreoffice.org/3148 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-04-02Get rid of the slots.cfg mechanismTor Lillqvist2-3/+3
I very much doubt anybody is using it. It has never been documented as far as I can see for OpenOffice.org and even less for LibreOffice. I only found it mentioned in the "StarOffice 6.0 Software Administration Guide". Change-Id: I03f272427ef6717e3e3ff957f32ffe1f696d93c9 Reviewed-on: https://gerrit.libreoffice.org/3118 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-04-02sfx2: remove macrosThomas Arnhold3-236/+177
Change-Id: I8871b0c95874ceab755b3cb304a60c34981c649c
2013-04-01write even better codeThomas Arnhold1-361/+287
Change-Id: I0f193b9c17da5855fd515251543afc68b8885b9b
2013-03-28fdo#60844 Remember last open folder and filter in Template Manager.Rafael Dominguez2-0/+6
Change-Id: I81982af9a540c9966df8c0474b6527c5d08ed6f3
2013-03-28Dont reload template information after saving.Rafael Dominguez2-1/+3
Change-Id: Id4170e500d92dc912087eac137f38d243c3c1372
2013-03-28Make template thumbnail sizes appropiate to the content in them.Rafael Dominguez1-1/+4
Change-Id: Iaf238413b95ed3d09f58d7adb49da13da9d71887
2013-03-28Position correctly widgets in Template Manager.Rafael Dominguez1-1/+0
Change-Id: I2bb16913f20fcc093acaec9de8b07d27a692056b
2013-03-28fdo#60581 Import templates into current directory.Rafael Dominguez2-0/+5
Change-Id: I965586748ab51ddb6face485e0db292c4c7b5274
2013-03-28fdo#60581 Display import templates only when its allowed.Rafael Dominguez3-0/+7
Change-Id: I004b50118b1b261de4807660012b55eeecff41a3
2013-03-28Display create template folder only when its allowed.Rafael Dominguez3-0/+7
Change-Id: Ie2acd2246694ce792f628a7057df5c30dac5db32
2013-03-27Delete the correct template from the selected search results.Rafael Dominguez1-0/+2
Change-Id: I2fe82b20e9b4a78abbbb3e8e587a5720054f845d Reviewed-on: https://gerrit.libreoffice.org/3077 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-03-27Separate template region ids from thumbnail ids.Rafael Dominguez3-0/+5
- Update all actions to use the new system. Change-Id: I22da25a4bbba4604f5df42f440e6532076d39457 Reviewed-on: https://gerrit.libreoffice.org/3075 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-03-27Remove HTMLMODE_FRM_COLUMNS and export column-count CSS attributeHarri Pitkänen1-1/+0
For multi-column sections in Writer, HTMLMODE_FRM_COLUMNS controlled whether column settings for the section were exported to html or not. This was disabled for Internet Explorer and enabled for other browsers. The export was implemented using non-standard MULTICOL html element and did not actually work in any modern browser (apparently only some versions of Netscape have ever supported this). This patch - exports the column count also using "column-count" CSS attribute which is supported by latest versions of Opera and IE. Firefox and Webkit based browsers would currently require -moz-column-count and -webkit-column-count but I have not added these since the browsers will likely stop requiring the prefix in the future anyway. - removes HTMLMODE_FRM_COLUMNS conditional so that this export will happen with all html compatibility options, including IE. Remaining issue: Using the MULTICOL element (as opposed to DIV element) confuses at least Opera so that it ignores all style attributes applied on the element. But corresponding html import code in LibreOffice still relies on MULTICOL. I will work on a separate patch to add support for column-count CSS attribute to the import code and switch export to use DIV instead. Change-Id: I82a065fdda0e074fbfcd0007e6ff6e46185be3f5 Reviewed-on: https://gerrit.libreoffice.org/2950 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-03-27Use <config_features.h> instead of -DLIBO_FEATURE_*Tor Lillqvist1-1/+3
Change-Id: Idc198beb6d759dbe3bad6ea58d896c1555b4cc0f
2013-03-26Check feature test macros instead of ANDROID and/or IOSTor Lillqvist1-1/+1
Pass -DLIBO_FEATURE_FOO to compiler for some elements in BUILD_TYPE. BUILD_TYPE has at least two kinds of elements: Those that indicate building a bundled copy of some 3rd-party library, and those that indicate some specific feature of the LibreOffice platform or build-time configuration choice. This is for the latter kind. Change many of the checks for Android and/or iOS in the source code to check LIBO_FEATURE_DESKTOP, LIBO_FEATURE_HELP or DISABLE_EXTENSIONS instead, in cases where that is what is meant, not Android or iOS specifically. Change-Id: I2cd3f3bb99e953c7754dcea76a426f8f9d61e4db
2013-03-26Shared documents make no sense for Android and iOSTor Lillqvist1-1/+7
(When I say documents, I mean spreadsheets. Only Calc has code for this.) Change-Id: I05fd19885633f9e250940678d33e2e4c82c31a9d
2013-03-26Syncronize thumbnails ids with SfxDocumentTemplates when moving.Rafael Dominguez1-2/+2
Change-Id: I9ee17e00f769ca16f566b1397d09b76a09273912
2013-03-26Merge TemplateView into TemplateAbstractView class.Rafael Dominguez7-113/+57
Refactor TemplateView class into TemplateAbstractView so we only have one class that display template thumbnails and not a separate for folders and another for files. This will let us in the future be able to display file system hierarchies in case of the remote repositories and simplify the view handing logic. Change-Id: Iafc246eeff4c50c12ac9ebec9fe95dcc84991e9e
2013-03-25There are many ships in the port of Hamburg but "ownership" is not oneTor Lillqvist1-2/+2
Change-Id: I971390d084b08293b21fdc35beb74482a1560bb8
2013-03-25fdo#60780, Save a Copy wipÁdám Csaba Király4-0/+5
GUIStoreModel now correctly calls storeToUrl instead of storeAsUrl, when saving a copy. Dialog title is correctly set. TODO: - Write help Change-Id: I4d7fc9ebc91c2129e8d8dcf9978c324bdddae129