Commit graph

318951 commits

Author SHA1 Message Date
Michael Stahl
2a9ecb89d4 Makefile.in: rebuild configure on .in file changes
Change-Id: I9359cca02f6c48efb50ce446d32695d14a0c81fa
2013-01-18 23:46:33 +01:00
Michael Stahl
bea63709d0 xmloff: refactor Generator version handling:
Since there are now 2 forks of OpenOffice.org, we cannot rely on a
simple total ordering of versions any more; add a new function
SvXMLImport::isGeneratorVersionOlderThan(), taking 2 reference versions.

Also extract the LibreOffice version number from the generator string,
and extend the BuildId property to store this as a third number.

This also allows removal of the "fake LibreOffice3 as OpenOffice.org
3.3 release" hack, which is not future-proof.

Change-Id: I44d8105eb537ac43fb9529a8b1b661ae0f2bba30
2013-01-18 23:46:33 +01:00
Michael Stahl
0669d78ea7 fdo#59517: fix detection of ancient OOo ODF generator strings:
SvXMLMetaDocumentContext::setBuildId: check only the prefix of the
generator string, not all of it.

(regression from 17ff7b41d1)

Change-Id: I0cdd958d67cd13fd2368cc6958893ce3528a9e94
2013-01-18 23:46:33 +01:00
Kohei Yoshida
3fd16d489e Try not to leak removed cell instances.
Change-Id: I25da4a34a3e53bc001519194729e613eef167713
2013-01-18 15:56:38 -05:00
Luboš Luňák
ed26a93b2f avoid warning about a comparison being always true
Change-Id: Ie0bd47a16af56b7d3ae070d5b82ec46ed21834c0
2013-01-18 21:07:09 +01:00
Luboš Luňák
1efe9a15f8 avoid -Wsign-promo warnings
I actually find the warning to be obsolete nonsense (the manpage talks
about cfront), but at least for now.

Change-Id: I4390b1779f6f8de062afd441f6855cb760adf93d
2013-01-18 21:07:09 +01:00
Kohei Yoshida
c55d52262e fdo#58988, fdo#58562: Populate draw clip document with data for charts.
Without populating the clip document, copying a chart (or charts) into
clipboard makes the charts lose all their referenced data, which causes
the pasted chart to appear empty.

Change-Id: I3675f76baed19b48cec403964c19df00725a044b
2013-01-18 14:41:42 -05:00
Luboš Luňák
c881b1b50e long and long long can be the same size (and thus also sal_Int64)
Change-Id: I3961ec27d23915b038c3a803dc71e7d937ca331c
2013-01-18 19:44:06 +01:00
Lionel Elie Mamane
8f766122f0 mark *all* tables of a nested join as added
Else, if the n^{th} (with n>2) table also appears in a (non-NATURAL) INNER JOIN, it is repeated later, leading to an error from the database engine

Change-Id: I03e0f0ef51f45be9d7ddfa63a9dbe09dc500f8dd
2013-01-18 18:48:15 +01:00
Caolán McNamara
a187122ff6 super-long language names make character dialog look real ugly
so move language to the first column and let it span
all columns, but not fill the availabl area

Change-Id: I8c9a410861c3fb942569af7523313a84ae7f6c98
2013-01-18 16:52:06 +00:00
Tor Lillqvist
202fb73ccd Move comment to perhaps more relevant place 2013-01-18 18:33:30 +02:00
Noel Grandin
2b31e751db Create OUString and OString number(*) methods.
API CHANGE: Adds new methods (several overloads)
   OString::number()
   OUString::number()
and marks all of the existing fromValue() methods as deprecated.

The purpose of this change is to clean up call sites
by hiding the necessary casts.

The casts are necessary because of overload resolution rules which are
somewhat vague about which methods to choose when using integer types.

See mailing list discussion here:
  http://nabble.documentfoundation.org/replacing-OUString-valueOf-static-cast-lt-sal-Int32-gt-td4027989.html
  Subject: "replacing OUString::valueOf(static_cast<sal_Int32>) ??"

Change-Id: Id3d150a6525eb0334e41e2ec6640bb06cd790b43
Reviewed-on: https://gerrit.libreoffice.org/1625
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-18 17:19:30 +01:00
Stephan Bergmann
6f6ed9c7e2 Avoid .memdump files left behind by xsltproc in the build
Change-Id: If79896a2f73cacd9880e8beb9cc42993b49cc3b5
2013-01-18 16:55:04 +01:00
Stephan Bergmann
2fcba16dc4 Never pass -env: arguments across OfficeIPC connection
Change-Id: I1874ad0542bc8dcbe9ec588599a054030fd5d7d8
2013-01-18 16:55:04 +01:00
Stephan Bergmann
36e8d5d137 Insert type rdbs individually into theTypeDescriptionManager
...to make it easier in the future to replace the binary rdb format with
something else, but also keep support for the old format for backwards
compatibility (extensions).

