Commit Graph

2724 Commits

Author SHA1 Message Date
d7fa9ca787 fdo#46808, Convert FrameLoaderFactory and ContentHandlerFactory to new style
by creating a common service interface for them to implement

Change-Id: Icec85c55ed0ac13a6c785fdad6b0cd9c11878ba5
2013-06-03 10:00:00 +02:00
660b67a413 fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFO
- replaced RTL_CONTEXT_ with SAL_INFO
- replace OSL_* with SAL_*

Change-Id: Id4e90b83a7275bfd30914f7514a609cebbfbf4ac
Reviewed-on: https://gerrit.libreoffice.org/4044
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-05-31 18:08:02 +00:00
cb6d67c21f Spelling "separate" (etc) correctly is hard 2013-05-15 11:14:28 +03:00
86f4856c78 Quiet cppcheck + simplify/optimize a bit
Change-Id: Ibb89a7e5b2889ae996684bf4d7664d1fd0cea8ba
2013-05-12 13:45:33 +02:00
e527a34005 Java cleanup, convert more Vector to ArrayList
Change-Id: Icb807382eaf50f515f2c9dfada0c061414baed33
2013-05-06 11:45:51 +02:00
bda4c6ab5d resurrect Macromedia Flash export dialog
This has never been enabled during the open source history of
openoffice.org . Yet we have been building the code and the resource
file for it. Should I be surprised?

Change-Id: Iba8262f125d0ea3a35fa7f256a3cdbd353e598bc
2013-05-05 09:32:33 +02:00
1264480bc3 fdo#60724 correct spelling
Change-Id: I3d978cb657647b4a4e9709258c6a6a4ac1d339a9
2013-04-15 05:39:31 +02:00
435f5e30c9 fdo#60724 correct spelling
Change-Id: I7318a9f4f3410edf4dbe67bf08f31682fcb4edc7
2013-04-15 05:10:29 +02:00
60fbefc615 fdo#60724 informations -> information
Change-Id: Ifd34ebfc7fe01b4a470eb072597dd3ec97c97863
2013-04-15 04:49:39 +02: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
876c619b94 new module i18nlangtag
Moved portions from module i18npool, all of former i18nisolang1 library
that now is i18nlangtag. Included are languagetag, isolang and mslangid.

This i18nlangtag code is now even used by module comphelper, so
disentangling i18npool and making this an own module was needed to not
create circular module dependencies.

Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-05 19:10:48 +02:00
43d426aca1 Some cleanup in xcu files
"x-translate" entries are unused so remove them.
SFX.xcu: All entry use the same value, it is useless
to add this for all language. It's enough to add an
"en-US" entry and all local will use it's value.

Change-Id: I88d807a092f11d057ed6ee8809eb5d6851e87f95
2013-04-02 22:10:00 +02:00
876cb832e2 unused comphelper/locale.hxx
Change-Id: I7f554c04b7697bc847dc44b88dfec8eab63941f6
2013-03-28 01:39:09 +01:00
66a63c1608 use LanguageTag instead of comphelper::Locale
Change-Id: I628c7fdd9e14c8fdd55800aa470268abf4ed2632
2013-03-28 01:39:07 +01:00
3a550b773d Fixing a mistake from yesterday
Change-Id: I923bb9ef647034254702003c89062c8f9e5a71fa
2013-03-27 10:09:07 +01:00
2b28b922e1 Some fixes for mwaw-based filters
Change-Id: Ibb517b9a4690f20baa423472c001314a4d4c43f7
2013-03-26 08:44:52 +01:00
6a6519c27a Export current Writer page as jpg/png
This is first step to rework of graphic exporting. The idea is to
replace the exporter that works only for Draw/Impress and replace
it with a general exporter for any object. With this it will be
far easier to export objects as charts. Currently only Writer is
supported and only jpg/png.

Additionally, this commit introduces a new Export dialog which
supports setting the pixel width, height and DPI.

Change-Id: I7302b26bd432840d7ef0c3d2d2e13ff150cd2a07
2013-03-25 23:50:10 +01:00
905db14dbc Typo
Change-Id: I436be96082fee3a65610f8100279c0abd09603bf
2013-03-19 10:23:44 +01:00
e87a9f7854 These are the extensions mentioned on the Web :)
Change-Id: I1af6d1ed6b62611ff931f8b0dfa6409d73242fc9
2013-03-18 09:56:10 +01:00
9aab5054a1 Some real extension for MarinerWrite
Change-Id: I7b09694775bd07feb819bb3279171434216b1961
2013-03-18 09:44:22 +01:00
b21dc7ee54 Add "dummy" extension to these file-types
Change-Id: I167323cd6d64de92342041cab74977175d2bfe7c
2013-03-18 09:41:20 +01:00
f339e01a09 Use the typical extension and mimetype for Word for Mac
Change-Id: Ifb04233f6baf8020af558e32d7177ab16150e68d
2013-03-18 09:29:44 +01:00
85812be7a8 Add some extension and mimetype for Works for Mac
Change-Id: I3e43a176260cacdf931074536ebf1dfeebbcb574
2013-03-18 09:28:43 +01:00
e2c2ebfc0c Use MacWrite II pattern for MacWrite too
Change-Id: If39b002aa8b18fda1bc2d6723187336e1259d0d5
2013-03-18 09:25:03 +01:00
49afbfb0d0 Uncle Google speaks about this extension too
Change-Id: Ib757ea180fe570277d0cbe8a5ff4d6e30cce7cdb
2013-03-18 09:22:43 +01:00
b1fc129c6b Add extension and mimetype for MacWriteII and MacWrite Pro
Change-Id: I3aa14d26589e425078860ad59ed8a81659b83a61
2013-03-18 09:20:58 +01:00
9e09523660 Add extension and mimetype for ClarisWorks
Change-Id: I39829f443dae6f8e62a79c5d29d97ee8ef9542c1
2013-03-18 09:10:55 +01:00
abdba4ac6e Fix Python problem in pyAltFCFGMerge at least on OS X
AttributeError: 'NoneType' object has no attribute 'write' when trying
to print to stdout and sys.stdout has been set to None.

