Commit Graph

257 Commits

Author SHA1 Message Date
d526091eb1 WRITER_DEBUG_MSG -> SAL_[INFO/WARN]
Change-Id: I8bdcc273b50e35dbbb0e34183a465e370cc5b22c
2013-05-06 14:51:23 +02:00
93848e11ec Splitting writerperfect into serializer and libodfgen
Change-Id: I69f12fb097dbc977e63463b6b764a3553bcf9271
2013-05-02 20:26:23 +02:00
e1ffd555b5 simplify writerperfect structure and prepare for libodfgen
Change-Id: Ib2e56280a5a6bfdfee18a5b213dd67b9fbfc8949
2013-05-02 15:12:00 +02:00
9d5276b3fb PImpl the WPXSvInputStream class
Change-Id: I11a3d663e2f5a8f68edd66b7ba2af15cc57287a9
2013-04-18 11:44:29 +02:00
5a88a8193a HanMac J import is really really initial :)
Change-Id: I86e450326e5a0ae5499ec2f4ebdc5bcb9ca68390
2013-03-27 11:43:13 +01:00
aa753f01ba -Wunused-macros
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-27 09:36:53 +01:00
2b28b922e1 Some fixes for mwaw-based filters
Change-Id: Ibb517b9a4690f20baa423472c001314a4d4c43f7
2013-03-26 08:44:52 +01:00
3dfff2ea46 ::rtl::OUString -> OUString in writerperfect
Change-Id: I2d0f8868779e5ac4a802f3f061704d2de5826c5d
2013-03-19 10:04:41 +01:00
82b6c4884d Add typedetection and configuration for MWAW based filters
Change-Id: Icf489a49c547a93458aeef1c70ba699181a47c38
2013-03-15 11:02:24 +01:00
2968fbc470 spurious warning C4701: potentially uninitialized local variable
Change-Id: I6da0eb82ad6175e8b7eb70affa5f7cf0b05252f7
2013-03-14 17:48:14 +01:00
23a2f5fce5 First step for a MWAWImportFilter
Change-Id: I03f48d26a4bafcd82cb96b1b90a7f49f3ea433ce
2013-03-14 16:07:19 +01:00
6874c25f98 Improve lists generation
Change-Id: Ie910ecb8db1d33c41f450e6c9f297138aa821eee
2013-03-11 08:50:11 +01:00
d242c4a441 Support some new parameters
Change-Id: I22857f57822bff39ef5fcd576bd29e374f1aa819
2013-03-11 08:50:11 +01:00
a6b9173005 fdo#60148 Clean up warnings from the Clang compiler plugin
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671
loplugin: clean warnings: unused variables, incorrect indentation and log area.
Reviewed-on: https://gerrit.libreoffice.org/2544
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2013-03-06 12:59:26 +00:00
41e03a166e doubled using
Change-Id: Ib1d3213a688194bfb027b7bca5bd9ac1b7bb1b28
2013-03-05 12:34:33 +01:00
9cae1dc531 Oops
Change-Id: I4ccf42a703cce56b32fc38f0caa068c19bf2a5f0
2013-03-04 10:00:33 +01:00
328adfb538 Save some getLength calls
Change-Id: I4103a338e487ee29da6ac056215c4fa0a244fa65
2013-03-04 10:00:33 +01:00
f5ca04caca Related to fdo#60724: correct spelling
Using the autocorrect list of LibreOffice
extras/source/autotext/lang/en-US/acor/DocumentList.xml

Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657
Script: http://pastebin.ca/2327716
2013-03-03 17:14:16 +01:00
919e277466 loplugin: unused variables and commented code
Change-Id: I01f1f1d112767b576d7cfc6e25fe95385de2c0cf
2013-03-03 11:48:02 +01:00
866ebf66b3 Simplify a bit the boilerplate code
The XInputStream is guaranteed to be there always
and if it is not there, do not try to create it.

Change-Id: Ie133489dfcb3d9cec0c4efe78740348a1efa2423
2013-03-01 23:03:16 +01:00
ea4581a914 We need to escape special characters in slide names 2013-02-22 10:11:17 +01:00
bee8ed6772 Allow specifying of page names 2013-02-19 16:48:51 +01:00
bf46dfdb45 coverity#983356 ressource leak
Change-Id: Idcc2d548363ddab04dd8acaa1dfb854a19ca47ef
Reviewed-on: https://gerrit.libreoffice.org/2200
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-02-19 15:06:39 +00:00
f3929090a0 Writerperfect: Improve list code
Change-Id: I21fc40a0cb16e4f8295477cc2db50a58bc7287ea
2013-02-18 13:20:53 +01:00
fd773e669a clean-up a lone lost 'String' in writerperfect
Change-Id: I848ac4d934ffde0ae9c4b8b674fcb46c7bd17769
2012-11-28 01:32:06 -06:00
d540c322cc Remove more useless code inside "#if 0" blocks
Change-Id: Ifb9f9d2211608b848a5de66e1d19c4815a755907
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/840
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2012-10-08 21:27:01 +00:00
bb88392502 The upcoming libwpd 0.9.5 has also WPX_SEEK_END seek type
Change-Id: I7be3b67c797a728b5c72e957c67e3f864072addc
2012-09-23 14:42:59 +02:00
9ac86f484b Improvement on previous commit, UCB clean up
* As UCB is only ever initialized with "Local"/"Office", remove this
  configuration vector completely.  The "create" ctor creates an instance
  internally initialized with those "Local"/"Office" keys.  Special (test) code
  can still instantiate an uninitialized one via plain createInstance.  And for
  backwards compatilibity process startup still ensures to create an initialized
  instance early, in case there is still code out there (in extensions) that
  later calls plain createInstance and expects to get the already-initialized
  (single) instance.

