340041 Commits

Author SHA1 Message Date
Tor Lillqvist
ef8c2098a8 Ignore also instdir_for_build and workdir_for_build
Change-Id: I2e6a26cd1e54ad28ec27f2205262413db039a136
2013-12-05 12:38:57 +02:00
Tor Lillqvist
4eaa08f1d4 Let's try to manage without building libcmis for iOS
libcmis needs curl and sice 618052e201318bcfba8a0fcdd29cf88eaa4a143e
we don't build that for iOS.

Change-Id: I78b5faa1a997a3e304cdbd80e254eab370caf552
2013-12-05 12:38:56 +02:00
Herbert Dürr
461e0f9eaf Resolves: #i123795# variable names should not confuse vcl...
Window and cocoa NSWindow types

VCL's Window type and Cocoa's NSWindow type are quite different.
Naming variables as if they were the same introduces gratuitous
complexity especially when debugging stacks where both types are used.
The names of NSView type variables have been adjusted too.

(cherry picked from commit 5e6120c21a979c05bc6b9297035e31a47b98b785)

Conflicts:
	vcl/aqua/source/app/vclnsapp.mm
	vcl/aqua/source/gdi/salgdi.cxx
	vcl/aqua/source/gdi/salgdiutils.cxx
	vcl/aqua/source/window/salframe.cxx
	vcl/aqua/source/window/salobj.cxx
	vcl/inc/vcl/sysdata.hxx
	vcl/source/window/syschild.cxx
	vcl/source/window/window.cxx

Change-Id: Ic4143dfddfa9502a529c871ac4ce0bea413b6ce9
2013-12-05 10:36:14 +00:00
Jürgen Schmidt
78ed89cebb Resolves: #i123789# ppt import, if sub address is not document...
internal link, take it as it is

(cherry picked from commit d44e9a9244558f63b3feaf923802ed32b4931283)

Conflicts:
	sd/source/filter/ppt/pptin.cxx

Change-Id: Ic2541bcf7e368a4e9f2cc87353be165fc203dbac
2013-12-05 10:10:04 +00:00
Norah A. Abanumay
8735d039b0 one missing icon from draw tool-bar
Change-Id: Icfbb671bbe322d08ad8f3f911e99c3ec6761b1f6
2013-12-05 13:07:02 +03:00
Stephan Bergmann
c6abb084ef Partly revert "Appears SwView::SetMoveType no longer really does anything"
This reverts most of commit a50a2111a31e4d9dd5e2659a146e9de8e292de75, where the
-Werror,-Wunused-variable for SwView::SetMoveType's aColor (after
3e8fe4d8e19be2ccd8f5bb898530e2f615a90321 "Remove the Navigator buttons below the
scrollbar in Writer" had removed its use) had erroneously make me think that
SwView::SetMoveType now effectively didn't do anything anymore, failing to note
the

  m_nMoveType = nSet;

part that was still relevant.

Change-Id: I5e43886806533e80e238fef8d836e09e28209b6d
2013-12-05 10:50:49 +01:00
Miklos Vajna
69a7a83c45 DomainMapper_Impl ctor: we should not be in a footnote property by default
Change-Id: I3441cc08342e9853d27c11769ee010b031085b53
2013-12-05 10:46:06 +01:00
Norah A. Abanumay
70e417e591 new icons for Sifr icon theme
Change-Id: Ib3397d6b761e12111f48c2143aa54e5caffaef68
2013-12-05 12:34:01 +03:00
Jacobo Aragunde Pérez
5be2c6d98b Fix @since annotation
Change-Id: Id8aff4a640c61472aa4ca3a060112f377b5809d9
2013-12-05 10:24:55 +01:00
Miklos Vajna
e82f6024f3 -Werror=uninitialized
Change-Id: I3ad9cad8a19eceec1b6a86a0210f4a6d0fa9bf0b
2013-12-05 09:18:26 +01:00
Jan Holesovsky
eb45c69b64 EMF+: Log the stride too.
Change-Id: I903d8e5629c578f292307bf3abdb2f58ef9dd92c
2013-12-05 09:08:09 +01:00
Tor Lillqvist
4aa1c8d914 Typo fix
Change-Id: I994ebbad19873236ad6d8dc99f721908722d302a
2013-12-05 09:11:18 +02:00
Tor Lillqvist
47aad4bde8 Increase consistency
Change-Id: I5469b00a533ef9bf731698d7906a470699e29ba6
2013-12-05 09:00:17 +02:00
Tor Lillqvist
2dc16ffab2 Some TABs had crept in again
Change-Id: If48a84fc7ccb1fc1ca37a6e9fe2e29473f1f32a6
2013-12-05 08:27:29 +02:00
Julien Nabet
9c2a085a45 Resolves: fdo#72280 Wrong title for Analysis of Variance (ANOVA) dialog
Change-Id: Ie2e1edee804f3e85eab08d05adecfc25ebbc77c1
Reviewed-on: https://gerrit.libreoffice.org/6934
Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-12-04 22:54:51 -06:00
Kohei Yoshida
5a295eb97b Update the comment & use the column position of the last formula record.
Change-Id: I877ec2153754328781e5d87b8eca47998b70fa22
2013-12-04 21:59:30 -05:00
Kohei Yoshida
c6ccab60fa Never attempt to create formula groups based on Excel's shared formula ranges.
Because they are wrong more than half the time.

