350483 Commits

Author SHA1 Message Date
Thomas Arnhold
532b69fbc4 remove commented out code 2014-04-14 12:31:53 +02:00
Thomas Arnhold
2b1833d935 remove _old_format_code_ 2014-04-14 12:31:52 +02:00
Thomas Arnhold
745ef97de4 FS_DEBUG is never defined 2014-04-14 12:31:52 +02:00
Thomas Arnhold
c03800435e InArbeit is unused
means "work in progress", pretty long since 2000.
2014-04-14 12:31:51 +02:00
Thomas Arnhold
43b6df53b3 N_DEBUG never defined 2014-04-14 12:31:50 +02:00
Thomas Arnhold
c6279cc17b OLD_TAB_STYLE never defined 2014-04-14 12:31:50 +02:00
Thomas Arnhold
c11790bb67 remove OV* debug stuff 2014-04-14 12:31:49 +02:00
Thomas Arnhold
be9e778230 remove outdated RS6000 checks 2014-04-14 12:31:48 +02:00
Thomas Arnhold
aaae18cc5f correct indentation 2014-04-14 12:31:48 +02:00
Thomas Arnhold
63dc7b1ce8 SCROLLABLEFRAME never defined 2014-04-14 12:31:47 +02:00
Thomas Arnhold
07a43d8db4 SvxMSConvertOCXControlsRemoved never defined 2014-04-14 12:31:46 +02:00
Thomas Arnhold
1c2f9e4189 THEFUTURE is unused ;) 2014-04-14 12:31:45 +02:00
Thomas Arnhold
792437f1f4 USED is never defined 2014-04-14 12:31:45 +02:00
Stephan Bergmann
52494aad92 Clean up function declarations and some unused functions
Change-Id: I68b488d45c77ebf82029bfede98dca2400e02f2f
2014-04-14 12:25:30 +02:00
Stephan Bergmann
a736781e83 Remove dead function declaration
Change-Id: If16e9bed79cc55896cb6c35367935848140da4df
2014-04-14 11:54:48 +02:00
Stephan Bergmann
e80c5913ed Remove dead function declaration
Change-Id: I638fade941d369f0b09a016cfdc23cf5c981b8f0
2014-04-14 11:36:03 +02:00
Stephan Bergmann
82d1b40444 Clean up function declarations
Change-Id: Ia33a39c9c8fe25c48c81c53270ca9ce5ef90221c
2014-04-14 11:19:42 +02:00
Stephan Bergmann
aea96244d1 Missing includes
Change-Id: I08750fdaab137665205a6e55891d845b39b0147d
2014-04-14 10:54:34 +02:00
Stephan Bergmann
e052009df1 Remove unused code
Change-Id: I9d407fcdbee66b44504c5d092d32113114e2ac46
2014-04-14 10:37:24 +02:00
Stephan Bergmann
d2555ebb24 better?
Change-Id: Idacacf531d237c2c7482db85c56b58954fd04ac5
2014-04-14 09:57:50 +02:00
Stephan Bergmann
d0c4ab34fd Missing boost_headers dependency for WNT
Change-Id: I92906de88669d629f8efd39439c4e6e0151f687c
2014-04-14 09:44:35 +02:00
Miklos Vajna
904630a227 fdo#77267 RTF import: pard should reset current paragraph style
Change-Id: I8d78ce262a4e57161325231a78e48750909b1bad
2014-04-14 09:06:23 +02:00
Vinaya Mandke
c1e563f6ef fdo#76741 [DOCX] Table Alignment and width type
There are two issue related to table in the saved(exported) file
     - the table alignment in saved file is "left" instead of "center"
     - the table width type in properties is "auto" instead of "dxa"

     In the issue file alignment was specified in w:tblpXSpec="center"
     and so were missed at import. Added support to fetch
     HORI_ORIENT from frame properties if its not set in Table Properties

     The ::GetTablePageSize returns 0 if the table width is FIXED.
     Modified it to return the tableWidth in such case.

