Commit graph

7749 commits

Author SHA1 Message Date
Miklos Vajna
d4b473dd9b office:annotation-end import
Change-Id: I8d1475b5bc9a36dade5ce28e74139834c69f8e14
2012-07-20 15:20:51 +02:00
Miklos Vajna
672ca6077f office:annotation-end export
Change-Id: Idd815f2d10e67ae9cf91f06b6b4c92a0ebe2e856
2012-07-20 15:20:50 +02:00
Radek Doulik
6928759a89 odf: export old path without unsupported commands in draw namespace as well
- to preserve at least some data for older versions of Libre Office

Change-Id: I2a33706c2a2344e45b57a00469a7387072f8602b
2012-07-19 16:08:39 +02:00
Michael Stahl
7f9928bfa5 fdo#38056: ODF import: fix page style attributes:
PageMasterImportPropMapper: in the case of a single "fo:border"
and "style:border-line-width" attribute, it is possible that the border
is imported wrongly, like this:

1. pAllBorderProperty is set from the imported value, with name "TopBorder"
2. individual pNewBorder[i] are created as copies from pAllBorderProperty,
   one of which also with name "TopBorder"
3. pNewBorder[i] is updated with widths from pBorderWidths[i]
4. the individual pNewBorder[i] are added to the property vector
5. the property vector is sorted by property name
6. the properites are applied in order; if the pNewBorder[TOP]
   happens to precede the pAllBorderProperty (which is indeterminate
   as they both have name "TopBorder"), then the pAllBorderProperty
   will overwrite the border widths computed in step 3.

Thus, nerf the various pAllFoo properties so they do not override
the individual Foo properties later on.

Change-Id: I87755f1184d59da2aa72ac053e6f77d7295d6958
2012-07-19 12:26:47 +02:00
Radek Doulik
d8720d4e39 odf: export arcangleto commands in enhanced path (use drawooo namespace)
Change-Id: I43a2c08ee8dfc0abe4d05579b837b5be0944c0fe
2012-07-19 11:09:07 +02:00
Luboš Luňák
e0f7e213af the unknwon typo is surprisingly popular
Change-Id: Iffe25051c8357019521196f9a27065d6108ede47
2012-07-16 19:40:58 +02:00
Christophe JAILLET
df645a2bd8 There is not need to allocate memory just for getting the 'indexOf'
a literal within a OUString.

Change-Id: I01ca30c68228f81b3d313dfca5b975448f3c4fc7
2012-07-16 11:33:05 +01:00
Miklos Vajna
c2a73a4780 xmloff: implement import/export of SwPostItField::aInitials
Change-Id: Ie28e8e4c2e80d9234cf1ec2ca43dd200cf1d56cb
2012-07-16 09:52:05 +02:00
Luboš Luňák
fc508908f5 fix a crash with empty string
If it's named nLast, then it's supposed to point to the last character,
which, with an empty string, logically means it should point before
the start of the string.

Change-Id: I248fbe80c1c4b1c2c8d39f0bcf772f9b85415e4a
2012-07-13 15:18:41 +02:00
Miklos Vajna
25416b8ad4 xmloff: add new constant for commentrange field type
Change-Id: I9bdf184f5a8f414144d9dea814d6179ec2134209
2012-07-12 10:07:16 +02:00
Matteo Casalin
739e20ac58 Decrease header files dependencies
Change-Id: I654e71e56d60bf629625df09eb93b21c9ef670e8
2012-07-11 11:12:15 +05:30
Miklos Vajna
a8fb1a123f xmloff: kill RTL_CONSTASCII_USTRINGPARAM in rebased code
Change-Id: I3d5227c299d78d4492c47e29385c2c5ca25cfe49
2012-07-10 11:03:39 +02:00
Caolán McNamara
104261010a some UniString->rtl::OUString
Change-Id: Ie69b30094da25df23a36baca2c7723d6a41f48c3
2012-07-09 12:16:56 +01:00
Miklos Vajna
84493425a1 merge HeaderIsSharedFirst and FooterIsSharedFirst to FirstIsShared
sw document model, xmloff and offapi supported these separately, but sw
layout did not. It turns out it's not needed for Word interop, either,
so better to just merge these, instead of implementing them
independently without a good use-case.

