Commit graph

340495 commits

Author SHA1 Message Date
Michael Meeks
59197dea29 Targetted text updates, with seasonable changes before l10n freeze.
Change-Id: If37ef9f68711da3a0aa9a3ba59b111a8a23421df
2013-12-13 17:00:07 +00:00
Miklos Vajna
984c3b733f Factor out DocxSdrExport from DocxAttributeOutput
DocxAttributeOutput is getting huge, and the drawing-related
functionality is an obvious subset the can be separated from the rest of
the calls. Move most of that into the new DocxSdrExport.

Change-Id: I6e5c750e2bef07730c97fd018f042883721ac410
2013-12-13 17:44:56 +01:00
Jan Holesovsky
cabd8725db startcenter: Move the 'Create' under the separator & add a colon.
Change-Id: Ie8a1ce8628fa0f31ae6d6a3f1303342c145e33aa
2013-12-13 17:41:04 +01:00
Jan Holesovsky
919c5e4bbe datastreams: Improve usability of the dialog.
Change-Id: I6b3f9316c3eb907912aeff1715705a95bbbf547c
2013-12-13 17:12:28 +01:00
Michael Stahl
d785fa16fd warning C4701: potentially uninitialized local variable
Change-Id: I05c5eaf4575dc4b8c8d4e3c45d644a51aab84f0a
2013-12-13 17:07:43 +01:00
Stephan Bergmann
a4ed79bbf6 Shortcut common case of calling same-env component_getFactory fn
Change-Id: I7f5d31c3b3e128b2df4d83c915673bf7b5d2ab8c
2013-12-13 16:18:52 +01:00
Stephan Bergmann
d203855908 assert non-nullness
dd0990db74 "fdo#72463 RowSet: on execute when not
dirty, rebuild cache" had temporarily introduced a bug that caused m_pParseTree
to be null here during JunitTest_dbaccess_unoapi, but Lionel states that it
cannot legitimately be null, even though the computation of m_bIsCount in the
ctor takes potentially null m_pParseTree into account.

Change-Id: If95f076a4c80f80cd58bba83521633fe8bb71f5d
2013-12-13 15:40:18 +01:00
Kohei Yoshida
6df78d1a4c fdo#70989: Change wording from "Output Range" to "Results to".
To avoid the impression that this reference box takes a range...

Change-Id: I3a69cf496f013779692c17fb943dcc34a1692275
2013-12-13 09:23:10 -05:00
Stephan Bergmann
2f7b329297 [API CHANGE] remove cppu::loadSharedLibComponentFactory w/ rPrefix again
...it was never meant to be called by client code anyway and is no longer needed
to be exposed since the global service manager implementation moved to
cppuhelper.

Change-Id: If2d0510b2364084d36edeb156a3459d9b8aeb983
2013-12-13 15:13:57 +01:00
Miklos Vajna
445d3d8484 drawingml export: handle child shapes when exporting groupshapes
Change-Id: I4ed800ad17750c87788108417c8a7b1817853115
2013-12-13 15:11:20 +01:00
Winfried Donkers
d1e1cd128c remove unused code (ancient Calc function ZELLERROR)
code has no function, except that calc documents with formula
ZELLERROR will not produce an error. But the formula is not
interpreted, so remains 'dead code'.

