Commit graph

1013 commits

Author SHA1 Message Date
Radek Doulik
a3f899125e update flip(mirror) properties setting for custom shape presets 2011-10-17 17:03:40 +02:00
Michael Stahl
8666469d7b #i108468#: clean up xmluconv code duplication, measured approach:
modify sax::Converter::convertMeasure to use sal_Int64 instead of BigInt:
  should be sufficient, since the largest number is SAL_INT32_MAX * 10^7.
 remove duplicate methods from SvXMLUnitConverter:
  convertMeasurePx, convertMeasure (static variants)
 remove entirely duplicative class SvXMLExportHelper:
  GetConversionFactor, GetUnitFromString, AddLength
 change SvXMLUnitConverter interface from MapUnit to css::util::MeasureUnit.
 change SvXMLExport constructor params from MapUnit to css::util::MeasureUnit.
 rename some methods to turn compiler into merge conflict detector :)
2011-10-11 17:57:01 +02:00
Pierre-André Jacquod
cbc1c6f082 cppcheck reduce scope of var in oox/...shapes.cxx 2011-10-07 15:57:55 +02:00
Caolán McNamara
b90a9e8877 WaE: unused variables 2011-10-07 13:22:49 +01:00
Radek Doulik
6506416d3d perl scripts to generate sources for custom shapes PPTX import 2011-10-06 14:16:08 +02:00
Radek Doulik
d05649c43b custom shapes import improvements
- added new presets generated from definition included in ISO standard
  - added missing variables (cd3, hd10, ...)
  - added ifelse shortcut ?:
  - removed GetAdjAngle because it would make problems with constant vs. equation
    defined angles, move conversion to the functions using them
  - implemented arcTo path segment (command)
  - removed GetTextShapeType as we don't use vml's presets for drawingml
    anymore
  - use token number for preset type instead of string, as we don't
    convert to old vml's preset types anymore
  - enhanced custom shape properties dump code
2011-10-06 13:45:29 +02:00
Radek Doulik
27bd8bf30b added CXX sources with generated presets definitions 2011-10-06 13:45:29 +02:00
Noel Power
80b81a561e add hackery re. EditControls, FormattedField & ImageControls from msocximex 2011-10-06 09:54:59 +01:00
Norbert Thiebaud
8b5c00eaa4 Revert "added CXX source with generated presets definitions"
This reverts commit c9f9b6723b.

oox/source/drawingml/customshapepresets.cxx is a 4MB source that make gcc
explode both on MacOs and on Gentoo....

the compiler churn on it for 20 minutes or consumming huge amount of memory... and finnaly blow-up with memory error.
2011-10-05 18:09:03 -05:00
Norbert Thiebaud
fe1f6d273c Revert "custom shapes import improvements"
This reverts commit e36f591dfe.
2011-10-05 18:09:03 -05:00
Noel Power
ec294b77c0 Revert "add hackery re. EditControls, FormattedField & ImageControls from msocximex"
This reverts commit 0468848224.
2011-10-05 23:42:47 +01:00
Noel Power
0468848224 add hackery re. EditControls, FormattedField & ImageControls from msocximex 2011-10-05 17:52:32 +01:00
Radek Doulik
e36f591dfe custom shapes import improvements
- added new presets generated from definition included in ISO standard
  - added missing variables (cd3, hd10, ...)
  - added ifelse shortcut ?:
  - removed GetAdjAngle because it would make problems with constant vs. equation
    defined angles, move conversion to the functions using them
  - implemented arcTo path segment (command)
  - removed GetTextShapeType as we don't use vml's presets for drawingml
    anymore
  - use token number for preset type instead of string, as we don't
    convert to old vml's preset types anymore
  - enhanced custom shape properties dump code
