Commit graph

1350 commits

Author SHA1 Message Date
Radek Doulik
959302bfd9 fixed remaining issues with custom shapes sizing 2011-11-07 12:08:27 +01:00
Radek Doulik
8ed962b9a9 fix build 2011-11-07 12:08:27 +01:00
Radek Doulik
858b404472 fix ooxml custom shapes sizing
- ooxml custom shapes width and height are in actual (logic) coordinates space
   and not in "virtual" 21600x21600 space
2011-11-07 12:08:27 +01:00
Muthu Subramanian
b645f9195f n#706792: Fix crash while opening certain pptx files. 2011-11-02 13:50:20 +05:30
Markus Mohrhard
35896a678b add xlsx local range name import 2011-10-27 23:54:24 +02:00
Tor Lillqvist
4036082003 WaE: unreachable code and unreferenced formal parameter 2011-10-25 13:55:52 +03:00
Tor Lillqvist
e3ec70c557 WaE: unreachable code 2011-10-25 13:55:50 +03:00
Tor Lillqvist
8f8e25250d WaE: unreachable code 2011-10-25 13:55:48 +03:00
Tor Lillqvist
f7f18708cc WaE: class has virtual functions, but destructor is not virtual 2011-10-25 13:55:45 +03:00
Tor Lillqvist
2cfd5509f9 WaE: unreferenced local variable 2011-10-25 13:55:43 +03:00
Tor Lillqvist
c4033b268d WaE: assignment within conditional expression 2011-10-25 13:55:41 +03:00
Tor Lillqvist
9bf8654b56 WaE: class has virtual functions, but destructor is not virtual 2011-10-25 13:55:39 +03:00
Noel Power
e3ef9bebf6 tweak compressession hack to fix vba module import
it seems that the heuristic to trigger the inflate hack from frob is both wrong in the code ( my fault ) and additionally doesn't always hold true ( found a document where the heuristic is triggered falsely ) So. removing that heuristic entirely for now
2011-10-21 11:07:38 +01:00
Felix Zhang
fcea2c9acb remove an unused method 2011-10-19 12:41:50 +02:00
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
39160c1044 added new source files to the .mk file 2011-10-06 15:09:37 +02:00
Radek Doulik
6506416d3d perl scripts to generate sources for custom shapes PPTX import 2011-10-06 14:16:08 +02:00
Radek Doulik
aa66cd83ad added definitions for new presets initialize functions 2011-10-06 13:45:30 +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
Bjoern Michaelsen
e94a19f3e0 simplfy dmake to gbuild bridgefile 2011-10-05 00:31:50 +02: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
Matúš Kukan
8de6948e4f fix trunk gcc compile errors 2011-09-29 13:22:57 +02:00
Noel Power
13982b4f17 conditionalise out presently unused class variables
currently we conditionalise out the parts of the code intended to replace the remaining code in SvxMSConvertOCXControls with flag SvxMSConvertOCXControlsRemoved. Some unused class variables should also have been conditionalise out. Hmmm maybe I should just get rid of it all :-/
2011-09-26 14:15:37 +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
Caolán McNamara
871426533f just silence the auto_ptr deprecations in isolation 2011-09-22 15:01:05 +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
Caolán McNamara
87891c1c8b Related gcc#50394 pernickety gcc 4.7.0 2011-09-15 17:01:57 +01: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