Change-Id: I6e7df7040a0273bcd3ebd497055924b7afdd3311
Reviewed-on: https://gerrit.libreoffice.org/7018
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2013-12-13 14:09:18 +00:00
Noel Power
1b3f3ce53a Revert "Always disable anti-aliasing for drawing cell borders." fdo#60805
Unfortunately this patch creates a very weird ( and took me forever to find
) bug ( fdo#60805 ). Basically certain double line borders seems to
dissappear at certain zoom levels. I guess maybe its possible to tweak
the create2DDecomposition to process the line as hairline at those problematic
zoom levels ( but I suspect that actually would look worse ) Best maybe
would be to tweak the rendering/painting ( but isn't that processor specific
maybe ? ) as is maybe this problem. I admit this is outside my comfort zone :/

This reverts commit a551cad4e3.

Change-Id: Idb25493ffb038cb1f8ae9b364a29052abafd940d
2013-12-13 08:59:18 -05:00
Michael Meeks
8949d6f32a graphite2: get visibility right for static linkage on windows.
Change-Id: I79fa15d539bcb86610dd4def08536c33bd2a10c2
2013-12-13 13:20:10 +00:00
Lionel Elie Mamane
d87c2c59c9 sdbc file driver (Prepared)Statement: created ResultSet owned by *caller*
That is the only choice that makes sense, since the
(Prepared)Statement could die (go out of scope) before the ResultSet.
User code could do that, if it does not "need" the (Prepared)Statement
anymore. Also, it is only natural for user code to dispose a ResultSet
that it does not need anymore.

So we need to create a fresh ResultSet each time.

The "luck" here is that the sdbc file driver does not implement
the XMultipleResults interface; things get more hairy then.

Change-Id: Ibf2cb5e5b7ca90432a289c185a6b4fe32d1ba565
2013-12-13 13:50:59 +01:00
Rohit Deshmukh
29c079f048 fdo#71594: Fix for LO crash while saving of file.
1] Libreoffice gets crashed while saving.

    2] This caused:
        "testCrashWhileSave.docx" file crashes on save
         Tested on Libreoffice 4.2

    Implementation:
    1] It crashes when we are trying to access cell number 2 from
       cells vector which contains only single cell. So put check
       for cell number which we are accessing and Number of cells
       in single row.
    2] As we are exporting Header and footer in between when we are
       exporting document.xml. In this case we are facing issue in
       table export for header and footer. Because flags for table
       is getting shared in both export.
       So we are switching between flags in between exporting
       "document.xml" and Header & footer
       export.

    After fix:
    1] No crash on save for "testCrashWhileSave.docx" and
       opens successfully on MS Office 2010
       Added Unit test case in export.

Conflicts:
	sw/qa/extras/ooxmlexport/ooxmlexport.cxx
Reviewed on:
	https://gerrit.libreoffice.org/6676

Change-Id: Iefbf565f7b512d76ac68e9353e225edca425ef06
2013-12-13 13:49:14 +01:00
Caolán McNamara
0b9644e244 this NULL check, leak and copy ctor all look a bit addled
Change-Id: I5a4f80e1f6b4cc834c921d4c4780989c90cbefe2
2013-12-13 12:17:50 +00:00
Jan Holesovsky
dd7a3f5fb8 startcenter: Tooltip should show the full URL.
Change-Id: Ia8e071ebe00fb8c72973614077e778aef55fb1ab
2013-12-13 13:01:30 +01:00
Jan Holesovsky
f655b23d57 startcenter: Implement mouse over effect.
Change-Id: I9beea6119dbb1c12ff053e5776f15d40a3389a8b
2013-12-13 13:01:29 +01:00
Jan Holesovsky
b475a895c0 fdo#72650: Get thumbnails only from the local documents.
No point in connecting to eg. ftp to get a thumbnail ;-)

Change-Id: I017c59196c294242366f2254eeacd9056455c1bc
2013-12-13 13:01:29 +01:00
Jan Holesovsky
4c8bfd06a6 Small cleanup of initialization.
Change-Id: I62c0479414ab6748039498e1bc2b3bc9d7c4ef05
2013-12-13 13:01:29 +01:00
Jan Holesovsky
004b403d75 startcenter: Full thumbnail size (256px), upscale if necessary.
Change-Id: I8ae72249853a03b1dfca0ecd10eef47e9aa7cbfe
2013-12-13 13:01:28 +01:00
Jan Holesovsky
203d1a6ca9 startcenter: Make the default icons appear as on a piece of paper.
So that the frame around the picture is similar to the previews; otherwise
looks disturbing.