Change-Id: I5c3b334baa09cabec123745c7af3d65d830754fc
2012-07-09 11:25:41 +02:00
Takeshi Abe
e719baa35f removed unused includes
Change-Id: I248ef370c55c18d60a8ea32ef92f70734bffbaf2
2012-07-08 21:47:21 +09:00
Miklos Vajna
a99e3134aa xmloff: unused includes in txtimp
Change-Id: I0a4feed51067f6b222d60f569dd794f2439fc790
2012-07-05 11:49:29 +02:00
Miklos Vajna
7ac6070420 xmloff: implement first page header/footer import/export
Change-Id: I920c236125ae044fe66cf0eacafdfc94ef81a4fd
2012-07-05 11:39:51 +02:00
Thomas Arnhold
278000a28b Remove unused defines
Some of them were commented out for documentation purpose.

Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
2012-07-02 17:46:25 +02:00
Michael Meeks
fdda178d88 targetted improvement of UNO API includes / usage 2012-07-02 14:43:34 +01:00
Thomas Arnhold
00240d0497 Remove unused defines
Change-Id: Ic36b131ee9964a6671f7f41e1cad1631c43ad565
2012-07-01 18:33:42 +02:00
Thomas Arnhold
d341aca7f6 hrc cleanup: Remove unused resource definitions
Change-Id: Ie3a3a65bfb628195940105d7261464989e9af3fa
2012-07-01 18:33:42 +02:00
Thomas Arnhold
8e1bffe7ff Remove include guards
Change-Id: Ib4ba76d0083e5bd75cc589a55318089c004f591f
2012-06-29 15:59:53 +02:00
Thomas Arnhold
688fcc847b Remove unused locals
Change-Id: I14369787e99d31cba32957301340cef2fc832b91
2012-06-29 09:25:12 +02:00
Thomas Arnhold
57154616f0 Remove UNO includes comments
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
2012-06-29 09:25:09 +02:00
Thomas Arnhold
0f11f30ea9 Remove unused header files
Those are unused too.

Change-Id: I09c9dbcdbc68131c7c54bf0762a23f1280e6e22a
2012-06-28 11:08:49 +02:00
Thomas Arnhold
bbac35af14 Remove unused header files
These were only referenced by Package_inc.mk...

Change-Id: Idc771477595b9d221f9f2003b293fdd1ba7e1588
2012-06-27 13:34:35 +02:00
Thomas Arnhold
6fcac7dfc4 Remove unused include files
Those never get included at any point in the code.

Change-Id: I17736e005635b9e57759cfc95176a99e7c5e8988
2012-06-27 13:34:23 +02:00
Takeshi Abe
6013882bdf removed unnecessary forward declarations of class
except moving SvXMLStyleContext into xmloff/source/forms/layerimport.hxx

