Commit graph

1058 commits

Author SHA1 Message Date
Norbert Thiebaud
750fc20611 replace remaining InterlockedCount() with inlined version
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c
Reviewed-on: https://gerrit.libreoffice.org/671
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-25 01:55:38 +00:00
Michael Stahl
22b615a7a5 fdo#30711: ODF export: "text:name" is mandatory on bookmarks:
XMLTextParagraphExport: Add a mapping that generates names for those
field marks that don't have a name so validators don't complain.
(regression from 7a1c5e54af)
There is still the problem that we cannot easily guarantee that the
names (generated or from some field param) do not clash with the names
of actual bookmarks...

Change-Id: I9ed65b94b3e8f725db4354222f2565176b32be52
2012-09-14 15:04:15 +02:00
Stephan Bergmann
fe1fd7c40c Improvement on previous commit
Change-Id: I51226f78ca60c32ebb908bcf4f74d38d0750eb00
2012-09-12 10:24:55 +02:00
Stephan Bergmann
fd226710fe -Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I4b877ab97259f7e031e34daf7ce93e1b59417a08
2012-08-16 09:46:59 +02:00
Thomas Arnhold
49ad17e2b1 remove include comments and boxes
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-08-08 13:53:53 +02:00
Noel Power
cc51389c07 support new xml number:fill-character elem for number-style namespace
Change-Id: I7d3ca1f121396dfc017bb1ee73651f9017e58ba3
2012-08-03 14:25:47 +01:00
Caolán McNamara
7e579295c8 convert SvXMLAutoStylePoolNamesP_Impl to a std::set
Change-Id: I839edf8d0e941f78f6f6f9e6a9117f76587a5f39
2012-08-01 13:54:51 +01:00
Thomas Arnhold
db4f5372cb Partially revert "hrc cleanup: Remove unused resource definitions"
This partially reverts d341aca7f6

http://lists.freedesktop.org/archives/libreoffice/2012-July/035331.html

Change-Id: Ia378ef028dbdf1500a9ca6fbbc141e460d289b31
2012-07-28 19:56:19 +02:00
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
Luboš Luňák
e0f7e213af the unknwon typo is surprisingly popular
Change-Id: Iffe25051c8357019521196f9a27065d6108ede47
2012-07-16 19:40:58 +02:00
Miklos Vajna
c2a73a4780 xmloff: implement import/export of SwPostItField::aInitials
Change-Id: Ie28e8e4c2e80d9234cf1ec2ca43dd200cf1d56cb
2012-07-16 09:52:05 +02:00
Miklos Vajna
25416b8ad4 xmloff: add new constant for commentrange field type
Change-Id: I9bdf184f5a8f414144d9dea814d6179ec2134209
2012-07-12 10:07:16 +02: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
Miklos Vajna
7ac6070420 xmloff: implement first page header/footer import/export
Change-Id: I920c236125ae044fe66cf0eacafdfc94ef81a4fd
2012-07-05 11:39:51 +02:00
Thomas Arnhold
d341aca7f6 hrc cleanup: Remove unused resource definitions
Change-Id: Ie3a3a65bfb628195940105d7261464989e9af3fa
2012-07-01 18:33:42 +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
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
ecf943247f re-base on ALv2 code.
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-22 09:51:05 +01:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Thorsten Behrens
3fb24e6307 Fix fdo#50704 Default to absolute svg:d paths for ODF1.2 compat-mode
This writes out absolute paths, to side-step buggy odf consumers'
wrong handling of the 'z' statement (i.e. they ignore it for current
positions).
2012-06-05 05:11:42 +02:00
Rafael Dominguez
b4b403305a Map errorbars properties from chart2 API to xml. 2012-06-03 09:12:34 -04:30
Markus Mohrhard
de68787292 support remaining data bar attributes in odf import/export
Change-Id: I6fdf7a6158002003938ee039152d582776aba5db
2012-05-26 02:08:19 +02:00
Markus Mohrhard
f18a242966 use correct namespace for calc odf extensions
Change-Id: I6e0feab7e1d649fbf4dafb9f06d57f68e9a4b934
2012-05-24 12:38:11 +02:00
Markus Mohrhard
99f61e9b63 first part for databar export
# Changes to be committed:

Change-Id: Iffe020d60982c2872c1a451f9d0e4e1d4f5e349f
2012-05-24 12:38:11 +02:00
Stephan Bergmann
c452fcfb32 -Werror=unused-parameter
Change-Id: I06dc09d57821ac729182764882558fa079b5ed37
2012-05-22 13:33:48 +02:00
Noel Power
e623ee66df make row heights ( incl default row height ) from excel are saved absolute
Currently default row heights imported from Excel are not adjusted Optimally ( AdjustRowHeight() is no longer called ) However to ensure correct round tripping the CR_MANUALSIZE flag *is* still set, this results in the style:use-optimal-row-height="true" being set for default row height(s) when saving as odf. So, for example absolute positions which are calculated on importing the Excel document ( where the row height is *not* optimally adjusted ) are still saved with the 'style:use-optimal-row-height' set. When the row heights are read back into calc the row sizes are changed any absolutely positioned objects are now out of place. This patch ensures *all* row heights are from an imported excel document are saved with style:use-optimal-row-height="false"

Change-Id: If898b97ddb0c8b59a401d7b3c133b0eec09cd1db
2012-05-22 10:20:44 +01:00
Brennan Vincent
7a1c5e54af Partial fix for bug 30711 2012-04-10 14:32:27 +02:00
Caolán McNamara
53600134ec no use is made of FmFormObj::m_nType 2012-04-05 13:59:06 +01:00
Caolán McNamara
b26df89e6c callcatcher: remove some unused code 2012-04-02 14:53:47 +01:00
Santiago Martinez
c576a5c483 Remove unused code in xmloff. 2012-03-26 14:59:36 +01:00
Fridrich Štrba
7a19798c73 Compatibility option for incorrect relative moves after closePath (fdo#47406) 2012-03-26 12:55:59 +02:00
Michael Stahl
b2f5298077 .hxx files don't need executable bits 2012-03-23 21:58:13 +01:00
Michael Stahl
68f2753710 .h files don't need executable bits 2012-03-23 21:58:13 +01:00
Caolán McNamara
260ed4ed03 map of kind+name -> new-name 2012-03-20 12:57:33 +00:00
Stephan Bergmann
6e67c03dc0 Enable -Wnon-virtual-dtor for GCC 4.6
...which has the necessary features to support it.

Change a lot of classes to either contain a protected non-virtual dtor
(which is backwards compatible, so even works for cppumaker-generated
UNO headers) or a public virtual one.

cppuhelper/propertysetmixin.hxx still needs to disable the warning, as
the relevant class has a non-virtual dtor but friends, which would still
cause GCC to warn.

Includes a patch for libcmis, intended to be upstreamed.
2012-03-14 13:32:02 +01:00
Miklos Vajna
9f4bb5bd4f xmloff: implement contextual spacing import/export 2012-03-12 18:42:34 +01:00
Caolán McNamara
e939c272a0 remove unused VisAreaContext.[c|h]xx 2012-03-12 11:43:50 +00:00
Caolán McNamara
bbc6d8506d remove various unused methods and source files 2012-03-07 11:06:45 +00:00
Szabolcs Dezsi
2b179ca174 Removed unused code 2012-02-27 11:23:51 +00:00
Thomas Arnhold
a3fccd27de unusedcode.easy: remove unused code 2012-02-24 05:33:53 +01:00
Santiago Martinez
9846e25d94 Remove unused code in XMLTextListAutoStylePool. 2012-02-20 11:56:00 +00:00
Thomas Arnhold
a8e35884d2 xmloff: use ::comphelper::UStringLess instead of less_functor 2012-02-18 21:33:05 +01:00
Catalin Iacob
4f82f1e076 Remove unused code in XMLTextImportHelper 2012-02-13 15:56:31 +00:00
Elton Chung
9c06348b32 Remove unused code. 2012-02-05 16:40:03 +04:00
Michael Stahl
0b7bba1020 fdo#45449: ODF export: frames: invalid "min-width"
XMLTextParagraphExport::addTextFrameAttributes: delay writing of the
fo:min-width and fo:min-height attributes so that they end up at the
draw:text-box element, and not at draw:frame where they are invalid.

Testing reveals that the ODF import can already handle reading the
attributes from the draw:text-box elements, so there doesn't seem to be
a backward compatibility problem.
2012-02-02 14:36:17 +01:00