Change-Id: Ie7f973e15c29a34c0f368b5e0f5a152d5cead39f
2013-12-13 13:01:28 +01:00
Jan Holesovsky
862eefa76b startcenter: Bigger & nicer document icons for recent documents.
Change-Id: If61aefc1d27d7bca2e8242b404db685a503bcf0e
2013-12-13 13:01:28 +01:00
Jan Holesovsky
2cb703067b template view: Simplify code.
Change-Id: I48fc6fa86a9953db87e59a83714d4d7b0ff8d64a
2013-12-13 13:01:27 +01:00
Jan Holesovsky
f57be7e4c1 Expert config: 6px between lines + center the button.
Change-Id: I91899493479eb60c955dac3891a38913ad871376
2013-12-13 13:01:27 +01:00
Jan Holesovsky
0ef9ed2628 Expert config: Introduce configuration key to disable expert config.
It is /org.openoffice.Office.Common/Security/EnableExpertConfiguration with
values true/false; defaults to true.

Change-Id: I5a18d16182c28a13169677b11f68884f34c11c63
2013-12-13 13:01:27 +01:00
Jan Holesovsky
cb800415f6 startcenter: Smaller frame around the entire start center area (6 -> 1px).
Based on Mirek's suggestion; looks better.

Change-Id: I3468450ee4c8ba27cd26a40c7ed11f0b4df9c42d
2013-12-13 13:01:26 +01:00
Miklos Vajna
15b737c5c9 EscherGraphicProvider::GetBlibID: raw number is Sun bugtracker, use fdo prefix
Change-Id: I1ecd3b9c74fb973769036defba96d73c5995175f
2013-12-13 12:53:20 +01:00
Nikhil Walvekar
8fe352be80 fdo#65836 Do not compress WMF / EMF file incase of OOXML export
Change-Id: Ic498e5703ab48719f998be6da3f245843cc0979d
Reviewed-on: https://gerrit.libreoffice.org/6849
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-12-13 11:49:35 +00:00
Stephan Bergmann
5ee74052ed Clarify cppuhelper/shlib.hxx should never have gone into URE interface
Change-Id: I44415f976a47bf676ab8c2f309590eb2c8afb6ce
2013-12-13 12:37:32 +01:00
YogeshBharate
0f6240fa92 fdo#71785: File hangs LibreOffice on Save
Problem Description: While saving the file LO shows the error
"This file could not be save".
The root cause was memory leak.

Conflicts:
	sw/qa/extras/ooxmlexport/ooxmlexport.cxx
Reviewed on:
	https://gerrit.libreoffice.org/6850

Change-Id: Iacc185780c14760056a7d690eb113d4dde1de034
2013-12-13 12:09:50 +01:00
Tor Lillqvist
f658b7dfd6 WaE: unused variable 'sStylesWithEffects' [loplugin]
Change-Id: Id9b3d81482104e9e78b986c9a78704b01cd0fba2
2013-12-13 12:37:37 +02:00
Tor Lillqvist
654f3902b5 Use proper logging tag
Change-Id: I5fcac443a0b243814a8e5d3075ed4b484e977bec
2013-12-13 12:37:06 +02:00
Tor Lillqvist
61492fadb6 WaE: field 'mxImpl' will be initialized after field 'mnPreviousSelectionCount'
Change-Id: I7d6facb76317d8e7de3adbafdf3763f37c1b0837
2013-12-13 12:30:32 +02:00
Tor Lillqvist
8db5c8c080 WaE: statement aligned ... [loplugin]
Either missing braces around the else branch, or inconsistent indentation. I
guessed it was the former and added braces.

Change-Id: Ic5e7db892774d48ba6db09a40741e5fbbdc95994
2013-12-13 12:20:27 +02:00
Rohit Deshmukh
88b9e7f391 fdo#71786 : Implemented Glossary folder
1. Glosary folder is imported as Intrograb and exported.
   2. Added unit test case