Change-Id: I24e49c53520442be698e43976d28d0f8477648e6
2013-12-04 21:53:48 -05:00
Eike Rathke
dfd1a47a38 resolved fdo#71667 and fdo#72278, fdo#69971 follow-up fix
a9d85d62a889288b17899c8defc020da487d8b36 used
ScInputHandler::EnterHandler() to reset all sort of things related to
input EditEngine, but that is a handler for Enter and does not enter a
handler and actually attempts to finalize input, which lead to various
unwanted side effects.

Introduced ScInputHandler::InputTurnOffWinEngine() as only the input bar
window EditEngine needs to be reset in the window switching case (which
EnterHandler also does hence it did prevent that bug). The approach
could be polished with further refinement but most importantly fixes the
actual problems now.

Change-Id: I9a0bc452b49ba11a3313cafbc1e5972f41dc65c7
2013-12-05 02:05:27 +01:00
Miklos Vajna
45c5124e0e writerfilter: drop ww8resource annotation in doctok
This was used as a tag for various classes, but the generated result
wasn't used anywhere, so let's just get rid of it.

Change-Id: I61dc51368177eddb6d04dba94063ba102f4ca1e5
2013-12-04 21:28:30 +01:00
Miklos Vajna
71b8dba74d writerfilter: remove unused WW8LineProps in doctok
Change-Id: I6fae7739235194c3452634ff8a173f4ab5eac425
2013-12-04 21:28:30 +01:00
Miklos Vajna
2fa8720270 writerfilter: remove unused WW8BRC in doctok
Change-Id: I9da4b0d5e003f12474fb11dc4b102e5fad79f11e
2013-12-04 21:28:30 +01:00
Miklos Vajna
5b7acdf8c8 writerfilter: remove unused WW8FFDATA in doctok
Change-Id: I62a5d45a818738fb06b1d80652c0ad6c0aee5f29
2013-12-04 21:28:30 +01:00
Kohei Yoshida
0fb7073313 Assign top cell to the formula group if it's still NULL.
This can happen when Excel's original shared formula range is across
multiple columns, in which case we split that into multiple groups (one
per column), and initialize top cell only for the left most column.

This fixes the crasher on the doc from fdo#31296.

Change-Id: I9e4def9836947fc67523f0d99ca981465709b934
2013-12-04 14:39:17 -05:00
Jacobo Aragunde Pérez
13ce74fd9b fdo#64232: Unit test for font theme attributes preservation
The unit test checks three cases:
 * attributes in run properties
 * attributes in default run properties
 * attributes in style definitions

Change-Id: Ie3224f41bd29e8b258dbd6823b7c9549e1ef5b1e
2013-12-04 18:52:04 +01:00
Jacobo Aragunde Pérez
983002475f fdo#64232: Save font theme attributes in rPrDefault
The default values for run properties are stored in the styles.xml
file, in the <w:rPrDefault> tag. The process of this tag is slightly
different from normal <rPr> tags.

First, we fix DocxAttributeOutput::OutputDefaultItem to be able to
output the contents of the character grab bag.

Second, we fix StyleSheetTable::applyDefaults to read the property
values using the GetPropertyValue method instead of using an iterator
directly, because the former creates the grab bags and returns them
as properties while the latter returns all the properties individually,
including those that should be inside a grab bag.

