Age | Commit message (Collapse) | Author |
|
We used to optimize the creation of these styles, so in case two list
label had the same character properties, then we could avoid creating
two styles for those.
This isn't correct though: it means if the style is changed later by the
user, then unexpected other places in the document will change as well.
Do what the binary DOC filter does: create one character style for each
level of a numbering separately.
Change-Id: I967b30fc078b1be30f7ef81b2706df2962fc3fb0
Reviewed-on: https://gerrit.libreoffice.org/21191
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
|
|
Quite unnecessary, just remove the implementation details from the
header.
Change-Id: I5712ff32756bb1d31ff7701424b85a323438cced
|
|
This avoids finding emboleobj's component in such case.
Change-Id: Ie1bdef629a55b4ddb6be2538939867c182c184b3
Reviewed-on: https://gerrit.libreoffice.org/21075
Reviewed-by: Matúš Kukan <matus@libreoffice.org>
Tested-by: Matúš Kukan <matus@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
|
|
Regression from commit eeb8297e47bae11f2aeaa7bae6e51eee921e9e58 (Use
constants for ST_TextEffect values, 2014-09-22), the problem was that
while the tokenizer stopped using hardcoded token values, the matching
dmapper code wasn't adapted.
Change-Id: Id61912e9c9458efc87e0a6f8e461663942c555f0
|
|
The table seems to be on page 4 on OSX and not page 5. This makes the
xpath expression fail.
Change-Id: Ife16b25923041c66b2d9f352dbd3cfb6893f4ef5
Reviewed-on: https://gerrit.libreoffice.org/21139
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
There is actually a comment in the mail merge code:
// convert fields to text if we are exporting to PDF
// this prevents a second merge while updating the fields
// in SwXTextDocument::getRendererCount()
This was included to fix i#93714.
But the reference to 2005-05-23 #122919# in the actual code
doesn't help to understand, why the original code is needed.
I would like to get rid of it, but currently don't have time
for tests.
So the optimization to skip ConvertFieldsToText() and use a
single working document for individual document mail merge
breaks for PDF, as the working document won't contain any
fields after the first document is written.
This uses multiple working documents for PDF export again.
Change-Id: I0cf1c64da27863fc5fb4bb6c7812fed90b737d13
|
|
v2: Solved dimmed button problem and changed controller class
for listen trackchangesbar button.
Change-Id: I5a921ad9bb6c8e53d3043e86492d0923a998f3d2
Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/21064
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
|
|
Change-Id: Ia683280a3e95eee995e036db6bde5d28852f92ff
|
|
(regression from commit d75b9fd582f0aa83bd2fc99028b3f83eb7171d61)
Change-Id: I6e67ebfbac20b42c0ff8580b575793daec46b68d
|
|
Change-Id: I9ff14760479d2ac882546e2e5b74ab750ba2fa4b
Reviewed-on: https://gerrit.libreoffice.org/20984
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
|
|
Seen on an OS X tinderbox from time to time, but not always.
Change-Id: Ie6796de5095a6d3b583fa8494444f4d662db8b12
|
|
Inspired by 6e6ae9803796b120e95f6e89575e03c5fd0ed3c2
Change-Id: Ia0f264d3a6bbf076aa5080e3398683e50bc6ef01
Reviewed-on: https://gerrit.libreoffice.org/20190
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
|
|
Change-Id: If3d9f6272031e08ab228cfa58963d60ceede2498
|
|
The testcase for tdf#69640 includes links (relations) to external
pptx files. It demonstrates two non-fatal reasons for failure
opening OLE stream:
1. it fails OStorageHelper::IsValidZipEntryFileName check, because
the file path contains ":\";
2. even if that were not the case, the required file can be absent
from user's system.
I suppose that intercepting the failure at the level of
OOXMLOLEHandler::attribute() is the best option, because at the
lower level it's unknown if this failure is fatal or not.
I suppose that it could be also useful to intercept specifically
failures in OStorageHelper::IsValidZipEntryFileName, checking if
the file exist externally, and asking users if they want to update
external links (as MSO does). Possibly it should be discussed
with UX team if that should be done, and if so, do it in separate
commit.
Change-Id: I240a6f69abe236eb790bb406c79f3b761fb4638a
Reviewed-on: https://gerrit.libreoffice.org/19963
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
|
|
The filters map between a common subset of Word smart tags and Writer
RDF annotations, and when doing so, they need to know what path to use
for a smart tag namespace and also the other way around: what RDF types
are interesting for smart tag purposes.
It turns out there is BAILS specification at
<http://www.tscp.org/wp-content/uploads/2013/08/TSCP_BAILSv1.pdf> that
describes how to refer to BAF objects, so use that instead of our custom
RDF statement / document metadata key names.
Change-Id: Iac569608b05aa61547f664f2a5df7d46fe46da76
|
|
Change-Id: Id56e219782d7f858cdeb26232c7aabd4f643c9d9
Reviewed-on: https://gerrit.libreoffice.org/21020
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: Ie24194fe04dafbc447cf8a8a015316e9ba6e9ac9
Reviewed-on: https://gerrit.libreoffice.org/21071
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
|
|
Change-Id: Id8b2db3b824ea40345aba99a5f24f2579c0ad630
|
|
Change-Id: I588a9c0205e03f701b617fd1775e7f9b9b88c6b0
|
|
Change-Id: I544eac439cb7277e47a23a90c6fbc45496161c3b
|
|
Change-Id: I60ee2ccc6090c305ade4ba16d3d298866cf89c4e
|
|
This may sound crazy, but literally vcl::FontInfo serves no purpose
that I can see. The inheritance chain is like this:
┌────────────────────────┐
│ │
│ vcl::Font │
│ │
└────────────────────────┘
^
╱ ╲
│
│
┌────────────────────────┐
│ │
│ vcl::FontInfo │
│ │
└────────────────────────┘
^
╱ ╲
│
│
┌────────────────────────┐
│ │
│ FontMetric │
│ │
└────────────────────────┘
vcl::FontInfo (which, incidentally, needs to be put into the vcl
namespace due to collisions with poppler!) literally does nothing
and is acting as a bridge between FontMetric and vcl::Font. Unlike
a bridge though, this bridge doesn't actually *do* anything.
So I'm removing it, which means one less class to deal with in the
vcl fonts world.
Change-Id: I32725669c9bca7fbb0846b6a062135464046e4f6
Reviewed-on: https://gerrit.libreoffice.org/21058
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
|
|
Adds the missing unit test to the bugfix.
Actually the original bug was a crash, so this just
does some test on the resulting MM document.
Change-Id: I4c9f031e57157fe5744aa8290b7503b7e1990fc7
|
|
... when inserting text into a text node.
Seems SwTextNode::InsertText doesn't handle bookmark end
positions correctly. This is just handled correctly, if it
also contains the bookmark start.
This workaround simply concats the three strings to be
inserted in advance, so we just have to call
SwTextNode::InsertText once for the whole string.
Change-Id: Iab7708b4cc4df406bdbc3a685c7410e0e797fdc4
|
|
Change-Id: I79623024b008b60a33935942986e8a98fccc3d8d
|
|
Change-Id: I8a02be2772b8f7c0d1b13556d0c49f1b00bcc1aa
|
|
- mpItemSet is assumed to be owned by SwStyleBase_Impl
- yet it can be external set to any naked pointer
- ... and is (temporary, at least that is the hope) set to ItemSets
owned by others
Change-Id: I0cd56f5bb9f58a2e5ab09f49f66faf8a63c69f37
|
|
... also kill some plenking
Change-Id: I03c0669239bba5f63a7dc5a078f5b4c4f2a51386
|
|
- reduce scope of getConstArray variables
- use m_nPropMapType directly
- remove some plenking
Change-Id: Id507cffe2563bf078fe5e3e2a8267f352533844e
|
|
Change-Id: Ifc81677eb3331a786a964f89aa425916df6364b4
|
|
Change-Id: Id46a93a8dd1baadf062ea4e5aa471d42aa04468d
|
|
Change-Id: Icd99757b48626ef43313e8de42c4e5462f85a958
Reviewed-on: https://gerrit.libreoffice.org/21008
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
|
|
Change-Id: Ib43e53d5b6c9c130adb765ac9b769f58060ac640
|
|
set a DefaultParentBaseURL fallback from createAndInsertOLEObject
Change-Id: Ibc6e800be66f966533a8304ddf72eefa2b39fb8a
|
|
Change-Id: I73d006ee5de8294cc0dc1cf48a77c6e4466c49ae
|
|
Change-Id: Ic3fdf87c3028ae6367447f168a04cdc6fd2b0559
|
|
Change-Id: I18e7323297ef840c8a8547299450dcb93221b85e
|
|
Change-Id: I113b3b4ac54b08b6feb0d3e1d05c534e8e3fac7b
|
|
also avoid some explicit temporaries and group some checks.
Change-Id: I7795b208dde53fd383b8c75f72dd9f56429aea2b
|
|
Change-Id: I45f2a43fe4295e44691ab00c93af3fca41b1dcfa
|
|
Perhaps a temporary fix, but at least, it should unblock some TBs
+ those who use --enable-werror
Change-Id: Id075e2539245a90b829f1816609dfe1ec65fe7b9
|
|
Change-Id: Icb20fa909681ccb6acfc72f4243c09e9b9b4a3c2
Reviewed-on: https://gerrit.libreoffice.org/20957
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
|
|
This reverts commit d3e57ccf2e56a75bd4f004de53793f1742e34bc4.
There is a problem with the test case, that breaks 2 tinderboxes.
A simple test, detected more errors, open the document in LO 5.0.x and save it, then the test case has a problem on all platforms.
Change-Id: If4d6a62ed5e7882e6e61e7d31ca0a29094df103c
Reviewed-on: https://gerrit.libreoffice.org/20935
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
|
|
Change-Id: Iddf0fce5343abeb199cb5d0c37d933d68c0e4c6a
|
|
Change-Id: I219e75082c655a0895c75932863e596fcfccc656
|
|
Change-Id: If2ecee5c0e97c3955cffe4eb23d2bf651ec4ef2a
|
|
Change-Id: Ifb578244d511af153484d14ee92c5c22c2db0a3f
|
|
Change-Id: I67d8408d410698f0f31738fcc30321c627307c73
|
|
Change-Id: If814b6873796fcfa4cc7a2f62711a8b20f2f7d6b
|
|
Change-Id: I687161aa9295a1b815d11dd10fa83d23b010764a
|