Commit Graph

17 Commits

Author SHA1 Message Date
7e2b9fa213 Remove some useless tools/debug.hxx includes
Also remove the tools/solar.h included from tools/debug.hxx. The include of solar.h
header was necessary in some cases because of a macro or a typedef that was needed.

Change-Id: Ia6e15d5c2571c58c9e9138b0d0a7f08ae88053c9
Reviewed-on: https://gerrit.libreoffice.org/11075
Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Tested-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2014-08-22 16:33:18 -05:00
70cc2b191b First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26 16:39:26 +01:00
5e10e6937a EDITENG : Remove usage of DBG_CTOR and DBG_DTOR.
Valgrind is capable of detecting such bugs. No need for extra macros.

Change-Id: Ifc04e2ec9d27c706868569a3bcb8fbfae0e84c69
Reviewed-on: https://gerrit.libreoffice.org/7524
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-21 16:07:00 +00:00
73a5748215 fdo#65108 inter-module includes <>
Change-Id: I82b0309c4430a8393e17b9a30a6e898f82c0f25c
2013-11-09 18:48:39 -06:00
10860425b6 fixincludeguards.sh: include/editeng
Change-Id: I5a172bb12b62940b9994b2740e054b43145b08f0
2013-10-23 23:22:31 +02:00
3786609a15 No more getIdentifier*() calls because they are not efficient.
They shall never be used.

Change-Id: I019c88b1511a67175d782777cd41e0ec0434f497
2013-10-08 15:48:12 -04:00
3ff650d565 Rename StringPool to SharedStringPool because that's what it is.
Change-Id: I2fc3ce4f0c2291d402cb470346d5561373fb51e7
2013-10-04 19:15:26 -04:00
f6ec667273 Add methods to extract string IDs from edit text object.
Note that a single edit text object may have multiple string ID's in case
it consists of multiple paragraphs.

Change-Id: Ie90541de38a639c30a010817dada389e9445d08c
2013-10-04 19:15:24 -04:00
279ae51161 Add method to normalize strings in EditTextObject.
Change-Id: I1adb57279db0afeb8387599ec11984380e5a2e4a
2013-10-04 19:15:21 -04:00
d178cb406b convert include/editeng/editobj.hxx from String to OUString
Change-Id: I076ae20fb21accf8ff7e7fad096534e97ba7dab4
2013-09-11 09:45:33 +02:00
6a4dd39379 Rename SectionAttribute to Section.
It fits better this way.

Change-Id: I139de7858e999a6dd26633a548c47634dfad8a65
2013-08-28 14:48:11 -04:00
9ae7d6762b Change of plan - we need to include feature attributes here as well.
Change-Id: I431b7ff79cffd5c9a7ff06f41a2fdd56bf2f968c
2013-08-24 17:16:56 -04:00
9ca5e3da5c Add a means to retrieve all formatting attributes in non-overlapping sections.
Change-Id: Id04dffc135fad6bb66ea157cd280dd481cb80117
2013-08-20 22:57:13 -04:00
0136b4e524 XubString->OUString
Change-Id: I888537cbaec11ef52b1e89b61f7351c6b7769819
2013-08-09 11:41:36 +01:00
c008dc483f Switch to using multi_type_vector for cell storage.
The old style cell storage is no more.  Currently the code is buildable,
but crashes during unit test.

Change-Id: Ie688e22e95c7fb02b9e97b23df0fc1883a97945f
2013-06-24 16:51:25 -04:00
2af1f5691e resolved fdo#35756 import more than 64k HTML table cells
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-10 14:01:38 +00:00
b9337e22ce execute move of global headers
see https://gerrit.libreoffice.org/#/c/3367/
and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details

Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-23 22:20:31 +02:00