summaryrefslogtreecommitdiff
path: root/sd/source/ui/annotations
AgeCommit message (Collapse)Author
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-16String->OUStringIvan Timofeev
Change-Id: Ibb7483e12d1c14b01cbcff64f881eb88e6c48265
2013-08-14XubString->OUStringCaolán McNamara
Change-Id: I9ccb06134dfadd9bf1ecb8e5edcd24c02980b754
2013-08-14XubString->OUStringCaolán McNamara
Change-Id: I178f9eb702afb6143c583d5fd54003a427d895fa
2013-07-26OUString conversion in sd in textapi.hxx and related filesMÁTÉ Gergely
Change-Id: Id080ae9aaf08de1b0903ee12dc1082c7e531af0b Reviewed-on: https://gerrit.libreoffice.org/5114 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-07-15i#108348 API CHANGE: add IsUTC to css.util.DateTime etc.Michael Stahl
Add IsUTC member to: com.sun.star.util.DateTime com.sun.star.util.DateTimeRange com.sun.star.util.Time Add new stucts with explicit time zones: com.sun.star.util.DateTimeWithTimezone com.sun.star.util.DateWithTimezone com.sun.star.util.TimeWithTimezone Adapt the sax::Converter to read/write timezones, and fix the unit test. Everything else just uses default (no time zone), this commit is just to fix the API. STRUCT: /UCR/com/sun/star/util/DateTime nFields1 = 7 != nFields2 = 8 Registry2 contains 1 more fields STRUCT: /UCR/com/sun/star/util/DateTimeRange nFields1 = 14 != nFields2 = 15 Registry2 contains 1 more fields STRUCT: /UCR/com/sun/star/util/Time nFields1 = 4 != nFields2 = 5 Registry2 contains 1 more fields Conflicts: sc/source/filter/oox/unitconverter.cxx Change-Id: I01f7a6d082a6b090c8efe71d2de137474c495c18 Reviewed-on: https://gerrit.libreoffice.org/4833 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-06-05use uno::Reference#clear() method...Noel Grandin
...instead of assigning an empty value. Reduces code noise. Change-Id: Ic95b081a41fb740a738c92b3407a9514ccb8b06e
2013-05-10resolved fdo#35756 import more than 64k HTML table cellsEike Rathke
Enhanced EditEngine to be able to hold more than 64k paragraphs. Used also in RTF import Calc and Writer, so that could benefit as well. * changed all EditEngine,Outliner,... related paragraph index/count variables from sal_uInt16 to sal_Int32 * sal_Int32 instead of sal_uInt32 to match accessibility API * matched some Outliner methods' paragraph parameters from sal_uLong to sal_Int32 * containers capable to hold size_t nevertheless are limited to a maximum of sal_Int32 * changed definition of EE_PARA_NOT_FOUND and EE_PARA_ALL to SAL_MAX_INT32 + added EE_PARA_MAX_COUNT and EE_TEXTPOS_MAX_COUNT to initialize ESelection with what previously were hard coded 0xFFFF all over the place + for similar reason added EE_TEXTPOS_ALL corresponding to EE_PARA_ALL to initialize an ESelection spanning all available text like aSel(0,0,EE_PARA_ALL,EE_TEXTPOS_ALL) Change-Id: I62d1b9c399cd709a4f93dbac31b219a61c46ec00 Reviewed-on: https://gerrit.libreoffice.org/3838 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-05-01convert message box return types to an enumCaolán McNamara
Change-Id: I20889dc94aac1119c1ee9da873ce911887c1c335
2013-04-18date/time IDL datatypes incompatible changeLionel Elie Mamane
- nanosecond precision - signed (allowed negative) year Also: assorted improvements / bugfixes in date/time handling code. Some factorisation of copy/pasted code. Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
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-01Prefer prefix ++/-- operators for non-primitive typesJulien Nabet
Change-Id: I0471261e01ed5fb45cb470abd5bc1e809f2873be
2013-03-23fix fdo#62050: for impressnavin patidar
Impress is also affected by fdo#62050. In RTL UI, comment window is RTL and editbox’s (editeng) default writing direction is LTR. I suspect, bug is result of this RTL & LTR mix-up. Change-Id: I188ce05350f721081378509915158d4ec4e5f8cf Reviewed-on: https://gerrit.libreoffice.org/2922 Reviewed-by: Ahmad Harthi <aalharthi@kacst.edu.sa> Tested-by: Ahmad Harthi <aalharthi@kacst.edu.sa>
2013-03-08fdo#60691 add modelines to *.src and *.hrc filesBorim
use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
2013-02-12Renamed hard-to-remember 8-char headers in editeng.Kohei Yoshida
Change-Id: If255802082890e1b1b4c5197a791fa79a011773e
2013-01-11Fix formatMatteo Casalin
Change-Id: I2a7c8e88b689f913f8e37ecc3cfdda43ba60aea3
2013-01-03Avoid unnecessary operations on an OUStringMatteo Casalin
Change-Id: I1820711664a6aa18587e1e4a3d74a8e4cbfcc07e Reviewed-on: https://gerrit.libreoffice.org/1537 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-03Remove unneeded 'else' and fix 'else if' styleMatteo Casalin
Change-Id: I774af9ca0631e931ddc8c5025981dabca557e325
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens
This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-28re-base on ALv2 code. Includes:Michael Meeks
Patches contributed by Armin Le-Grand #118898# Adapted ImpGraphic::ImplGetBitmap to correctly convert metafiles... http://svn.apache.org/viewvc?view=revision&revision=1293316 #118485# - Styles for OLEs are not saved. http://svn.apache.org/viewvc?view=revision&revision=1182166 Patches contributed by Andre Fischer http://svn.apache.org/viewvc?view=revision&revision=1172128 http://svn.apache.org/viewvc?view=revision&revision=1172133 Patch contributed by Ariel Constenla-Haile i#118505# - Remove MN_OLE_OBJECT menu item from Draw/Impress contextmenu - CWS contextmenu1 http://svn.apache.org/viewvc?view=revision&revision=1182915 Patch contributed by Zhang Jian Fang #118876#, Add check if the OutlinerParaObject is created successfully http://svn.apache.org/viewvc?view=revision&revision=1243381 restore a re-based rdbedit.
2012-11-20Enforce use of accessors on gen.hxx structuresMatteo Casalin
Change-Id: Icd1b2937fdeaba6de1877258731f53ddf996002e Reviewed-on: https://gerrit.libreoffice.org/936 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-09-28having two SetPosSizePixel is a blasted nuisanceCaolán McNamara
Lets rename the multiargument SetPosSizePixel to setPosSizePixel drop the various using Window::SetPosSizePixel and work towards de-virtualizing SetPosSizePixel/SetPosPixel and SetSizePixel and doing the work in a virtual setPosSizePixel Change-Id: I7057654168001b67becee1791e97f9e9dc01f7b8
2012-08-06Convert documents to follow the doxygen standard (fdo#44502, fdo#39468)Norah A. Abanumay
Change-Id: I58c73f74d53b5dc2eb462fb03664be65d4500170 Reviewed-by: Philipp Riemer <ruderphilipp@gmail.com>
2012-07-11Decrease header files dependenciesMatteo Casalin
Change-Id: I654e71e56d60bf629625df09eb93b21c9ef670e8
2012-07-02hrc cleanup: Remove unused definesThomas Arnhold
Change-Id: Iaa7da7745fc01544d9a503b313479b2450810524
2012-06-29removed unnecessary forward declarations of classTakeshi Abe
except * sd::ViewTabBar moved to ViewShellBase.hxx * sd::TemplateEntry moved to AllMasterPageSelector.hxx Change-Id: I802cdc0b77027bbe0843fbb259ce1a5a46354fc3
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21hrc cleanup: Remove unused definesThomas Arnhold
All of those defines (should) not be used at any point in the code. False positives may exist, because some macro names are getting generated by some template/macro foo. This is the version which compiled fine for me. Also there are many commented out lines removed. Change-Id: I6394024682e4ab3691eb72707a9363d41ba31df8
2012-06-12Get rid of GRADIENT_* defines, they conflict with Windows GDI types.Jan Holesovsky
Change-Id: Ia0bc37f81b7213b20fc5093beb46d7a05b1ac931
2012-06-10nuke dead codeTakeshi Abe
Change-Id: I666791b2a2bb817d59625868d5e2df1a9341b2ff
2012-06-05Unify ODF extended vs. ODF1.2 handlingThorsten Behrens
Make "export extended ODF" consistently mean "version > ODF1.2". Future ODF versions need manual review anyway, of the various changes/additions we ship. Change-Id: I0f6c1646b306e18f0abcdd1a1802fece821b2e93
2012-06-01targetted reversion of minor SAL_N_ELEMENTS tweakMichael Meeks
Change-Id: I4f907aecd72f55091184aa1509506a46010f1061
2012-05-22convert GetSurroundingText family to OUStringCaolán McNamara
Change-Id: Ifbb21fc26eedfde4afe2e3faf637346554f63d94
2012-04-13More RTL_CONSTASCII_USTRINGPARAM removalsOlivier Hallot
2012-04-13Remove some A2S and C2U macros in sdOlivier Hallot
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
2012-03-25removed duplicate includes in sdTakeshi Abe
2012-03-13Resolves: fdo#46728 reference count the overlay managersCaolán McNamara
2012-03-01New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problemStephan Bergmann
...see ebe26f72e90337da2d14f3029de148904e3e30b6 "WaE: 'unused' attribute ignored when parsing type" for the problem.
2012-01-10Fix for fdo43460 Part XXXI getLength() to isEmpty()Olivier Hallot
Part XXXI Modules sd
2012-01-05Removed unnecessary tools includes.Marcel Metz
Hello lo-devs, this patch series removes a lot of unnecessary includes for the various tools header. The patches without suffix should be applied to the core repository, the .binfilter.patch suffix should be applied to the binfilter repository. I've tested the build with the configuration --enable-binfilter --enable-dbgutil --enable-debug, is this sufficient or did I miss another important configuration, that enables some conditional compiled code? I've only build this on linux-x86_64, but the patch also touches some of the mac specific code like fpicker/source/aqua/SalAquaFilePicker.mm so it would be maybe a good idea to test this patch. regards Marcel Metz
2012-01-05add a comphelper::string::getTokenCountCaolán McNamara
suitable for conversion from [Byte]String::GetTokenCount converted low-hanging variants to rtl::O[UString]::getToken loops added unit test
2011-12-25catch exception by constant referenceTakeshi Abe
2011-12-06Make merges of impress210 build.Thorsten Behrens
2011-12-06impress210: #i106378# use datetime to get current dateOcke.Janssen@oracle.com
# HG changeset patch # User Ocke.Janssen@oracle.com # Date 1297761051 -3600 # Node ID 3df655ccd7e3966c5c22df761981dde35b5e0059 # Parent 227bb8fe599b58e849c1f19f2233d2c1b0b767ad impress210: #i106378# use datetime to get current date
2011-12-01get rid of class Date and Time default ctor with system time penaltyEike Rathke
2011-11-30renamed Date::IsValid() to IsValidAndGregorian() to prevent misassumptionsEike Rathke
Once smaller than 1582-10-15 decrementing a Date will not produce a valid date.
2011-11-27remove include of pch header from sdNorbert Thiebaud
2011-05-08Some cppcheck cleaningJulien Nabet