Commit graph

1532 commits

Author SHA1 Message Date
Cédric Bosdonnat
3751ab6910 n#751573: docx, no mso-fit-shape-to-text means the textbox size is fixed 2012-03-23 15:28:50 +01:00
Miklos Vajna
51cfbf0cfa n#751054 fix VML import of absolutely positioned pictures
There were multiple issues here:

- convertEmuToHmm() not handling negative values
- position:absolute style property being ignored
- mso-position-vertical-relative is not converted to
  text::RelOrientation
- SwAnchoredDrawObject::_SetPositioningAttr() re-positioning already
  positioned objects
- DomainMapper_Impl::PushShapeContext() inserting positioned objects as
  character
2012-03-22 11:03:26 +01:00
Miklos Vajna
5881168bf8 oox: it's EMU, not MEU 2012-03-21 16:39:40 +01:00
Tor Lillqvist
2a1171929e chmod -x 2012-03-21 13:00:45 +02:00
Caolán McNamara
08fd513e71 callcatcher: update list 2012-03-20 20:35:53 +00:00
Petr Vorel
04919d8f9c remove unused code (oox, sc) 2012-03-20 13:48:12 +00:00
Petr Vorel
c2dc50c34b removed unused code 2012-03-20 12:57:34 +00:00
Luboš Luňák
4975086217 workaround for msvc instantiating things it shouldn't
The cppu::ImplInheritanceHelper1 ctor should not get instantiated, but MSVC2008
does so and then it fails to compile.
2012-03-17 08:19:21 +01:00
Noel Power
8ada1cd284 move excel related oox bits to sc 2012-03-16 12:31:01 +00:00
Noel Power
1bd695d3dd fix mishandling of 'End Sub' is there is a trailing comment fod#46889 2012-03-15 19:50:59 +00:00
Petr Vorel
a13a9a048a remove unused code (oox, sd) 2012-03-15 16:57:45 +01:00
Mariana Marasoiu
02f1aad700 Remove unused code in drawingml/table. 2012-03-14 16:41:19 +00:00
Mariana Marasoiu
238944f008 Remove unused code in drawingml/theme. 2012-03-14 16:41:15 +00:00
Mariana Marasoiu
f8c476f70c Remove unused code in drawingml/diagram. 2012-03-14 16:41:12 +00:00
Mariana Marasoiu
0b54154f53 Remove unused code in drawingml. 2012-03-14 16:41:08 +00:00
Stephan Bergmann
6e67c03dc0 Enable -Wnon-virtual-dtor for GCC 4.6
...which has the necessary features to support it.

Change a lot of classes to either contain a protected non-virtual dtor
(which is backwards compatible, so even works for cppumaker-generated
UNO headers) or a public virtual one.

cppuhelper/propertysetmixin.hxx still needs to disable the warning, as
the relevant class has a non-virtual dtor but friends, which would still
cause GCC to warn.

Includes a patch for libcmis, intended to be upstreamed.
2012-03-14 13:32:02 +01:00
Petr Vorel
b6ff047a57 remove unused code 2012-03-11 19:03:56 +04:00
Matúš Kukan
84b3f7b345 gbuild: get rid of realpath in gb_Foo_set_include 2012-03-10 21:23:20 +01:00
Tor Lillqvist
3e8e896c03 Need the sfx library for sfx2::isValidNCName() 2012-03-07 11:41:47 +02:00
Noel Power
14620c3b33 support import of key shortcut for macro ( Excel only ) 2012-03-05 20:15:16 +00:00
Muthu Subramanian
d082cb2060 n747499: Wav/Audio files import - stub. 2012-03-05 19:11:04 +05:30
Petr Vorel
2bdac353ce remove unused code 2012-03-05 10:26:44 +02:00
Julien Nabet
5122196acc Avoid temporary rtl::OUString 2012-03-03 15:05:28 +01:00
Tor Lillqvist
c492c10348 WaE: two unused functions 2012-03-03 01:16:29 +02:00
Tor Lillqvist
30313007a8 WaE: use of logical '&&' with constant operand
Surely it's the bitwise operator & that is wanted here. The code makes
no sense otherwise. We apparently have been generating UUIDs where
every second hex digit is always a '1', like
{x1x1x1x1-x1x1-x1x1-x1x1-x1x1x1x1x1x1} (where each x is a random hex
digit).
2012-03-03 01:16:28 +02:00
Tor Lillqvist
b43bdd47fe WaE: expression result unused
Remopve apparently accidentally leftover initializer parameter list
that now was just a comma expression with no effect.
2012-03-03 01:16:27 +02:00
Michael Stahl
56665a8a22 oox::drawingml::Shape: fix "lock underflow in SvxShape" assertions 2012-03-03 00:05:28 +01:00
Michael Meeks
5d49bf62bf customshapes: re-generate smaller, faster to compile data. 2012-03-02 22:14:25 +00:00
Michael Meeks
62ee264429 customshapes: special-case Sequence of EnhancedCustomShapeParameterPair
another 20% compile time win, and 350K saved from the shared library
2012-03-02 22:14:25 +00:00
Michael Meeks
40b30c31ff customshapes: special case EnhancedCustomShapeParameterPair to win
Gives a 50% shrink in compile time, and a ~1Mb shrink in binary size
2012-03-02 22:14:24 +00:00
Michael Meeks
f59733657f customshapes: use static integer array for EnhancedCustomShapeSequences
Saves 4% compile time and 200K of space
2012-03-02 22:14:24 +00:00
Michael Meeks
36f8ef7f3f customshapes: 800k size saving, and 25% compile speedup
Use static const char * arrays and a helper function instead
of inlining umpteen OUString intern calls.
2012-03-02 22:14:24 +00:00
Radek Doulik
e3c0a952a7 generate more pptx test documents with preset shapes
- before we only generated custom shapes used as presets definition
 - preset-*.pptx documents might be used for testing the presets