This should have no performance impact, as the type description manager (a)
caches information about requested type descriptions, and (b) has been changed
to process the bootstrap rdbs en bloc without doing costly consistency checks
(which are useful though when inserting an rdb when installing an extension, but
which would exhaustively read all type descriptions from the inserted rdb, so
would negate any benefit of constructing any type descriptions on demand only).

Change-Id: I80b22770bd9a5e0ab686f04d9c70295f2e3d0bf6
2013-01-18 16:55:04 +01:00
Takeshi Abe
eed249f555 sal_Bool to bool
Change-Id: I36603ac94b190a67b61b63b5ae0d981c09fcb270
2013-01-19 00:32:04 +09:00
Takeshi Abe
8600bc24bb Remove unused static variable
Change-Id: I2a0d2919b66d1450712660dbd0eb457d3f7f1c7d
2013-01-19 00:32:04 +09:00
Luboš Luňák
aafffe6d1c disable the test case for paragraph mark export
I don't know what's wrong with it or why the problem shows only for
me on openSUSE12.2, but it's been broken for several days now
and there's not much point in keeping it that way given that it
didn't work from the beginning.

Change-Id: I608bc01e4ee914629db1aa75ce8463044fe20ca6
2013-01-18 16:13:55 +01:00
Caolán McNamara
d3f397ed41 add new author to font copyright list and regenerate .ttf
Change-Id: I725043c00bd3dd924ac022859bbf5957dc2450b7
2013-01-18 15:05:30 +00:00
Mathias Hasselmann
4603460987 Resolves: fdo#44718 Add Unicode 2034 (Triple Prime) to OpenSymbol
This adds glyphs for prime (U+2032), double prime (U+2033)
and triple prime (U+2034).

Change-Id: I73297209f0410db607c1ae4787ba15c3ac08133f
Reviewed-on: https://gerrit.libreoffice.org/1679
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-01-18 15:01:47 +00:00
Caolán McNamara
a8eecb6df5 convert table properties tabdialog to .ui
Change-Id: Ide72fb6bfc604f13e9d01250aac8e9b011bd034b
2013-01-18 14:35:11 +00:00
Caolán McNamara
4b529841d3 add a way to select the current SfxTabPage by name
Change-Id: Ib7a07bc0e6ec9f47b83839fb3eb8f31c014dedff
2013-01-18 14:35:11 +00:00
Caolán McNamara
f710a2db4c remove backgrnd.src
Change-Id: Ic868667955eca21c348a05e49ff30fa6fa8b7043
2013-01-18 14:35:11 +00:00
Miklos Vajna
2cacaf6ab0 oox::vml::ShadowModel: differentiate between not having it and having it off
Having it explicitly disabled was already handled, but apparently
01d059c13e turned on shadows by default.
Fix this.

Change-Id: I1401a28b36a9b5aea302f9a19a6d02a29e6b358d
2013-01-18 15:24:17 +01:00
Miklos Vajna
01d059c13e oox: import VML's v:shadow to Writer
Change-Id: I48ea2dcf81c91c0fe476ecff6cd074cb699af533
2013-01-18 14:50:18 +01:00
Markus Mohrhard
16d50ae144 add all the new conditional formats to the menu, related fdo#58778
Change-Id: I398fac5c585b5ea6e40331b50119c90c180a32bc
2013-01-18 14:39:43 +01:00
Markus Mohrhard
6d36a31df1 make sure we call SetInRefMode only once
Change-Id: I16ff8b6aaa24b1f8522117197226db39f0617fad
2013-01-18 14:15:07 +01:00
Markus Mohrhard
1de8d78a8e don't create multiple dialogs in the loop, fdo#59314
Change-Id: Ia48262cdf8b07caf6622f2d4a48f366f3f26c0fd
2013-01-18 14:11:32 +01:00
Caolán McNamara
77f6c7bb7d split out background page and adapt code to .ui
I've being putting this one off for a while as its a complicated
set of hidden pieces shows for different background types

format->frame->background shows transparency option
table->properties->background shows "for cell/table/row" options
flipping as graphic/color should show different contents

Change-Id: I4a63d3bbe8898ad2421d6ddef011da9ae67b5a4f
2013-01-18 12:46:43 +00:00
Caolán McNamara
a17a052ef2 add a border property to ValueSet
Change-Id: Iedd9f23a57e4c9153a6b10c4d5d060664c545553
2013-01-18 12:46:43 +00:00
Andras Timar
da3ddc4f90 Updated core
Project: help  64c3fdcaa366e74afa672542f0a94b84be5008d7
2013-01-18 12:18:04 +00:00
Fridrich Štrba
16ac315c41 Enable NTLM authentication (using sspi.h) in Windows build of curl
Change-Id: I5e24338b937d32cd3a09f82bd3cf5a8b29f5d340
2013-01-18 12:45:24 +01:00
Markus Mohrhard
7af886d778 reset one of the sort containers before refilling, fdo#57465
Change-Id: I758af67efec980a56ec83d8e5e6f5f60a0523ac5
2013-01-18 10:26:37 +01:00
Caolán McNamara
23c099a023 Resolves: fdo#58730 workaround [UL|LR]Space 100% problem
If all paragraph margins are 100% on import, ignore that as being the implicit
default. That avoids explicit 100% being set onto the awesome [UL|LR]Space
which takes a relative propsize of 100% as a flag that its value field is
absolute and so rejected by SwTxtFmtColl::Modify as a candidate for getting its
true value initialized relative to its parent, so it ends up as an absolute 0