Conflicts:
	writerfilter/source/dmapper/DomainMapperTableHandler.cxx
Reviewed on:
	https://gerrit.libreoffice.org/8846

Change-Id: I02a3af5e9d8ef3746c4d6bec0a07a24e01cc12a4
2014-04-14 08:49:58 +02:00
Stephan Bergmann
8a3eeff238 Clean up function declarations and some unused functions
Change-Id: I80d15f503bb5714340c051cc1c4890a445e44d56
2014-04-13 23:50:17 +02:00
Stephan Bergmann
a6611be6bc Clean up function declarations and some unused functions
Change-Id: Ie81d270267b6c3c3620ade62eb393b28d995a654
2014-04-13 23:44:29 +02:00
Stephan Bergmann
f5051821bc Clean up function declarations and some unused functions
Change-Id: Ie35d71a03d2f89cd72836db21fac8746a9e85b09
2014-04-13 23:26:48 +02:00
Tomaž Vajngerl
f7ea60218a fdo#74079 - sd html export: fix false width values
Change-Id: I498310525cf912706d64adb773c951b197b6fc72
2014-04-13 23:13:58 +02:00
Tomaž Vajngerl
24ae12911a sd html export: q&d add single document publish mode
Change-Id: Ifa96814eb2664bea082e51bfaa739250718abd1e
2014-04-13 23:13:58 +02:00
Tomaž Vajngerl
ccbe5105ca sd html export: reset progress bar in single document mode
Change-Id: I455588c927cc35660023f74885f63108625cd123
2014-04-13 23:13:58 +02:00
Tomaž Vajngerl
e679c101ac sd html: impress html export test
Change-Id: I710868b4cb19cec2820c3cf699dd5d855e3da7e2
2014-04-13 23:13:57 +02:00
Tomaž Vajngerl
87c3fdeed8 sd html: export outline, code simplification
Change-Id: Ic201f4bd7716806edd031a2935d1e859a6b51958
2014-04-13 23:13:57 +02:00
Luboš Luňák
af51f3fb5a handle .doc cropping also inside groups (fdo#38411)
Writer does handle cropping on its own, but only for "toplevel" images,
not for those inside groups, so there still use the generic code.

Change-Id: I805a4cbd2d4cea7008e0322688ccd7f35a6d4a2c
2014-04-13 23:09:00 +02:00
Stephan Bergmann
ae59446aab Clean up function declarations and some unused functions
Change-Id: Ie4f6197e42db298b4a3dcb6befdbd72dff6ea2b7
2014-04-13 22:40:55 +02:00
Miklos Vajna
6180d7164a RTFTokenizer::resolveParse: use SvStream::remainingSize()
Change-Id: Ia09c4cf67390e24573174ff701a72f7bac367599
2014-04-13 18:04:22 +02:00
Julien Nabet
2cd35d3abb Change encoding from EUC-KR to utf8
These files have been converted with this command line:
iconv -f EUC-KR -t utf8 <file> > <tmp file>
For more info, see http://nabble.documentfoundation.org/About-encoding-of-some-files-in-hwpfilter-td4105106.html

Change-Id: Ibb2fc0af465641d6cc9236887addefe8062d4ffe
2014-04-13 16:42:00 +02:00
Tor Lillqvist
73ecb92437 Use --switch=2 --readonly-tables gperf options
The --switch option saves about one megabyte of code (or data), and the
--readonly-tables seems like a good idea in general.

Change-Id: I19419e2cb9bb76dea4547512572b689883c41d8d
2014-04-13 16:42:36 +03:00
Julien Nabet
42d494e792 Fix encoding (iso-8859-1 -> utf8)
Change-Id: I3ce449b6be30edbe99a72a66d18225482e091236
2014-04-12 23:59:06 +02:00
Julien Nabet
091f4f14c5 cppcheck: multiCondition, remove 2 duplicate "else if" blocks
Change-Id: I538bacd0e52a5e7d5df9847ad4632e02124aeb95
2014-04-12 23:25:20 +02:00
Tor Lillqvist
cddf4bd65f HEADER_SEARCH_PATHS is duplicated for Debug and Release
Change-Id: Ifbed4933f528342300642673d707c8189eda1e8c
2014-04-12 23:35:37 +03:00
Chris Sherlock
bb5c7d6a79 fdo#38844 Reduce XOR clipping for gradients
Removed XOR clipping version of ClipAndDrawGradientMetafile. Because it
has been removed, the other version isn't really needed in it's own
function so I've moved it back into DrawGradient.

Change-Id: Ib1519a019061c8c71183db63e5c11681bcad4cc4
2014-04-13 04:12:21 +10:00
Tor Lillqvist
eb6bf90a87 Mmap in the ICU data file and pass it to udata_setCommonData()
Now done in TiledLibreOffice's lo_initialize(), but should probably be
done in common LO code instead.

Change-Id: I398a703943d13c6d715e4c88ead2a629955fb7c9
2014-04-12 20:34:50 +03:00
Tor Lillqvist
11842c6643 Copy the ICU data file into the TiledLibreOffice app
Change-Id: I7f259c96dd9ab0ec833cefd2142682d08b7255b1
2014-04-12 20:34:50 +03:00
Tor Lillqvist
4867d022d5 Don't create an icudata library for iOS
The intent being that the data file will be used instead.

To avoid linking error, correspondingly include the ICU stubdata
library in the list of static libraries to link with.

Change-Id: I0f223fcce89dfbe283aaa2fcd2d5a58ea36ba364
2014-04-12 20:34:49 +03:00
Tor Lillqvist
a2adff5540 Add udata.cpp from ICU for easy breakpoint setting
Change-Id: Ic830275479ef68af50e4df738d9f5d252bb1cdf0
2014-04-12 20:34:48 +03:00
Tor Lillqvist
6d9060a6e6 Unnecessary to mention dependency on icudata as only libicuuc directly uses it
libicudata exports a single symbol, icudt52_data (for ICU version 52), and
only libicuuc refers to it.

Change-Id: Ia04356fda20cf8109156ccd1cbbd9091e70adf27
2014-04-12 18:52:55 +03:00
Julien Nabet
2ae639af5a cppcheck: Possible inefficient checking for emptiness
Change-Id: I2b353435b29046b05acbb1193fda168309e01f4b
2014-04-12 17:47:44 +02:00
Julien Nabet
6a3440de1d cppcheck: Prefer prefix ++/-- operators for non-primitive types
Change-Id: I7060802164989c2797d4abea29a378eaa3a54b41
2014-04-12 17:43:57 +02:00
Julien Nabet
6c6f78c656 cppcheck: multiCondition
2 "else if" with same condition, one of them is wrong and it seems here the first one.
More details here: http://nabble.documentfoundation.org/Cppcheck-reports-else-if-condition-matches-previous-condition-vcl-td4104270.html

Change-Id: I818cfa879a41c5818c429acc1645b1ee1f8b5103
2014-04-12 17:42:49 +02:00
Miklos Vajna
2df53ef500 fdo#74599 RTF import: enable StylesNoDefault compat setting
The Writer 'Heading 3' paragraph style is gray by default, but (just
like in case of DOCX) that shouldn't have any influence on the RTF
import result.

Fix this by moving the compat setting from the DOCX filter
implementation to the common dmapper.

Change-Id: I86c7cf1a66f82b438ce8379467773a88c9e229af
2014-04-12 16:46:26 +02:00
Chris Sherlock
30e0e6ff95 Unify DrawGradient functions in OutputDevice
Turns out that the two versions of DrawGradient in OutputDevice are
almost exactly the same in every way, except one deals with a rectangle
and the other with a PolyPolygon. So I just convert the Rectangle into
a PolyPolygon and use the PolyPolygon function.

Now that the functions are unified, the need for a seperate function
to clip and draw the gradient is no longer really required, so I've
merged this back into DrawGradient.

Change-Id: I94d4af1bb7dd900495672f0c0481dc9a1083ff67
2014-04-12 23:46:01 +10:00