Commit graph

4451 commits

Author SHA1 Message Date
Caolán McNamara
30c1a5f9fd callcatcher: unused methods 2011-08-05 10:02:30 +01:00
Kohei Yoshida
760589c835 Check if the XML stream contains '<?xml' at the beginning.
If not, we'll simply bail out.  Note that this will temporarily break
type detections for those esoteric, non-XML file format types that
incorrectly depended on the XML filter detect service to detect their
format types.  To make them work again, please write a different
detection service other than the css.comp.filters.XMLFilterDetect.
2011-08-03 21:14:37 -04:00
Caolán McNamara
fc0c96fb24 convert in one pass, rather than point by point 2011-08-02 11:06:46 +01:00
Caolán McNamara
819b2afc03 callcatcher: remove unused code 2011-08-02 11:06:46 +01:00
Kohei Yoshida
6a36a0fa74 Fixed messed up indentations. 2011-08-01 15:18:49 -04:00
Thomas Arnhold
7c09daf4ef Kill EDITDEBUG 2011-07-27 00:52:27 +02:00
Caolán McNamara
7a55d9f1f5 enforce checking the return value of these 2011-07-26 10:05:17 +01:00
Caolán McNamara
62ef715139 ByteString::CreateFromInt32->rtl::OStringBuffer::append 2011-07-26 10:05:17 +01:00
Caolán McNamara
b6ed25dd5d fix STRING->USTRING bug hidden behind ifdef 2011-07-26 10:05:16 +01:00
Caolán McNamara
8e17a413dc ByteString->rtl::OStringBuffer 2011-07-25 09:41:30 +01:00
Caolán McNamara
47f3f8c7e9 use good() instead of GetError() 2011-07-25 09:41:30 +01:00
Kohei Yoshida
2384b0e257 Pick the first PREFERRED IMPORT filter.
And prefer the calc_HTML_WebQuery filter over the old and unreliable
'HTML (StarCalc)' filter to import HTML files into Calc.  The web query
filter arranges the incoming data in a more tabular fashion, which
actually works better for Calc's sheet format.  Also, the current
filter matching algorithm actually relies on unpredictable random
selection since it iterates through the filters stored in *unordered*
map container and picking the first match.  Making use of the
PREFERRED flag in case of multiple qualifying filters for the given
type is much more tractable than the current scheme.
2011-07-22 10:43:59 -04:00
Tor Lillqvist
d90e0b5999 Generate correctly named import library for WNTGCC 2011-07-21 17:41:49 +03:00
Kohei Yoshida
c061e2785b Correctly detect documents with xlk extension as Excel binary.
XLK is an extension for Excel backup file automatically created by
Excel upon opening of a document. The content is still a normal Excel
file so why not detect it correctly.
2011-07-20 12:41:08 -04:00
Caolán McNamara
569f9330ec ByteString::CreateFromInt32->rtl::OString::valueOf 2011-07-19 22:05:27 +01:00
Marc-Andre Laverdiere
1fbbd61345 Fix for valgrind error in msdffimp.cxx
Error: Conditional jump or move depends on uninitialised value(s)
Fix: Ensure that nGroupShapeFlags is initialized in the constructor
Also cleaned up some duplicate variables
2011-07-19 10:00:49 +05:30
Caolán McNamara
65f4678f52 ByteString::CreateFromInt32->rtl::OString::valueOf and simplify 2011-07-18 01:14:54 +01:00
Caolán McNamara
619126f520 not going to get re-enabled, is it 2011-07-17 23:35:09 +01:00
Caolán McNamara
d68e0a4eaf these can be sal_uInt32, and pre-sanity-check massive allocs 2011-07-16 22:17:27 +01:00
Caolán McNamara
139f4852e9 add sylk extension and text/spreadsheet mimetype 2011-07-13 10:24:02 +01:00
Matúš Kukan
a9137707c4 Remove component_getImplementationEnvironment 2011-07-12 17:58:59 +02:00
Noel Power
92eafe7218 use oox filter for *all* control import 2011-07-12 10:07:52 +01:00
Caolán McNamara
fad50e6a8c check if seek succeeded 2011-07-12 08:51:45 +01:00
Caolán McNamara
6c4edabf3e avoid optimization turning into pessimisation for stupid strings 2011-07-11 22:00:13 +01:00
Caolán McNamara
205f453efe check if seek succeeds 2011-07-11 15:54:50 +01:00
Caolán McNamara
e888d7b692 check seeks for success against short reads 2011-07-11 11:41:50 +01:00
Caolán McNamara
e150c164e7 callcatcher: remove unused CreateCache_Impl 2011-07-11 09:03:54 +01:00
Marco Cecchetti
5e68d551d5 Implemented a new way for exporting and handling placeholder text elements 2011-07-11 09:57:18 +02:00
Marco Cecchetti
2cabcc1f62 Split the script in smaller pieces 2011-07-11 08:32:33 +02:00
Caolán McNamara
c139307b88 MSOffice 2003 xml format often uses class extensions 2011-07-08 10:43:38 +01:00
Joseph Powers
2b9617fcd0 Fix some ambiguous method errors.
My compiler couldn't determine which version of valueOf() to use.
GCC 4.0 on Mac OS 10.6.8
2011-07-07 22:43:03 -07:00
Marco Cecchetti
99f33e30dd Enhancing svg export
* Add support for exporting any subset of slides from an Impress
   presentation to a svg document
 * Adding support for exporting meta information (for each slide) on
   the master slide placeholders (slide number, date/time, footer).
 * Implemented a slide index. Supported browser Firefox 4.x, Chrome
   12.x.
 * Removed some dead source code; metadata info is generated before
   (shape, GDIMetaFile) map
 * Implemented a glyph workaround for Webkit based browsers.
 * Fixed the following bug: exporting a single slide is broken.
 * Updated to the latest version of the JavaScript based presentation
   engine.
 * GSoC midterm result