Change-Id: I5e16b54f98ccdd54bc0bb373d3fe92ed1bef3c5e
2012-06-27 20:05:51 +09:00
Markus Mohrhard
064bfb1aab add support for axis color import/export
Change-Id: I713981b9ae1a82ca0b014cde88abdc32af1f9975
2012-06-27 05:59:50 +02:00
Takeshi Abe
d57d3c3454 removed unnecessary forward declarations of class
Change-Id: Id08393f66797ef1c4378c8f3549d0900d4f1c7ec
2012-06-26 22:48:49 +09:00
Michael Meeks
69a51d2bb6 re-base on ALv2 code. 2012-06-26 11:33:02 +01:00
Michael Stahl
1ab899c4c8 .xml files don't need executable bits
Change-Id: I399d086181a9f513cd95157e815551f0be9b9e95
2012-06-22 22:39:31 +02:00
Michael Stahl
4077192c38 .mod files don't need executable bits
Change-Id: I2bd2782db41b58634627706b96238fcf8297547a
2012-06-22 22:39:30 +02:00
Michael Stahl
e9c3dcaf05 .cxx files don't need executable bits
Change-Id: Ic27d7728025b3d666c0ebaf9ec4cd2006d0c89bf
2012-06-22 22:39:29 +02:00
Michael Meeks
ecf943247f re-base on ALv2 code.
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-22 09:51:05 +01:00
Michael Meeks
ec5fa0164b replace all but one .hdl include with equivalent .hpp includes.
Change-Id: I15e94f112144549692d0c2babeb48c77adcb93a9
2012-06-21 19:28:47 +01:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Michael Meeks
b6db3e3acc re-base on ALv2 code.
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21 13:11:06 +01:00
Caolán McNamara
06e2005ed8 convert LocaleDataWrapper to OUString
Change-Id: Icb5f5adf9139d1c0f0e86d8128ea6742ce20b138
2012-06-18 15:13:51 +01:00
Takeshi Abe
462935f367 removed unused forward declarations of class
Change-Id: I819d5b931c937ec52b14f60591546d1d86c38631
2012-06-16 22:09:38 +09:00
Thomas Arnhold
f5533a71fa Remove obsolete inetdef.hxx
Change-Id: I043e226a1cec527c51cbd91075634d5c9ca371d8
2012-06-15 16:27:57 +02:00
Caolán McNamara
6191fa0847 reduce use of UniString ctor from null-terminated unicodearray
Change-Id: I98361309ada084d8f78517ce88f210d785f59cc0
2012-06-13 11:20:23 +01:00
Takeshi Abe
6c7da3e22a removed code commented-out in the first place
Change-Id: Idb109cf767342042f1a2941c30fcf137f468e7df
2012-06-13 16:43:39 +09:00
Michael Stahl
cd18b8e313 fix invalid vector.push_back(vector.back())
The vector::back() does not return a value but a reference, hence this
is invalid.

Change-Id: I8624b649deb8fb4de0d1d8af1288068acc80cef2
2012-06-12 14:14:42 +02:00
Eike Rathke
0f79440a86 work around spurious signed overflow warnings
gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2)
com/sun/star/uno/Sequence.hxx:178:10: error: assuming signed overflow does not
occur when assuming that (X - c) > X is always false [-Werror=strict-overflow]

Change-Id: Ibbc2f3533097ad379e1707f77039c675a0d00133
2012-06-12 13:32:21 +02:00
Caolán McNamara
8f5629fd5a remove EraseLeadingChars and EraseTrailingChars
Change-Id: Ib9797fe97cd008cc6508ce8cec47dc5373416892
2012-06-11 14:46:46 +01:00
Thomas Arnhold
3770bbbdba Remove superfluous empty lines on top
More than two lines are removed for readability.

Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
2012-06-09 04:57:58 +02:00
Thomas Arnhold
d8afc8e5e9 Remove superfluous include comments
Change-Id: Ie5792855761b9be209bf3fa2cba9e6998523c982
2012-06-09 04:39:01 +02:00
Noel Grandin
392a483e10 fdo#46808, Adapt UNO services to new style, Part 7, updating ::create
Update code to use factory method PathSubstitutions::create

Change-Id: I3721bd93c36b207d849eea19102f5ac61cadd205
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-06 10:01:22 +02:00
Michael Stahl
4190e9351e fdo#30711: fix some problems in 7a1c5e54:
The elements are exported without checking for bAutoStyles, and the Any
conversion is overly verbose.

Change-Id: Iebb52c8cd2638424dd48d28ec5a12c10a41f6cbf
2012-06-05 14:01:26 +02:00