Commit Graph

28 Commits

Author SHA1 Message Date
c0654ce022 fdo#46808, Convert XMultiServiceFactory in filter module
Change-Id: I9dcddba4f5a8a7adeddc31b5df014b0174b9745d
2013-06-05 08:13:22 +02:00
72e5d0c8fb Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-30 13:34:06 +01:00
1472c5ed16 add filter libs to libmerged
Change-Id: I1891d1499aae87a87436bc9aaf4f70203dfbb585
2013-04-14 18:50:23 -04:00
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).

Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
8b27d78b4a automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings
Done with a perl regex:

s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms

Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec
Reviewed-on: https://gerrit.libreoffice.org/2832
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19 09:00:26 +00:00
b1959dbfad Remove unused cppuhelper/servicefactory.hxx includes
Change-Id: I27fd4d1f1dfafccaa7936defb5cd687d6266e0a2
2012-12-21 15:56:44 +01:00
fb741b5e1e fdo#46808, Adapt xml::sax::XWriter UNO service to new style
Create a merged XWriter interface for the service.
The xml.sax.Writer service already existed, it just did not have
an IDL file.

Change-Id: I4e6d3f3c68f9282a55fc7aa19778f97632fd8ad5
2012-10-22 17:01:11 +02:00
a20f9a410f fdo#46808, Adapt xml::sax::XParser UNO service to new style
The xml.sax.Parser service already existed, it just did not have
a new-style service to create it.

Change-Id: I6f145a7504ff9e149c802f723991954a2801cbc9
2012-10-04 16:29:53 +02:00
743f22045c Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 15:07:41 +02:00
e7e0455b02 Prefer equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("...")) to equalsAscii("...") 2012-02-10 01:59:26 +09:00
75b835c8cd catch exception by constant reference 2011-12-12 10:05:25 +09:00
1efeb447ec remove include of pch header from filter 2011-11-27 13:09:10 -06:00
51798a4ecf do not use _COMPHELPER_COMPONENT_GETFACTORY macro 2011-10-08 15:31:41 +02:00
94883340a9 filter: convert odfflatxml library 2011-09-15 14:07:29 +02:00
a9137707c4 Remove component_getImplementationEnvironment 2011-07-12 17:58:59 +02:00
eaa8e50b62 fix odfflatxml export broken after merge 2011-03-25 22:28:52 +00:00
62abc84216 Merge remote-tracking branch 'origin/integration/dev300_m101'
Conflicts:
	binfilter/bf_forms/source/component/forms_Filter.cxx
	binfilter/bf_sw/source/core/inc/node2lay.hxx
	binfilter/bf_sw/source/filter/xml/sw_swxml.cxx
	binfilter/inc/bf_sw/swdbtoolsclient.hxx
	filter/source/xsltdialog/xmlfileview.cxx
	oox/source/ole/axcontrol.cxx
	oox/source/vml/vmlformatting.cxx
	oox/source/xls/autofiltercontext.cxx
	oox/source/xls/externallinkfragment.cxx
	oox/source/xls/formulaparser.cxx
	oox/source/xls/pivotcachebuffer.cxx
	oox/source/xls/pivotcachefragment.cxx
	oox/source/xls/sheetdatacontext.cxx
	writerfilter/source/dmapper/GraphicImport.cxx
	writerfilter/source/dmapper/SettingsTable.cxx
	writerfilter/source/ooxml/model.xml
2011-03-18 15:38:26 +01:00
cef1ab56b2 fix mis-merge (mostly tools type remnants) 2011-03-13 01:33:54 -06:00
3647031a27 Use getStr() on OString 2011-03-12 14:12:37 +01:00
4e7b12c7c2 Move OSL_ENSURE(0,...) to OSL_FAIL(...) 2011-03-12 14:12:37 +01:00
ccd695070e Include precompiled_filter.hxx 2011-02-21 23:03:54 +02:00
d6c923033f Simplified implementation of the flat xml import/export.
It still lacks the line-wrapping provided by the xslt script
"split-long-lines.xsl", will be provided later.
2011-02-03 17:45:30 +01:00
4dd5c0b6b7 Replace suitable equalsAscii calls with equalsAsciiL.
Done with sed -i 's%\(\.equalsAscii\)(\(\s\?"[^"]\+"\)\(\s\?\))%\1L(\3RTL_CONSTASCII_STRINGPARAM(\2\3)\3)%g'.
2011-01-20 11:31:12 +01:00
81bcda01f3 Add alternative implementation of flat xml filter w/o xslt.
This filter implementation is directly based on
XmlFilterAdaptor and simply dumps the SAX events
provided by the XmlFilterAdaptor to an outputstream.
It currently still lacks the advanced pretty printing
available through split-long-lines.xsl in the xslt based
flat xml filter.
2011-01-11 15:16:50 +00:00
c17e41b2aa Unification of <text:p> and <text:span> code paths 2010-11-25 12:47:35 +00:00
30bd5fb0d6 Also split <text:span> elements 2010-11-25 12:47:35 +00:00
14a95f1a8b Split long paragraphs inside flat ODT files
Flat ODT files usually contain very long paragraphs. As each `<text:p>`
is put on its own line, these `.fodt` files end up containing very
long lines. Long lines in XML files cause problems when using flat ODT
files in text-oriented SCM systems like git or when opening these files
in XML editors.

A very simple yet XML-compliant approach to make these lines shorter is
to, during the XML serialization, output a newline instead of a space
every N spaces (only inside paragraphs, if you want to be conservative).
Files created using this method are, from an XML point of view,
equivalent to the currently created `.fodt` files. Their files size
is also identical.
2010-11-25 12:47:35 +00:00
210b303ab4 oops, move files actually into filters/... 2010-09-30 23:57:05 +02:00