Change-Id: Icb571b9e910d4ec393dc1fd246f867c02d5ac8e5
2013-03-16 22:53:08 +02:00
4db62dfbce quiet FCFGMerge
Change-Id: I17a2f2fd51a06195af3b5b7325b3bad1129c01d2
2013-03-16 16:14:36 -04:00
004d75eb0c Update the version information
Change-Id: I3a3a8dbf5e15d3d3e882b1f7b9a17c6f985afd9c
2013-03-15 11:15:29 +01:00
82b6c4884d Add typedetection and configuration for MWAW based filters
Change-Id: Icf489a49c547a93458aeef1c70ba699181a47c38
2013-03-15 11:02:24 +01:00
ff98426745 initial work on an odc export
We can now export a chart to odc when we are in chart edit mode from
Calc. I need to add support for it to Writer and Impress as well.

We can already open these files but copy&paste from the opened file
fails. The next step is then to add a new menu entry
Insert->Object->Chart from file

Change-Id: I14d1702e79517e7319a1929de2be5501d375885d
2013-03-15 01:30:54 +01:00
08914f9a3a oops, path to FCFGMerge.cfg is hardcoded in the script
Change-Id: I87c5373748a03800a889eb29f1d203291dd87d85
2013-03-11 16:43:50 +01:00
dbcad280a8 Renamed the method to something more appropriate...
Change-Id: I4a0a6ab0998f41ce238d0570fba2133b79c8f19e
2013-03-07 01:44:47 -05:00
e4003b6706 Make check passes. Remove deep-only detection for real.
Now the type detection process is a lot more simpler.

Change-Id: I5a3a68afef8276a7f07be75c0b2db8151512b3fb
2013-03-07 01:44:47 -05:00
cdcd7b0898 Temporarily disable deep-only detection phase.
In theory we shouldn't have to do this any more now that we do test
against all possible format types in the first pass.  But let's test
if my theory is right...

Change-Id: I70d73a99aec56a66deaeb3f942fd2641a2cc7f48
2013-03-07 01:44:46 -05:00
7e314a8331 Some cleanup, comments, and re-organizing...
Change-Id: I5a614ae032149b755d609ff05b9ef2fdb842dadf
2013-03-07 01:44:46 -05:00
96c8251448 fdo#60562: List *all* format types that we support and rank them all properly.
I did my best to check each and every one of them and rank them to the
best of my ability.  Any mistakes are to be fixed as they are discovered.

Note that while working on this, I've noticed that we don't actually have
any real type detection codes for many of these format types, especially
the graphic file formats.  If we ever have trouble loading any file type,
check if it's caused by not having any detection code for it, and if so,
we should write one for that file type.  That said, my casual tests on
loading graphic files didn't cause any trouble.

Change-Id: I1398cbb72b2d4ccf75434a9aa0d2a5c5d17bdaad
2013-03-07 01:44:46 -05:00
1a3c7b84b7 Test all file format types regardless of document services.
The old type detection would only test file format types that are
relevant to the current document service.  But this would not work
if the user tries to open an Excel document whose name ends with a
non-default extension (such as .tmp) from Writer UI.

To amend this, we need to test all possible format types that are
supported by all our modules regardless of the current module, but
prioritize them per current module.

TODO: The above scenario doesn't work yet.  I still need to fix
the individual type detection services to get it to work.

Change-Id: I51dbdff28299aa64cedc6752b9ff82b96d5d79cf
2013-03-07 01:44:45 -05:00
74d68ec057 A little boolean cleanups etc.
Change-Id: I5a059f7799255262d46e5248813da4409eb83a9a
2013-03-07 01:44:45 -05: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
21e1e859a7 fdo#60724 change spelling error REMOVEABLE -> REMOVABLE
Only applies to PropertyAttribute::REMOVEABLE, and all instances in comments.
All other instances of the misspelling have remained the same.
Example: AF_REMOVEABLE

Change-Id: I391f4101bbc3e06689318235a37d616065bc1686
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-03-06 10:39:30 +01:00
a5783fe922 remove stale javafilters
Change-Id: Id0c413d64e6f6fa7ded3c5ff10e764bc2e40f006
2013-03-03 19:19:26 +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
db7a441342 Typo fix: informations -> information and a few other adjacent typos.
FDO:60724

Change-Id: I73ad9f1c37cbbcf28d996ed73c75cf09553e499b
Reviewed-on: https://gerrit.libreoffice.org/2479
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2013-03-02 02:45:55 +00:00
6e1323a876 fdo#60724: lintian typo fix: useful -> useful
Change-Id: I5635c3efaaa6bbe1c1e3ec41a502e203fe17e47c
2013-02-26 11:01:37 +01:00
4f4e4e40f5 loplugin: improve indentation
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
2013-02-25 17:59:40 +01:00
3a014901fd Fix typo seperated/separated
Change-Id: I133423de994b1befe246b6c921802428a3528202
2013-02-23 17:20:45 +01:00
1443a9f7ab [Uu]sefull -> [Uu]seful
Change-Id: I5dad83789ff9b6815561208679a5e19821041e1f
2013-02-22 11:12:33 +01:00
a3a93ad298 unlocalisable filter UINames
Change-Id: I6785329d718ef9a1196867d8fd7c318ec336b10c
2013-02-21 08:26:21 +01:00