2011-07-08 05:43:23 +02:00
marc-andre@atc.tcs.com
4e3f2d9c80 Added pointer validations to avoid some edge-case documents crashing 2011-07-06 09:21:46 +01:00
Caolán McNamara
a353132241 Resolves: fdo#34023 apparent negative string length 2011-07-02 22:01:31 +01:00
Marco Cecchetti
d275bc903d svg export filter: added support for browsing slides
Cleaner svg, convert javascript to working state
2011-06-30 01:05:12 +02:00
Markus Mohrhard
5e137eb78c don't erase an entry in a vector and continue using the iterator 2011-06-22 01:37:13 +02:00
Julien Nabet
f58679159a Just 2 little fixes 2011-06-18 10:34:07 +02:00
Joseph Powers
6a7387935d Replace List with std::vector< PPTFieldEntry* > 2011-06-17 16:45:47 -07:00
Joseph Powers
16f4b0df1f Replace List with std::vector< EscherPersistEntry* > 2011-06-16 20:37:07 -07:00
Tor Lillqvist
b78b2cf6d2 Deliver also static libraries 2011-06-17 03:06:11 +03:00
Tor Lillqvist
c9e3885ea7 Use LIBXML_CFLAGS if SYSTEM_LIBXML 2011-06-17 03:05:26 +03:00
Joseph Powers
a07e97c48f Replace List with std::vector< EscherConnectorListEntry* > 2011-06-16 07:55:11 -07:00
Joseph Powers
bda04eda13 Convert List to std::vector< EscherShapeListEntry* > 2011-06-16 07:33:39 -07:00
Joseph Powers
20a81399c3 Fix a typo in my whitespace cleanup.
Sorry
2011-06-16 06:53:46 -07:00
Joseph Powers
be40f36d61 Remove unused enum entry (ESCHER_BlipFlagDontSave)
Actually this was mostly a whitespace cleanup.
2011-06-16 06:31:24 -07:00
Joseph Powers
5e62858281 Replace List with std::vector< SvxMSDffConnectorRule* > 2011-06-16 05:26:30 -07:00
Caolán McNamara
23726b1f0d Resolves: rhbz#713154 pdf export dialog too tall to fit on netbooks 2011-06-16 12:41:45 +01:00
Joseph Powers
f4fdd119a8 Whitespace cleanup 2011-06-15 21:04:09 -07:00
Joseph Powers
e7d4fe2dfa Replace List with std::vector< SdrObject* > 2011-06-14 05:31:54 -07:00
Fridrich Štrba
6fdbf0f98e Remove any mention of w4w whatsoever 2011-06-14 12:01:32 +02:00