2011-10-05 17:42:03 +02:00
Radek Doulik
c9f9b6723b added CXX source with generated presets definitions 2011-10-05 17:42:02 +02:00
Radek Doulik
d31f1fa381 fix compilation with debug enabled 2011-10-05 17:42:02 +02:00
Caolán McNamara
a1a205eda8 makeStringAndClear 2011-10-05 10:56:28 +01:00
Noel Power
7c20a8edbc fix morph control export also fix toggle button state export 2011-10-03 18:58:04 +01:00
Caolán McNamara
1f5c696c37 add mode-lines to .m files and last round of merged files, etc. 2011-09-30 09:09:25 +01:00
Noel Power
c1f24be000 blind fix for macos tinderbox error 2011-09-26 12:44:09 +01:00
Noel Power
b778d1a03c fix merge foo and wae 2011-09-26 12:06:05 +01:00
Noel Power
590d9596c5 move OCX_Control ( and subclasses ) and OCX control export to oox
add forgotten new files axbinarywriter.[ch]xx
2011-09-26 12:06:05 +01:00
Noel Power
5609c512cd move OCX_Control ( and subclasses ) and OCX control export to oox 2011-09-26 12:06:04 +01:00
Noel Power
f8f54cbb5d new source files for class AxFontData moved from axbinaryreader.[ch]xx
note original oracle copyright has been preserved as this code has just being moved to a new source/header file
2011-09-26 12:06:04 +01:00
Thomas Arnhold
be6a8677a6 OSL_TRACE: Remove trailing newlines
Done with perl regex:
s/(\n\s*OSL_TRACE\(\s*\"[^\n]+?)\s*(\\n)+(\"[^\n]*\)\;\n)/$1$3/gs;

- removed trailing whitespaces and (multiple) newlines
2011-09-21 09:28:39 +02:00
Kohei Yoshida
665d101195 Get DB range import from xlsx to work once again.
We need to map Excel's database ranges (or in Excel's terminology
"tables") to named db ranges because they may be referenced in formula
expressions.  Also, Excel tables are always of the form Table*[] when
used in formulas.  Skip the "[]" part then the preceding token is a
valid database range.
2011-09-20 17:12:46 -04:00
Regina Henschel
3e5edf6ca9 Add missing chart data point ODF1.2 standard symbols 2011-09-20 12:14:13 -04:00
Thomas Arnhold
1afef0e98a Remove RCS header 2011-09-20 09:25:41 +02:00
Tor Lillqvist
db2d9b4076 Fix lower_bound() comparator class problem for MSVC with _DEBUG 2011-09-15 15:42:33 +03:00
Tor Lillqvist
6b457882d0 We can't #define _HAS_ITERATOR_DEBUGGING 0 in just some of the source files
It seems that _HAS_ITERATOR_DEBUGGING affects the layout of some
classes, which of course means horrible breakage if some of the source
files are compiled with it, the rest not.

http://msdn.microsoft.com/en-us/library/aa985939%28v=vs.80%29.aspx
http://connect.microsoft.com/VisualStudio/feedback/details/334315/has-iterator-debugging-0-causes-crash

I will just have to fix the code in this handful of source files so
that it compiles with _DEBUG defined. If I can be bothered.
2011-09-15 12:02:59 +03:00
Muthu Subramanian
e8acb5c43c n#657909: Fixed import of free drawn curves. 2011-09-13 14:14:31 +05:30
Muthu Subramanian
9db8c81282 n#705985: Importing Flip properties of custom shapes. 2011-09-09 12:34:54 +05:30
Noel Power
c3db533255 make sure we can detect if vba code was imported 2011-09-06 17:34:30 +01:00
Noel Power
8be4261608 access oox vbaproject import directly 2011-09-05 10:46:10 +01:00
Kohei Yoshida
ca5a4839a6 css::awt namespace is included in this file. 2011-09-02 02:06:20 -04:00
Kohei Yoshida
d178d7bef1 fdo#40466: Get charts to import from xlsx again.
This regression was probably caused by a bad merge of OOo m106.
2011-09-02 02:00:41 -04:00
Tor Lillqvist
f8d22519a4 Move OoxmlFormulaExportBase to oox 2011-09-01 21:38:43 +03:00
Kohei Yoshida
6af23840bb fdo#40466: Make sure we have the same numbers of URI's and Id's.
This caused an immediate crash when trying to import xlsx documents
with charts on Windows.  No idea why this didn't crash on Linux,
even valgrind's memcheck didn't pick it up.
2011-08-31 22:23:58 -04:00
Julien Nabet
01a87c102f Some cppcheck cleaning 2011-08-30 23:13:04 +02:00
Tor Lillqvist
a647a54cd1 More #define _HAS_ITERATOR_DEBUGGING 0 to fix _DEBUG MSVC builds 2011-08-29 10:53:56 +03:00
Muthu Subramanian
67b79b6ada Code review: Removed unnecessary header. 2011-08-24 21:32:38 +05:30
Muthu Subramanian
f1a2b0cb3c n#592912: When text is vertical, horiz & vert aligns are swapped.
- vert270 doesn't seem to be supported by LO.
- vert270 would be WritingMode_TB_LR ? otherwise we need to support it
  by doing other operations like rotation or flip. Is that necessary ?
2011-08-24 21:32:38 +05:30
Radek Doulik
9c2ae3f245 fix regression of 2155c4c0af
- do not drop the master shapes anymore, but rather hide them
  - it is possible to have shapes with 0x0 geometry in slides,
    these inherit proper geometry from master slide shapes - so
    when we dropped the shapes, the geometry info was lost
2011-08-24 14:28:01 +02:00
Muthu Subramanian
b6768c5073 n#699334: Legacy Diagram Text import.
- Imports Legacy Text.
- Formatting info is not imported.
2011-08-23 14:14:43 +05:30
Muthu Subramanian
68e756de2e n#657896 - Gradient Transparencies and Muticolor Gradient fills.
- Assumes axial gradient fills when more than 3 colors are present.
- Implements importing of Transparency Gradients.
2011-08-23 12:48:52 +05:30
Joseph Powers
180ffa7c85 unusedcode.easy: Cleanup GraphicHelper
Note: getDeviceInfo() is used in oox/source/xls/unitconverter.cxx
(UnitConverter::UnitConverter)
2011-08-21 22:17:03 -07:00
Noel Power
0531021de4 tweak vba decompression as per frob's amazing bit detective work
ported a version of the patch at https://bugzilla.gnome.org/show_bug.cgi?id=656531 adjusted for libreoffice
2011-08-19 12:34:20 +01:00
Takeshi Abe
91f85b294b catch exceptions by const references 2011-08-18 13:50:27 +09:00
Radek Doulik
83a0796604 fix how table style is applied
- make sure it doesn't replace character properties of textbody inside cells
 - fixes bnc#705991
2011-08-17 13:14:54 +02:00
Radek Doulik
dee4142489 fixed regression of a57a4078fc
- fixes bnc#705991
2011-08-17 13:14:54 +02:00
Noel Power
4fae740db7 Disable fake VBA events for the old-style form controls. 2011-08-16 21:22:42 -04:00