Commit graph

1134 commits

Author SHA1 Message Date
Muthu Subramanian
5c71463258 n744503: Importing useBgFill colors for shapes. 2012-02-16 21:02:14 +05:30
Noel Power
2174d4d44e use stream name for module names when importing vba. fdo#46151 & bnc#747323 2012-02-16 10:36:51 +00:00
Thorsten Behrens
905df1bae9 Fix crash in smartart import
Rather check iterator validity *before* accessing it. valgrind
warning on linux, and crash on windows for e.g. doc at n#736495.
2012-02-16 10:38:11 +01:00
Stephan Bergmann
9ab0b38e95 Various string function clean up
Added:
* rtl::OString::matchL
* rtl::OString::endsWith
* rtl::OString::endsWithL
* rtl::OString::indexOfL
* rtl::OString::replaceFirst
* rtl::OString::replaceAll
* rtl::OString::getToken
* rtl::OUString::endsWith
* rtl::OUString::replaceFirst
* rtl::OUString::replaceFirstAsciiL
* rtl::OUString::replaceFirstAsciiLAsciiL
* rtl::OUString::replaceAll
* rtl::OUString::replaceAllAsciiL
* rtl::OUString::replaceAllAsciiLAsciiL
* rtl::OUString::getToken
plus underlying C functions where necessary

Deprecated:
* comphelper::string::remove
* comphelper::string::getToken

Removed:
* comphelper::string::searchAndReplaceAsciiL
* comphelper::string::searchAndReplaceAllAsciiWithAscii
* comphelper::string::searchAndReplaceAsciiI
* comphelper::string::replace
* comphelper::string::matchL
* comphelper::string::matchIgnoreAsciiCaseL
* comphelper::string::indexOfL

Also fixed some apparent misuses of RTL_CONSTASCII_USTRINGPARAM ->
RTL_CONSTASCII_STRINGPARAM.
2012-02-15 15:41:09 +01:00
Muthu Subramanian
8167b8f3d9 n744510: Improved 'vert' text imports. 2012-02-14 19:50:40 +05:30
Ivan Timofeev
c2ad01cc22 remove unused fields 2012-02-13 20:24:19 +04:00
Elton Chung
0536df54d5 Remove unused code 2012-02-13 16:16:34 +00:00
Elton Chung
60397e8497 Remove unused code 2012-02-13 16:11:51 +00:00
Elton Chung
f1c162967f Remove unused code 2012-02-13 15:56:32 +00:00
Noel Power
58255c47b1 handle imported picture attribute from MSO Dialog ( fdo#45995 ) 2012-02-13 14:51:36 +00:00
Elton Chung
731a8d7d5b Remove unused code 2012-02-11 18:53:24 +04:00
Muthu Subramanian
b93463bcfe n744512: Fixed formatting of tables.
otherStyle needs to be used to format tables.
removed wrong defaultStyling.
added using masterslide style info correctly.
2012-02-10 14:54:46 +05:30
Muthu Subramanian
1ae7ac2a03 Code review fixes. 2012-02-10 14:54:46 +05:30
Takeshi Abe
e7e0455b02 Prefer equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("...")) to equalsAscii("...") 2012-02-10 01:59:26 +09:00
Noel Power
4908c16a73 handle row and column offsets for imported shape with cell anchor fdo#45266
This is an update to the previous commit ( for the same bug ) d3a26738b426846ee1a787e7c97280fc43002961
2012-02-08 17:51:53 +00:00
Noel Power
3d62ea9a92 import group field group name user captions fdo#45310 2012-02-03 12:43:44 +00:00
Noel Power
50be8ec9ed fix corrupted numbers in pivottable using group field as data field fdo#45276 2012-02-03 12:43:43 +00:00
Noel Power
16af091a33 fix corrupted group field entries in xlsx imported pivot table fdo#45268 2012-02-03 12:43:43 +00:00
Noel Power
c07e9299bb improve xlsx shape/chart import, anchor to cell where needed fdo#45266 2012-02-03 12:43:42 +00:00
Muthu Subramanian
a71c878cd0 n#744509: Alignment of text is wrong.
According to section 21.1.2.2.7 [pPr], "If this [algn]
attribute is omitted, then a value of left is implied."
2012-02-03 16:20:34 +05:30
Julien Nabet
34c5059b80 Fix "Prefer prefix ++/-- operators for non-primitive types" 2012-02-01 21:40:29 +01:00
Muthu Subramanian
af15127871 Fixes crashing while loading manipulated pptx files. 2012-02-01 13:32:56 +05:30
Kohei Yoshida
1f2bf6d863 Removed debug statement. 2012-01-30 12:30:56 -05:00
Luboš Luňák
0843da18a6 fprintf -> SAL_INFO 2012-01-30 14:10:49 +01:00
Muthu Subramanian
5fb4b78559 n719734: Overridding properties from master/layout.
When there are conflicting properties in masterslide->layout->slide
most recent (i.e. e.g. slide has higher priority than layout)
should be used.
2012-01-24 13:03:11 +05:30
Muthu Subramanian
a21c7f835b Fix for a probable crash. (code review) 2012-01-24 13:02:03 +05:30
Caolán McNamara
e07f5b0fb4 make oox ByteString free 2012-01-23 11:37:04 +00:00
Thomas Arnhold
8989839589 Remove unused Get/SetXmlNamespace 2012-01-21 19:58:44 +01:00
Thomas Arnhold
08d47e3491 correct copyright header 2012-01-21 19:58:44 +01:00
Radek Doulik
b342887856 regenerated custom shapes presets 2012-01-19 09:46:53 +01:00
Radek Doulik
76049db159 updated custom shapes presets generator to use new SubViewSize property 2012-01-19 09:46:52 +01:00
Radek Doulik
8447e7898d use SubViewSize property for custom shape paths 2012-01-19 09:46:52 +01:00
Radek Doulik
229b0cc002 handle [more] placeholder shapes in Layout slides
- import them as outliner shapes, so that they don't appear on regular slides
 - choose appropriate placeholder shapes on regular slides (Table, Picture, Chart, Media)