Change-Id: I91254ba20fd9ca5a1b02afb587f52a449a215d6c
2013-12-04 18:52:03 +01:00
Jacobo Aragunde Pérez
458b89b303 fdo#64232: Fix and preserve eastAsiaTheme attribute
The attribute eastAsiaTheme was not being processed properly (the
derived theme font was being assigned to complex-script instead of
eastAsia), so this patch fixes that and it also preserves the value
of the theme itself.

Change-Id: I1a91ab2080eb2bc79f41fda9ae4bf7afb05f69a3
2013-12-04 18:52:03 +01:00
Jacobo Aragunde Pérez
9e47df8fd7 fdo#64232: Save font theme attributes back to the docx
Font theme attributes were saved to an InteropGrabBag on import, and
they have to be saved back to the document when exporting to docx.

If the user modified the font in a text fragment during edition, the
theme attribute should be discarded in favour of the font attribute.

The attributes in the grab bag are processed in the last place so we
can compare the font attributes with the original fonts to know if
they have changed.

Change-Id: I2502b4aa96213e74b46fccd1a20f99421f7cf98b
2013-12-04 18:52:03 +01:00
Jacobo Aragunde Pérez
0fa60a7f5c fdo#64232: Add font theme info to CharInteropGrabBag
The attributes w:*Theme in the rFonts tag are saved to the character
InteropGrabBag so they can be saved back to the document on export.

Font attributes are also pushed into the grab bag because they will
be needed to check if the user has modified the fonts while editing
the document.

Change-Id: Ib247845a2d5543823798e1bbd8ed1958a5d9e884
2013-12-04 18:52:02 +01:00
Jacobo Aragunde Pérez
fb5ee5c995 sw: Add support for different grab bags at PropertyMap.
Now there are two types of grab bags, for character and paragraph
attributes.

Change-Id: I41362358cd2765e5642499520d94f23f2380631d
2013-12-04 18:52:02 +01:00
Jacobo Aragunde Pérez
8a631e4718 sw: add CharInteropGrabBag uno property to characters
Change-Id: I2c6d8b1e4ef6df6a6662d5db89e67e5fba3c6ade
2013-12-04 18:52:02 +01:00
Miklos Vajna
73cf3fd42e sw doc model dump: show rsid value
Change-Id: Ic657c4bae045a2663c3b10c569af2fd0c9235775
2013-12-04 18:09:33 +01:00
Caolán McNamara
02efbed152 Resolves: rhbz#1038189 refresh printer list when print dialog launched
which is the the same thing the printer settings dialog does

Change-Id: I36fb9f057b66faa8c9fce5a9934ed2fb70786363
2013-12-04 16:49:02 +00:00
Matúš Kukan
f115ec6ce1 EMF+: Do not ignore source rectangle of the image to be rendered.
Change-Id: I4f861c7653c89d8f1ca73696e885f33f7bfc3b06
2013-12-04 17:46:41 +01:00
Stephan Bergmann
190c2fa39e use OUString::startsWith
Change-Id: I248e2e5802ef2404c49fc7bc4c9f4baa794ccdef
2013-12-04 17:41:32 +01:00
Andrzej Hunt
bfe74d2254 Add some logging to MetaFile read.
Change-Id: I11bc4a82fd0d09fb255c30f3aeffecd3b4e95c09
2013-12-04 16:29:22 +00:00
Michael Meeks
d760039be5 oox: remove debugging printf.
Change-Id: I79198f926cad736549f3251ea92971374b305999
2013-12-04 16:09:33 +00:00
Stephan Bergmann
c1da3afa51 HINSTANCE vs. HMODULE clean up
Change-Id: I6fc350f489863ec86c76822053f0a399cef5cd7f
2013-12-04 16:48:16 +01:00
Stephan Bergmann
13448d8afd Fix one more use of wsprintf
...that would fall into the same trap as
50bd5c11f551f5274be9a4411c5ddcbd32bd9a03 "wsprintf is broken by design and never
writes more than 1024 characters" if the length were not currently bounded by
2 * MAX_PATH + x < 1024 anyway.

Change-Id: I2503ba0a9df960f2fdb51925d5fbbcff5bdb998a
2013-12-04 16:41:36 +01:00
Caolán McNamara
1ded21bfb9 Resolves: rhbz#912529 Kerkis SmallCaps shown instead of Kerkis Regular
we encounter both fonts, but all their properties that we compare
are the same, so we think they are two versions of the same font
and throw away the "Regular" version.