Reviewed on:
	https://gerrit.libreoffice.org/6825

Conflicts:
	sw/qa/extras/ooxmlexport/ooxmlexport.cxx
	writerfilter/source/filter/ImportFilter.cxx

Change-Id: Ifd51a75a65e030d44d30e02cd7ab51fb088186b3
2013-12-13 11:19:42 +01:00
Steve Yin
e9c08cfed4 fixes for issues checked out by coverity
(cherry picked from commit 6f53c4f2f46691d41ccf2c2a99ae40105606e489)

Change-Id: I76e21409fee4f39bd6f048636e4fbc392807a486
2013-12-13 10:09:44 +00:00
Caolán McNamara
e3853a1abc Resolves: fdo#71192 options->appearence isn't all the same color
Change-Id: I8beaf1f4a1ea685af22ae0dafbff767bee98d3b4
2013-12-13 10:05:37 +00:00
Sushil Shinde
c42c57e665 fdo#70338 : Fixed file corruption issue after save for docx.
- File was giving corruption message if saved in LO.
    - Issue due to video file.
    - Attached file contain .mov which was not handled properly.
    - Added mov extension support in graphic filter.

Reviewed on:
	https://gerrit.libreoffice.org/6818

Change-Id: Ia278127ddc4afcd2d5fe04e86ed6201fb28dc04f
2013-12-13 10:59:37 +01:00
Tor Lillqvist
dcdf3cd198 Bin unused or duplicate forward class declarations
Change-Id: Ic6fbb345e333d67f967a3ea09a5a90ecef910040
2013-12-13 11:56:05 +02:00
Tor Lillqvist
b677fa9d48 UNOWindowData has been dead since the year 2000 at least
Change-Id: I8d3079f5b508008a4c25a4baa604fc89c81aab33
2013-12-13 11:56:05 +02:00
Stephan Bergmann
8407174c8b Missing "boost_headers"
Change-Id: I4ce444b14bd4667ce4c823fe70e0b79e562999aa
2013-12-13 10:55:03 +01:00
Cédric Bosdonnat
a68e0e334d Fixed the update to working copy and back after (cancel) checkout: fdo#64533
After Checkout, simply set medium name and update the medium: at least
we are sure it works in more situations than the other function we used.

After cancel checkout, call SID_RELOAD to actually revert any local
change.

Change-Id: I3dc296a74726770c4f47d9653c382108f7baccad
2013-12-13 10:43:50 +01:00
Jelle van der Waa
c69b6417af fdo#72598 Remove SunStudio cruft from code base
Change-Id: Ia6799c852eb95d496fbc8dcfdabde62dffc263a6
Reviewed-on: https://gerrit.libreoffice.org/7066
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2013-12-13 09:07:07 +00:00
David Tardon
af8191d2fa do not download html files from moz bz
Change-Id: I18519dd8ad0bdaac55a1d5bccdc30b943d717c9c
2013-12-13 09:34:57 +01:00
David Tardon
735dc598cd handle Keynote package format too
Change-Id: I3023bcba0a3d3bd83aca56e4ef72a892da5b55cf
2013-12-13 09:30:30 +01:00
Tor Lillqvist
98bda6b40e Follow header guard convention
Change-Id: I4cf80fb61fd63b10e241154785ae872c6b75eaf7
2013-12-13 10:29:28 +02:00
Tor Lillqvist
49ce8c126c WaE: variable 'itResEnd' set but not used
Change-Id: I6594472b1e93c083fdc52133a6b120c031dff64a
2013-12-13 09:50:52 +02:00
Takeshi Abe
ed22381566 Drop duplicate #include
Change-Id: I63612bc5bd4e13fcc5c4e57ac73bd9c7bbf4f0e6
2013-12-13 12:52:20 +09:00
Kohei Yoshida
b578d23d31 Fix performance regression from ScMatrix conversion to multi_type_matrix. 2013-12-12 19:33:42 -05:00