2012-01-16 15:41:26 +01:00
Matúš Kukan
fcc8db1d2b fix for gcc 4.7: unable to find string literal operator 2012-01-14 11:35:39 +01:00
Noel Power
8a3b584528 export vertical and horizontal flip attribute for customshapes 2012-01-11 18:13:33 +00:00
Noel Power
aaa4e47cbc add missing ooxml customshape -> mso shape name entries ( for export support ) 2012-01-11 18:13:33 +00:00
Radek Doulik
f7aca07bf7 pptx: regenerated custom shape presets after last path element changes 2012-01-11 16:03:26 +01:00
Radek Doulik
909b58fc55 pptx: support fill=[darken|darkenLess|lighten|lightenLess] in path element 2012-01-11 16:03:25 +01:00
Muthu Subramanian
5c4d1b05fa n#734734: Text rotation fixes.
PPTX would need rotation of text _inside_ text/object
boundaries, rather than the rotation of the text/object itself.
2012-01-11 15:24:27 +05:30
Thomas Arnhold
2c3d0ff9f8 Use SAL_N_ELEMENTS
Some more like Thorstens diff 9c59cd15b1

Done with some regex magic (and a check if this var is an array):

s/sizeof\(\s*$var\s*\)\s*\/\s*sizeof\(\s*\*$var\s*/SAL_N_ELEMENTS\($var/gs
2012-01-10 16:52:33 +01:00
Radek Doulik
d0521e28a1 pptx: regenerate presets after custom shapes moveto/close fix 2012-01-10 13:38:53 +01:00
Radek Doulik
15a19d71f3 pptx: custom shapes import, ignore close segment after moveto segment 2012-01-10 13:38:52 +01:00
Radek Doulik
534e87c5d5 regenerated custom shape presets 2012-01-09 15:10:51 +01:00
Radek Doulik
c0aa170638 pptx: implemented import of <path stroke="false" ...> 2012-01-09 15:10:50 +01:00
Miklos Vajna
effeb08efd Kill SvNullStream duplication 2012-01-08 20:11:09 +01:00
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