summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
2013-03-27Remove HTMLMODE_FRM_COLUMNS and export column-count CSS attributeHarri Pitkänen
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-27MSC fixesStephan Bergmann
Change-Id: I5ea1e75a637e8f4fc51ff31321213267669f8bc9
2013-03-27sfx2: TabDlg_Impl::pData is deleted twiceMichael Stahl
(regression from eb69f807c4709a908222cb57b45a8733be663c56) Change-Id: I1752d60496a572152b571e871db818cf8c9264ed
2013-03-27WaE: macro is not usedTor Lillqvist
Change-Id: I5feb344a98465e5bd85e233cb4bb4b34c93344dd
2013-03-27Use <config_features.h> instead of -DLIBO_FEATURE_*Tor Lillqvist
Change-Id: Idc198beb6d759dbe3bad6ea58d896c1555b4cc0f
2013-03-27-Wunused-macrosStephan Bergmann
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-26coverity#440839 Resource leak in objectJulien Nabet
Change-Id: Icf65fdaac8c5ed852a85dce18fc49d401c12074e
2013-03-26Check feature test macros instead of ANDROID and/or IOSTor Lillqvist
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-26Lock files make no sense on Android or iOSTor Lillqvist
Change-Id: Ie8d05b8596fb7d17e057bc32c7a4204a9ff54021
2013-03-26Shared documents make no sense for Android and iOSTor Lillqvist
(When I say documents, I mean spreadsheets. Only Calc has code for this.) Change-Id: I05fd19885633f9e250940678d33e2e4c82c31a9d
2013-03-26quickfixStephan Bergmann
Change-Id: Ida36d96982d869553452c8240da7dec363cee4b4
2013-03-26Syncronize thumbnails ids with SfxDocumentTemplates when moving.Rafael Dominguez
Change-Id: I9ee17e00f769ca16f566b1397d09b76a09273912
2013-03-26Fix template manager item selection behaviour with mouse.Rafael Dominguez
Change-Id: Icf63454973b4044443eea1cc583fce3a78c5594d
2013-03-26Deselect thumbnailview items when clearing the view.Rafael Dominguez
Change-Id: I8aa3f61d3ec7a8bf6195c5480b82d1dc1ecabc34
2013-03-26Merge TemplateView into TemplateAbstractView class.Rafael Dominguez
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-26fdo#61429: Stylist: save selection of "Hierarchical" entryMichael Stahl
This is unfortunately rather ugly because that one is "very special". Change-Id: Ie2bc9ce2690fbc742b4510e453ca1ef310614256
2013-03-25There are many ships in the port of Hamburg but "ownership" is not oneTor Lillqvist
Change-Id: I971390d084b08293b21fdc35beb74482a1560bb8
2013-03-25sfx2: pViewOnlyItem: -Werror=unused-variableMichael Stahl
Change-Id: I6564edb9dcd07481a202d0154e77439dee9bf673
2013-03-25fdo#60780, Save a Copy wipÁdám Csaba Király
GUIStoreModel now correctly calls storeToUrl instead of storeAsUrl, when saving a copy. Dialog title is correctly set. TODO: - Write help Change-Id: I4d7fc9ebc91c2129e8d8dcf9978c324bdddae129
2013-03-25fdo#62659: only select items in ThumbnailView on TabStopCédric Bosdonnat
Change-Id: I024df8520f0daf2cc2e9e5f041e1ff18cb3689ec
2013-03-25fdo#61390: allow arrow keys to show hidden thumbnail itemsCédric Bosdonnat
Change-Id: I70924b4c9578122a1c5a5b6c8a67889d6d003a2e
2013-03-25SfxInternetPage: apparently forgot to remove the .ui file...Michael Stahl
Change-Id: I6fa21e9e7403eacf4259c2cb95b22c383c517aa9
2013-03-25remove that silly SfxInternetPage alreadyMichael Stahl
LibreOffice is not a web browser. This reloading stuff apparently never even worked for editable documents anyway, see i#50881. Change-Id: I720fbb72fd93232ad3e6fdfc65a05748bdf78108
2013-03-25Bin a fairly useless OSL_TRACETor Lillqvist
Change-Id: Iab2500d60869ff7cad97601b7af72f76972ccc53
2013-03-25coverity#704302 Logically dead codeJulien Nabet
Change-Id: Ibdea2ca5225ac13e80b0a76cd0fd79e463c32e37 Reviewed-on: https://gerrit.libreoffice.org/2977 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-03-22coverity#440784 Logically dead code + cleanupJulien Nabet
Change-Id: Ib620de7cf05d0c84efd933a141f3ab0a6c1c2fd5
2013-03-22fdo#61390: Fixed the tabstop in the TemplateView.Cédric Bosdonnat
Change-Id: I887b11646efb9a839da11cd3e20cdf7e532caf3e
2013-03-22-Werror,-Wparentheses-equalityStephan Bergmann
Change-Id: I69fd94447718e23ed88af28fed7ba2957559dc5b
2013-03-22fdo#61390: simple keybard support in TemplateManagerCédric Bosdonnat
Adds support for the UP, DOWN, LEFT, RIGHT and RETURN keys in the thumbnails view but doesn't handle the modifiers yet. There are still some problems with the focus and key input outside the top level Change-Id: I5ba67583c835bcc00b075071411c0d6590a07f9a
2013-03-22Template Manager: removed some dead selection codeCédric Bosdonnat
Change-Id: Ib5ebcd928e77a115f4f62a50724656c33ae13c61
2013-03-22strg is ctrl in englishThomas Arnhold
Change-Id: I569bfa7c9d461a5af0ef6e6f37bf717255936b78
2013-03-21add sw swd msfilter vbahelper to Library_mergedPeter Foley
Change-Id: If7fc0b480c58599e86bf3b75080b8b18d5d79488
2013-03-20Template Manager: select first item when getting focus if no selectionCédric Bosdonnat
Change-Id: Ie012e010ca92728725535345c76fc9f5eb31a254
2013-03-20Template Manager: fixed control WinBits reset... was breaking tabstopCédric Bosdonnat
Change-Id: I6e542ecc0e0f5a2b3e0ca59a52bb809b1a23284f
2013-03-20Replace String with OUString (unotools)Chr. Rossmanith
Change-Id: I9a0677cb36805d0a27514824c937901f73fee1c8 Reviewed-on: https://gerrit.libreoffice.org/2864 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-03-20Remove uses of rtl::OUString::compareToAscii(asciiStr, maxLength)Stephan Bergmann
...which is a confusing overload with unexpectedly different semantics from the one-parameter form. In preparation of marking it as deprecated. Change-Id: I4f176995546ae583fc570d770647ffc315eecc75
2013-03-20fdo#46808, Convert a bunch of comphelper::ComponentContext stuffNoel Grandin
.. to Reference<XComponentContext> mostly in the dbaccess module, but it also affected some other modules. Change-Id: I09b3f6fe7a9b33498b11d98b5521b5aeeb8882be
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19Simplify equalsIgnoreAsciiCaseAscii[L] callsStephan Bergmann
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
2013-03-19Template Manager: fixed TabStops for the toolbarsCédric Bosdonnat
Change-Id: Iab2dd8ef71fd84e9d147d90e9cad46d69a8fe650
2013-03-19Template Manager: fixed search edit field positionCédric Bosdonnat
Change-Id: Ic5ef64ba3ed4c98397b0c4911de491df4c79946a
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19trailing whitespacesThomas Arnhold
Change-Id: I3d0e2015e4c9f0ea6118fd92892022607fe4bde6
2013-03-18fix other problems found by WundefLuboš Luňák
Change-Id: Ib4aba95436f82d2a20b07a092f0fd07e0620fdcf
2013-03-17fix about logo not stretching to fit dialog widthCaolán McNamara
A regression since a1a0830d1ac3ffabbe35bd8a0264b64f1f7a9d67 where fFactor100th_mmToInch changed. This looks super fragile and presumably isn't exactly the right way we should be doing it. Change-Id: I7c34eefd2331e4fec4b7e6893c68a989f2f5fd62
2013-03-16"show logo" in slideshow settings doesn't do anythingCaolán McNamara
This wants to load about.png which doesn't exist anymore. "about.svg" does, but is a rather abstract background image for the about dialog these days, so use "flat_logo.svg" instead. Which requires moving the svg loader out of cui into sfx2 for re-use. Change-Id: I8654f0f93766556ef4ed4b87eff35b45d8189761
2013-03-15Template manager: moved the controls into a proper TabPage to avoid problemsCédric Bosdonnat
Change-Id: Ibff35bf24873a38c9a09d71fb3630a57e06f1a3c
2013-03-15fix indentationMarkus Mohrhard
Change-Id: Ia2f7ccc2a9ccc888dfef5d5bf0cb366b1b3ba981
2013-03-15use a scoped_ptr hereMarkus Mohrhard
Change-Id: Iac59e450521b427c5ddb77cb944dd12ef4bb0cea
2013-03-15initial work on an odc exportMarkus Mohrhard
We can now export a chart to odc when we are in chart edit mode from Calc. I need to add support for it to Writer and Impress as well. We can already open these files but copy&paste from the opened file fails. The next step is then to add a new menu entry Insert->Object->Chart from file Change-Id: I14d1702e79517e7319a1929de2be5501d375885d