* XInitialization is an "implementation detail" of the UniversalContentBroker
  service, do not expose in XUniversalContentBroker.

* ucbhelper/configurationkeys.hxx is no longer needed and is removed.

* ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that
  requires ucbhelper::Content constructors to take explicit XComponentContext
  arguments now.

* The only remaining code in ucbhelper/source/client/contentbroker.cxx is
  Android-only InitUCBHelper.  Is that relevant still?

Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
2012-09-14 18:24:49 +02:00
c578ed5361 No explicit rtl::OUString ctors needed, sberg dixit
Change-Id: I0b675213064a10cebfdea1fb99573dcf3e34284b
2012-09-03 16:36:52 +02:00
68628d84ad -Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: If844f74e5077d841606f306e48c2e687440fdcdd
2012-08-31 09:04:15 +02:00
7afb1fffef Iterate the utf8 correctly + handle tabs too
Change-Id: Ie6a4750ebd04e3b1ed8ad0985e141b6ff2e65e98
2012-08-23 14:17:02 +02:00
8a274f73a2 Move writerperfect newline-handling logic to OdgGenerator::insertText
Change-Id: I6d954ac1233f98a3744449555043e8f82a1d2083
2012-08-23 14:17:01 +02:00
6a92b406b0 Fix writerperfect ignoring newlines.
Change-Id: Ib737a7d0ba833bcdc1e284890c62c9cf187d6b61
2012-08-21 12:24:28 +02:00
1386ccc8ed Pass rgb/contrast/brightness filters through writerperfect to ODG
Change-Id: I2881e1b3439e52c1008d9d50d00c897ddc81071f
2012-08-07 09:45:22 -07:00
14ca2a853c Bin RTL_CONSTASCII_USTRINGPARAM
Change-Id: Idba2f900f962da57f9e9254b71b68f9b64f6ba6c
2012-07-06 00:37:01 +02:00
ce1c1e84b3 audit and re-license writerperfect.
Written entirely by non-Oracle contributors to LibreOffice.

Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2012-07-05 18:27:02 +02:00
0be0cc0e50 Targeted cleanup of namespaces
Change-Id: I9e3449b44ff47f77f72da398c4f651519b824bfd
2012-07-04 22:43:33 +02:00
7989bba5b6 No need to suppress warnings anymore
The corresponding classes in libwpd-0.9.x have virtual destructor
if they have virtual functions.

Change-Id: Ibf97b45e7ce7d5949ac8bea0a8c204b548f567e4
2012-07-04 21:01:15 +02:00
00c9394baf re-base on ALv2 code. 2012-07-04 12:14:59 +01:00
d57d3c3454 removed unnecessary forward declarations of class
Change-Id: Id08393f66797ef1c4378c8f3549d0900d4f1c7ec
2012-06-26 22:48:49 +09:00
dc4b91d310 Adding Microsoft Publisher Import filter
Change-Id: Iec9c9c5419a40e7ad64af057f1bbb426ca3163b0
2012-06-05 14:04:07 +02:00
159435291b targeted string re-work
Change-Id: I2c166c63e9d2ab7d60bb404f643045678ef239a2
2012-06-01 15:46:46 -05:00
6c1107ad8f Handle opacity in gradients
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2012-05-30 09:48:07 +02:00
87ccec22b1 Trying to wrap the tools references inside a struct
Change-Id: Ie4d9a1d2c131f14928d7cc47f1b6314cf7e7f41d
2012-05-25 16:47:23 +02:00
090068a41f Revert "Blind Hail Mary trying to solve tinderbox breakages"
This reverts commit 70d473c07d79dc59a69f6cc725c026eacdc12c2a.
2012-05-25 16:10:07 +02:00
70d473c07d Blind Hail Mary trying to solve tinderbox breakages
Change-Id: Ic69195e2ae991cf837c3dcfb086d9834f99b2d40
2012-05-25 15:22:52 +02:00
c7e71b31bd Don't get out of bonds
Change-Id: Ifd743fe59d468b3d89c95f4963a038068cf34629
2012-05-25 12:55:42 +02:00
02c61b924d Allow WPXSvStream to read stream in a hierarchy of substorages
Change-Id: I8f9726e3e93a16d59f0e3c24783a98f4b9edd692
2012-05-25 12:23:07 +02:00
27482e865d Add possibility of generating foot/endnotes with text labels 2012-05-07 11:01:08 +02:00
916b0a18ac Check for frame borders and frame background 2012-05-07 11:01:08 +02:00