Always elide the property on export because writing individual
margin-foos provides better backward compatibility with older versions
anyway.

Trigged by 3c5facfce4

Change-Id: I55f6ceeae287b7d8e99befa4bd3cc06738a21299
2013-01-18 00:38:23 +01:00
Andras Timar
17b264b226 fdo#58712 add missing UNO command names
Change-Id: I68919572b0e5f624e433375f5c523281a8416e70
2013-01-17 23:51:59 +01:00
Julien Nabet
6ad708912c Reduce scope
Change-Id: I58a1f5d36939dd95648ea42b31331e757c65ee57
2013-01-17 22:54:51 +01:00
Julien Nabet
4a3398ce12 Fix duplicate if
Change-Id: If08b51e8e0e5c21599d62b4f2fc0baa847e3d750
2013-01-17 22:54:50 +01:00
Michael Stahl
33a1b189d2 ItemSetToPageDesc: remove mysterious SvxPageUsage flag mangling
These 2 lines (from initial CVS import) appear unnecessary since the
only valid SvxPageUsage value with 0x04 set is 0x07.

Change-Id: I4fe92e100955ff00831e0ef7bdad21e7105193ed
2013-01-17 22:32:13 +01:00
Michael Stahl
8d301533f0 fdo#59428: SwPageDesc::GetUseOn(): mask PD_FIRSTSHARE.
There is at least one call in SwDoc::ChgPageDesc() checks if the result
equals PD_MIRROR.

(regression from fa0f42bafb)

Change-Id: Id37ca46eec5885f7f5230337d8a8a594845f7842
2013-01-17 22:32:13 +01:00
Michael Stahl
0ed73a0817 fdo#59437: SwFmtAnchor::SetAnchor: Anchors may be on StartNodes
Assertion added in 90a0116ccb wasn't quite
right.

Change-Id: Icac6c4e3932837ffaf170d9b18664e5b4ff579ff
2013-01-17 22:32:12 +01:00
Kohei Yoshida
1fb5ecdd74 Const correct-ness in one place...
And an avalanche of changes that ensued.

Change-Id: I7f882b621ba5af4cd01b2ac7f482ee3eed24e3d5
2013-01-17 14:30:59 -05:00
Kohei Yoshida
3f390be5a7 sal_Bool to bool.
Change-Id: I6ad0385041618ebff879ec8533c13ef0ddbe239c
2013-01-17 14:30:59 -05:00
Kohei Yoshida
a6b459c859 Proper construction of the impl class, using initializer.
And make sure the whole thing still builds.

Change-Id: I49d3c01d288df800e3261ce7d4f07080be2a4098
2013-01-17 14:30:59 -05:00
Kohei Yoshida
ab1f30eed2 Unindent the class declaration.
Indenting on namespace scopes is too much.

Change-Id: I1d22103c02c16a128e627f53859cc09006fb02f1
2013-01-17 14:30:58 -05:00
Kohei Yoshida
93b8ccb4ad String cleanup.
Change-Id: I3ae62993a1b753927af236b3a7923eacbb4c8cc0
2013-01-17 14:30:58 -05:00
Miklos Vajna
f4483d31f3 VML import of TextFrame border width
Change-Id: I9c0cf277e17c02c2de564d48ba79e1c25ea23db5
2013-01-17 17:44:39 +01:00
Miklos Vajna
88ebaff735 VML import of TextFrame border color
Change-Id: I8c0cf9e3ac17b87cbfdd4e744632c5306e2abfc2
2013-01-17 17:44:39 +01:00
Samuel Mehrbrodt
0a51d18b5a fdo#59396 Remove duplicate footer entries in "BrightBlue" Impress template
This also removes an English text in the Master page: "Click here to edit..." and replaces it with a placeholder

It would be nice to have this in 4.0 branch also.

Change-Id: I1aadc20aa9916e40bbaf1b6f66ec58dfd02a35bb
Reviewed-on: https://gerrit.libreoffice.org/1725
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
2013-01-17 16:25:38 +00:00
Jan Holesovsky
c8ea31264f Personas: Fix fdo#59208 - get rid of artifacts when we run out of bitmap.
So far I am using the same color that is used for the workspace; should it be
a problem, we can use a different color.

Change-Id: I06fde7f31a9d37d2e387a7e3fd0b6d3d33f8d6e6
2013-01-17 17:11:12 +01:00
Jan Holesovsky
dbf3077f72 Personas: Clear the BitmapEx first, so that we can switch off Personas.
[Also rename mpPersona*Bitmap -> maPersona*Bitmap, it is not a pointer.]

Change-Id: I93cc56b1f30c4fe966b8de87b766e820d9e2cefa
2013-01-17 17:11:11 +01:00