Change-Id: I24369f10c7a0edba1faa02621bb78616e880966e
2013-12-04 15:06:17 +00:00
Michael Meeks
4bad16b2a2 oox: render progress bar in main thread for threaded import.
Experimental only.

This avoids ,us deadlocking as the main thread tries to join it's children,
and the child threads wait to 'Yield' in the progress bar update.
Also it's generally safer to move progress reporting out of the other
threads, and to have the mainloop spinning here.
Finally  this allows people to continue to use the LibreOffice suite while
large XLSX spreadsheets are loading.

Change-Id: Id41c18f3941d6fc5eea593f7cfcf6a8b7215b3f8
2013-12-04 15:00:36 +00:00
Michael Stahl
d1539f9181 sfx2: SfxItemPtrMap is used only in shell.cxx
Change-Id: I9f76a114fcdf761ddaaf40666e4330d20ca72b98
2013-12-04 15:39:59 +01:00
Michael Stahl
5e4c26918a SfxDispatcher: move implementation details out of header file
Change-Id: Ia831da45c00554086dc692997130688c0b3e28f5
2013-12-04 15:39:59 +01:00
Miklos Vajna
1a2f12f78f writerfilter: support nested mc:AlternateContent
It turns out it's possible to nest this, e.g. <mc:Choice
Requires="wps">, and inside that, a <mc:Choice Requires="wp14">.

Change-Id: Icb6250dcc5059894112d8eeba9f327659a42280e
2013-12-04 15:40:26 +01:00
Miklos Vajna
5003431057 DOCX drawingML shape import: always set Opaque
If behindDoc was 0, we did not set Opaque, so it went into the
background, fix this.

Change-Id: Id5aa683ffb388b1f4de33dcb19559729db5a4e02
2013-12-04 15:17:46 +01:00
Jan-Marek Glogowski
95f60222e7 fdo#67011: Run Display::Yield through KDEXLib::Yield.
Drag'n'Drop is handled in a second thread, which tries to "yield
the display" while the main Qt thread probably is already
yielding. Both need the YieldMutex, which freezes the application
until the D'n'D thread times out.

Trying to yield the display throught the application yield
results in a recursive loop.

So this catches and breaks the recursion, but just inside the Qt
thread, so other processes can "yield on the display", instead
of simply disabling the Display::Yield.

Change-Id: Ifba91aa89fe5b0a89cc94820935dc996a065112f
Reviewed-on: https://gerrit.libreoffice.org/6750
Tested-by: Jan-Marek Glogowski <glogow@fbihome.de>
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2013-12-04 08:17:04 -06:00
Stephan Bergmann
8d74243a65 Improve test code
Change-Id: I196a7f654bf8f061a4b050ea1fbe01fae9f450c2
2013-12-04 15:07:11 +01:00
Khaled Hosny
13086125ab Rename coretext/salgdi2.* to coretext/salgdi.*
The "2" part was a temporary measure so an older version of the file,
that is long gone, can coexist.

Change-Id: I3a22b287bfb1351bb73e9dabbfa67100fe17bb97
2013-12-04 16:04:24 +02:00
Andrzej J.R. Hunt
56d4f4b7b9 fdo#70144 Don't reset Document's modified flag when inserting new table.
It is unclear why the modified flag should ever be blindly overwritten hence
we no longer touch the modified flag here. (This change appears to have no
undesired side-effects.)

Change-Id: I246eb7d84249794fa4d52fcd9b008d8340bbc82d
Reviewed-on: https://gerrit.libreoffice.org/6632
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2013-12-04 07:53:35 -06:00
Miklos Vajna
798a563db1 drawingml import: don't set CharEscapementHeight unconditionally
Commit 840a8573c8cebe67ddd3c9fe106c7dbd789bb334 (Fix fdo#70220
Superscript not imported from pptx., 2013-10-07) made it possible to set
CharEscapementHeight even if moBaseline is not set, but this causes
problems in the docx importer + not necessary, according to the bugdoc;
so just don't do that.

Change-Id: Ib95ac449bd8fdf6376261ddc86108f0d23f2200e
2013-12-04 14:52:26 +01:00
Cédric Bosdonnat
e8df1838ec fdo#62531: checkout failed due to bad import of properties in libcmis
Change-Id: Ic9477039d7a1d9649487be634052608efe0d07b7
2013-12-04 14:14:16 +01:00