Commit graph

1680 commits

Author SHA1 Message Date
Stephan Bergmann
f66ac29343 Make .component files directly usable within UNO_SERVICES.
* solenv/bin/createcomponent.xslt simply surrounds it output by <components>.
* solenv/gbuild/CppunitTest.mk got new functions
gb_CppunitTest_add[_old]_component[s] (like their gb_RdbTarget_ predecessors).
* This obsoleted current uses of solenv/gbuild/RdbTarget.mk, which also does not
work currently, as it catenates the input component files instead of passing
them through packcomponents.xslt (which now takes care about the surrounding
<components> in the input).  In the future, it will likely be combined with the
recently added solenv/gbuild/ComponentsTarget.mk.
2011-11-11 10:53:23 +01:00
Ivan Timofeev
5122e3413b cppcheck: avoid possible null pointer dereferences 2011-11-06 15:47:55 +04:00
Takeshi Abe
307535d98a removed unused macro 2011-11-05 00:05:20 +09:00
Tor Lillqvist
c6a24a5e74 WaE: unsafe mix of type 'bool' and type 'sal_Bool' in operation 2011-10-26 15:26:04 +03:00
Tor Lillqvist
8eb0a79b94 WaE: unreferenced local variable 2011-10-26 15:26:02 +03:00
Tor Lillqvist
849651d01b WaE: switch statement contains 'default' but no 'case' labels 2011-10-26 15:26:00 +03:00
Tor Lillqvist
2175576c12 WaE: unreferenced local variable 2011-10-26 09:43:48 +03:00
Tor Lillqvist
f8766d5258 WaE: unreachable code 2011-10-26 09:40:02 +03: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
Michael Stahl
3ca2bef768 #i108468#: clean up xmluconv code duplication, part 1:
move convertNumber64 from SvXMLUnitConverter to sax::converter.
 remove duplicate methods from SvXMLUnitConverter:
  convertBool, convertPercent, convertColor, convertNumber, convertDouble,
  indexOfComma, encodeBase64, decodeBase64, decodeBase64SomeChars,
  clearUndefinedChars