2012-03-02 20:43:10 +01:00
Michael Meeks
d4157cefc5 customshapes: commit updated autogenerated output. 2012-03-02 17:10:24 +00:00
Michael Meeks
f291fb57d0 customshapes: re-work generation to create many small methods
each custom shape now has a virtual constructor we can call to
construct it, this shrinks the function size, and helps the
optimiser much accelerating compile time. It may even help
improve import time too.
2012-03-02 17:10:24 +00:00
Michael Meeks
b52ccb87d8 document customshapes (re-)generation flow. 2012-03-02 17:10:24 +00:00
Noel Power
24b402d67e weed out unmatched Sub/End Sub statements when importing VBA fdo#46889 2012-03-02 13:07:09 +00:00
Felix Zhang
101fd17330 n719988, n734733: Bullet should have same color as following text by default 2012-03-02 13:59:07 +01:00
Muthu Subramanian
77901e53ec n657904: Styling information isn't applied to grpSp. 2012-03-02 18:01:45 +05:30
Muthu Subramanian
1a2a2a02bd n#746996: Wrong text color in smartArt.
Some fontRef elements don't seem to define color, but the
spec. says it needs to be used along with choice of color.
So, assuming tx1 when there are none defined.
2012-02-29 18:55:02 +05:30
Santiago Martinez
37eb6211b2 Remove unused code in BiffInputStream. 2012-02-28 14:03:07 +00:00
Santiago Martinez
d4c467f7d3 Remove unused code in BiffObjLineModel. 2012-02-28 14:01:00 +00:00
Michael Meeks
602908b300 fix oox debug build with DBG_UTIL guard for 'dump' usage 2012-02-24 11:22:29 +00:00
Miklos Vajna
15af96ffec oox: guard dbgutil-only methods with ifdef 2012-02-24 10:08:04 +01:00
Eike Rathke
29b1914fad reintroduced dump methods that are needed if OSL_DEBUG_LEVEL > 0
* Partly reverted commit 660cb78cd6 to preserve
  the oox::PropertyMap::dump() methods that are needed by
  oox::PropertySet::dump() when building dbgutil.
* Did not remove the oox::PropertySet::dump() as well because all is part of
  the oox dumper, I guess we don't want to remove that in it's entirety ...
2012-02-24 01:03:55 +01:00
Matúš Kukan
660cb78cd6 unusedcode: remove something from oox 2012-02-23 22:45:08 +01:00
Cédric Bosdonnat
94698d89f6 fdo#45560: Fixed docx textbox position and size import 2012-02-23 13:56:24 +01:00
Noel Power
768da51104 force imported xlsx active tab to be shown bnc#748198
weirdly even though a sheet/tab can be marked as hidden in workbook.xml, if that same tab/sheet is the active one then it *will* be shown
2012-02-22 15:08:21 +00:00
Tor Lillqvist
3a6c12b32f Bin code that is never executed but calls a method that has been removed 2012-02-20 19:12:11 +02:00
Elton Chung
eab072e468 Remove unused code 2012-02-20 15:56:17 +00:00