Commit graph

1428 commits

Author SHA1 Message Date
Caolán McNamara
bacfd2dc4c add a comphelper::string::getTokenCount
suitable for conversion from [Byte]String::GetTokenCount
converted low-hanging variants to rtl::O[UString]::getToken loops
added unit test
2012-01-05 09:18:19 +00:00
Kohei Yoshida
578292d707 Register chart data ranges via tokens rather than string.
Doing it this way avoids having to re-generate the data ranges in
Calc A1 before passing it to the chart backend in Calc.  We need this
in order to remove the silly restriction that forces us to always pass
data range strings in Calc A1 format, which is error-prone.

This is also necessary in order to fix the bug that prevents editing
data ranges of an existing chart when the formula syntax is something
other than Calc A1.
2012-01-04 21:19:39 -05:00
Radek Doulik
737324f909 regenerated custom shape presets with fixed ssd* constants 2012-01-04 16:09:48 +01:00
Radek Doulik
56c40a010e PPTX: fix ssd* constants import for drawingml formulas 2012-01-04 16:09:48 +01:00
Muthu Subramanian
82e385c7e0 n734734: Line Spacing is used from previous values. 2012-01-03 18:07:24 +05:30
Olivier Hallot
6af59644d6 Fix for fdo43460 Part XXV getLength() to isEmpty()
Please find attached a partial fix for Easy Hack FDO43460

Part XXI
Module
oox
2012-01-02 19:17:17 +01:00
Muthu Subramanian
60b7f09ed5 n#655408: Importing extLst of drawings in diagrams.
data*.xml contains the list of drawings which can be imported
instead. These are easier to import now that we support better
smartart.
2011-12-30 16:13:06 +05:30
Matúš Kukan
9856dfd3cc unusedcode: oox: remove some unused code 2011-12-22 15:33:49 +01:00
Takeshi Abe
7958f8244c catch exception by constant reference 2011-12-21 21:57:54 +09:00
Caolán McNamara
c1c3ef64bc callcatcher: remove some unused code 2011-12-21 09:30:20 +00:00
Luboš Luňák
0acff1783a skip unknown elements when reading multiple elements from docx mathml 2011-12-20 10:49:40 +01:00
Muthu Subramanian
606c2e7e9f Fixed: bentConnectors are not imported properly.
Reverting regression with f0bf2a2ae9
2011-12-16 20:27:25 +05:30
Jesse
6a8f6c4b13 Removed extra semicolons 2011-12-15 16:38:50 +00:00
Radek Doulik
748a636b51 use custom shapes for curved connector shapes
- they looks correctly visually, we can make then connector shapes
   once we have new implementation
2011-12-14 15:08:47 +01:00
Felix Zhang
8d691a2d94 import text body rotation property of custom shape 2011-12-14 10:29:19 +01:00
Radek Doulik
cd77642f2b pptx: updated custom shapes presets after latest fix in equations import 2011-12-12 15:05:57 +01:00
Radek Doulik
cc65d9fe56 pptx: fix custom shape equations import
- guide names can be reused and in that case current one used
   in following equations is the last one