2011-10-11 17:57:00 +02:00
Bjoern Michaelsen
e94a19f3e0 simplfy dmake to gbuild bridgefile 2011-10-05 00:31:50 +02:00
Bjoern Michaelsen
ddf0f4f36f adapt starmath unittests to separate RdbTarget makefile requirement 2011-10-04 18:34:24 +02:00
Caolán McNamara
2774cab826 add modelines 2011-09-29 09:33:46 +01:00
Caolán McNamara
0be026ea4a <= for extra safely I suppose 2011-09-26 12:59:36 +01:00
Ivan Timofeev
30e8dcf037 consider empty <mmultiscripts> 2011-09-26 12:54:37 +01:00
Ivan Timofeev
ff6e647932 Fix for fdo#39898: don't crash on some invalid MathML objects 2011-09-23 16:53:41 +01:00
Caolán McNamara
bca6b33e57 reformat so that numbers are correct 2011-09-17 23:20:46 +01:00
Julien Nabet
02d811071c fdo #37007 Add Math symbol "There does not exist". 2011-09-17 20:38:27 +02:00
Stephan Bergmann
7d1bb036e1 Simplified setting headless mode for smoke-/subsequenttetss.
Both C++ and Java OfficeConnection code now always pass --headless, so no
need for SAL_USE_VCLPLUGIN=svp etc. any more.  Only some C++ unit tests that
link against vcl still need an explicit --headless.
2011-09-16 10:38:06 +02:00
Stephan Bergmann
d996328cd5 sb140: #i113503# mixing system CppUnit and OOo STLport does not work, backed out a6913c9677c2
For LibO, that just means replacing sal/cppunit.h with sal/precppunit.hxx.
2011-09-12 22:47:50 +02:00
Caolán McNamara
f57baefbd3 add chaff to encrypted documents 2011-09-08 15:29:53 +01:00
Thorsten Behrens
29cd8ec18e Fix the build.
StarMath needs oox/export/ooxmlexport.hxx. This fixes
f8d22519a4 by exporting the
moved file from oox and adapting starmath.
2011-09-01 22:52:25 +02:00
Luboš Luňák
b34011ae33 disable debug output 2011-09-01 14:06:37 +02:00
Luboš Luňák
cd9934dec1 support TPROD, TCOPROD for .docx math export 2011-09-01 14:06:36 +02:00
Luboš Luňák
a3b2fdcde2 revert accessors for SmUnHorNode, factorial has it the other way around 2011-09-01 14:06:36 +02:00
Luboš Luňák
cd0f9f31a2 implement support for limits to .docx math export 2011-09-01 14:06:36 +02:00
Luboš Luňák
9ff870f1cb fix incorrect tag name: m:char -> m:chr 2011-09-01 14:06:35 +02:00
Luboš Luňák
42c1d40664 more work on math accents export to .docx 2011-09-01 14:06:35 +02:00
Luboš Luňák
9c1da5eac9 enable NSPECIAL handling for math .docx export
I'm not quite sure what it does, but mathtype export has it this
way and it doesn't look like it can hurt.
2011-09-01 14:06:34 +02:00
Caolán McNamara
8de61c9fb6 grabbag of unused code 2011-08-31 10:43:23 +01:00
Luboš Luňák
3d2b643c3c implement math vertical brace export to .docx 2011-08-30 16:56:38 +02:00
Luboš Luňák
5425c4a08e I'm too lazy to count, add comments 2011-08-30 16:56:38 +02:00
Luboš Luňák
198b1c528c helper to simplify horrible string conversions 2011-08-30 16:56:37 +02:00
Luboš Luňák
41fae7dc55 implement math braces export for .docx 2011-08-30 16:56:37 +02:00
Luboš Luňák
bf33a26a1a improve comment about SmBrace (body can be expression for abs{x}) 2011-08-30 16:56:36 +02:00
Luboš Luňák
a32fe391c2 implement NBLANK export to .docx 2011-08-30 16:56:36 +02:00
Luboš Luňák
d1359c4d6e implement .docx matrix export 2011-08-30 16:56:36 +02:00
Luboš Luňák
61b1fb0f42 more generic m:nary implementation 2011-08-30 16:56:35 +02:00
Luboš Luňák
3c923d989f implement math .docx support for integrals and limits 2011-08-30 16:56:35 +02:00
Luboš Luňák
f7d71e379e fix comment about children of SmOperNode 2011-08-30 16:56:34 +02:00
Norbert Thiebaud
d64bbd6bf8 detect gmake 3.81 and limit to -j1 unless num-cpu is explicitly set 2011-08-19 18:29:07 -05:00
Luboš Luňák
6d6605dc87 no debug output 2011-08-18 15:44:51 +02:00
Luboš Luňák
1a4c693191 implement sub/sup support for ooxml math export 2011-08-18 15:33:50 +02:00
Luboš Luňák
efb9c90000 handle some attributes for ooxml math export 2011-08-18 15:33:50 +02:00
Luboš Luňák
7f4ccc474c add more accessors to Sm*Node classes 2011-08-18 15:33:49 +02:00
Luboš Luňák
b9aa0c02d9 const 2011-08-18 15:33:49 +02:00
Luboš Luňák
4ded3c11bb implement root support for ooxml math export 2011-08-18 15:33:49 +02:00
Luboš Luňák
c070a4d86a certain SmNode children actually can be NULL
but such (optional) sub-nodes should be handled explicitly when
handling the node (e.g. optional subscript)
2011-08-18 15:33:48 +02:00
Luboš Luňák
283fba0995 explicitly do nothing about formula placeholders for ooxml export 2011-08-18 15:33:48 +02:00
Luboš Luňák
a169d1cec1 cleanups for ooxml math export
HandleNodes() -> HandleNode(), as it just handle the one node
 (and children recursively)
add HandleAllSubNodes() to handle all children of a node
there seem to be no point in checking GetSubNode() for NULL, as it
 seems it can't be so
2011-08-18 15:33:48 +02:00