2011-12-12 15:05:57 +01:00
Muthu Subramanian
704ee5bc85 n#719989: Rotation needs to be done post flipping. 2011-12-08 16:47:56 +05:30
Bjoern Michaelsen
2acd8fbac9 in modules, when we have a env we are in stage gbuild 2011-12-07 15:53:06 +01:00
Luboš Luňák
7be8bac42a make the linear xml processing API more generic
I'm pretty sure I'll love to use it in writerfilter instead of the normal
API whenever I get the chance.
2011-12-07 14:47:11 +01:00
Luboš Luňák
1e4fb45c03 disable error logs for now, until the new log macros get sorted out 2011-12-07 14:47:11 +01:00
Luboš Luňák
d7017dbc17 append text when reading from xml
The xml parser apparently can call the characters() callback several
times for one text content (if it needs to un-escape maybe?), so
append, otherwise some content would be overwritten.
2011-12-07 14:47:10 +01:00
Radek Doulik
e9877935b0 pptx: make sure we set right type for connector shapes 2011-12-07 14:03:58 +01:00
Radek Doulik
f0bf2a2ae9 do not use new presets for connector shapes
- until we have better implementation
2011-12-07 14:03:58 +01:00
Caolán McNamara
c8ef924060 normalize Red Hat, Inc. spellings, and bump to latest template 2011-12-06 21:24:37 +00:00
Markus Mohrhard
219703ba3b remove last uses of CellVertJustify in our code
please use now only CellVertJustify2
2011-12-05 23:08:25 +01:00
Muthu Subramanian
30b052e7b6 n#719989/97: Connector shape fixes.
Note that rotation needs to be done post flipping.
2011-12-02 22:48:27 +05:30
August Sodora
443a7229f9 Remove uses of charAt 2011-12-01 11:10:28 +01:00
Kohei Yoshida
d4a51391d3 Correctly import multi-value filter settings.
We are still not 100% compatible, e.g. Excel's "show blanks" setting
is not cleanly mapped (partly due to ODF's limitation).  But that's
a future TODO.
2011-11-29 22:35:46 -05:00
Kohei Yoshida
af4435c5a4 Switch to TableFilterField3, but no other changes. 2011-11-29 22:35:46 -05:00
Luboš Luňák
5c897753a6 better debug output when skipping an element 2011-11-29 21:20:27 +01:00
Luboš Luňák
f92bb66096 no debug about skipping tags if not actually skipping 2011-11-29 21:20:27 +01:00
Luboš Luňák
6bbca34846 make debug output print tags as strings rather than id numbers 2011-11-29 21:20:27 +01:00
Luboš Luňák
7bdccfdc1d implement import of docx mathml m:d 2011-11-29 21:20:25 +01:00
Luboš Luňák
e9ed9d4d45 do no re-sort oox tokens
Search me why writerfilter rolls its own, but otherwise they use
different ids, because writerfilter does not sort them.
2011-11-29 21:20:24 +01:00
Bjoern Michaelsen
d73e574d8a move reconfigure into gbuild 2011-11-29 17:25:14 +01:00
Lior Kaplan
37f509e15d Replace formattings with formatting 2011-11-29 18:17:18 +02:00
Luboš Luňák
34a98b79da set properly initial size of starmath component when importing docx 2011-11-29 13:27:43 +01:00
Luboš Luňák
93be239c95 the bit hackish addFormula() shortcut is no longer necessary 2011-11-29 13:27:43 +01:00
Luboš Luňák
f034c452c5 simplify attribute retrieval syntax a bit 2011-11-29 13:27:42 +01:00
Muthu Subramanian
aa7342bd97 Removing unused GetShapePresetType().
It is huge, and inefficient as well.
2011-11-29 18:15:03 +05:30
Eike Rathke
42e80ec68b dr80: #i116460# performance of Excel file with many outlines
# HG changeset patch
# User Niklas Nebel <nn@openoffice.org>
# Date 1300438660 -3600
# Node ID aa7d08a12d7ee60c71eb4f2dc1241197e009c443
# Parent  49c53fbe0cd4d663f419b659c82618bd106282ef
2011-11-28 15:25:34 +01:00
Jan Holesovsky
dabe836c6e Fix visibility problem on Windows. 2011-11-28 11:27:15 +01:00
Caolán McNamara
6f33482f8f ByteString->rtl::OUStringToOString 2011-11-28 09:55:03 +00:00
Norbert Thiebaud
811f61d81b remove include of pch header from oox 2011-11-27 13:15:57 -06:00
August Sodora
93253ee6ab Remove some uses of OUString::setCharAt 2011-11-26 00:49:26 -05:00
Jan Holesovsky
15da1a153e Fix build on Windows. 2011-11-25 13:19:29 +01:00
Bjoern Michaelsen
f2f0dbd273 make gbuild makefiles run independant of pwd again 2011-11-25 12:04:40 +01:00
Cédric Bosdonnat
65be3e7908 Docx crasher: there may be no External Header for pictures. 2011-11-25 11:17:45 +01:00
Stephan Bergmann
59210463cc no need to export oox/helper/attributelist.hxx any longer 2011-11-25 10:40:39 +01:00