Age | Commit message (Collapse) | Author |
|
The problem was that the left / first paragraph margin was defined in
the numbering style, and that zeroed out the already inherited right
margin.
Change-Id: Ife521d1de4868a7be33de5f8d6af363d10cbc903
|
|
This is similar to fdo#40686 (dyaLinePitch only valid between [1-31680]) for
the .doc format
Change-Id: I7d2745d695320b4b6b22ec2b519f092932587c2e
|
|
In Word, the layer that contains a background image is behind the layer
that contains the paragraph background. In Writer, the paragraph
background is painted before the hell layer. Add a compat flag to change
the order, so the DOCX importer can trigger that.
To reproduce, create an XShape, send it to the background, set some
color for a paragraph background, and notice that the background color
is missing where the shape is behind the text.
Change-Id: I9b1fffd9ac9a6e5a1c3d1f65371440047d125b38
|
|
nothing really to do with odd multithreaded run_exit_handlers bug, just tidied
it up in passing
Change-Id: I9e56a21f92e5f89bbcb4413bb7cae44c48affb17
|
|
Change-Id: I749184b885f8da29f2656e8ae29b981eeb9bbc7f
|
|
I'm a bit confused on how this stuff is separated between platforms,
so better do it this way.
Change-Id: I2dbd9baef587c81ee37b509bde272ef970f5b118
|
|
No write support yet.
Change-Id: Ia10239acc77cf9ebc4f511e30c007da36abf43cb
|
|
Change-Id: I9bbca2e348bd999e05f6d9e53f3bbcd2d6bb911a
|
|
If this is not done, then mpStream still refers to the main stream,
and so e.g. resolving references uses the main document instead
of the substream (specifically, in a followup commit, w:embedRegular
will use _rels/document.xml.rels instead of _rels/fontTable.xml.rels).
Change-Id: Ibf250b82f38be0b24a6c2b6198b6c96ab7f0423c
|
|
Change-Id: Iacfcb2e16cb0e3c25a4cd0678a374fe5111284f7
|
|
Word clips pictures that are bigger than a page instead of scaling them
down. This patch introduces a new compatibility option to allow clipping
a picture in Writer instead of scaling it down.
Change-Id: I4defbee05be81e23ec28a2ed272eaf4e4cc6faf5
|
|
Change-Id: If8ed0534ba282145e66b023777820c9c09b2b496
|
|
SectionPropertyMap::PrepareHeaderFooterProperties() already backed up
m_nTopMargin to have the same result when that method is called multiple
times. Do the same for the header footer height values as well to match
the WW8 behaviour.
Change-Id: Ib2347abc3db39308900c7721c0e15de040d9a01f
|
|
This is one step towards hiding the RTFDocument implementation from
RTFTokenizer.
Change-Id: Ief35a2440cac3147495675d344e1efc64f5fbc2e
|
|
The problem was that we tried to insert a page break before reaching the
first section break, where section properties are sent.
Additionally, the continuous section break at the end of the doc caused
trouble, so ignore it explicitly.
Change-Id: I22bc355994991beeadb41d26b44ce3e2beedbdb2
|
|
This was set unconditionally, but it turns out it's not the default for
docx, it's triggered by a compat flag there as well.
Change-Id: I84dccfe7ffd49fbc6878b19ff4276f8a36b827a3
|
|
Change-Id: I32869aa3d7b6b25c7eb9756d79ea7126130afc4b
|
|
Change-Id: Id68df67e1301d0eed74c3bdcaabc7c601d72770b
|
|
This is similar to 89f208c, but here the direct right margin reset the
left/first margin, inherited from the numbering style.
Change-Id: I2d238740c24db7607719dcefb17565656592be44
|
|
For some reason older gcc versions don't manage to dynamic_cast
to the necessary cast. I'm not quite sure why, forcing sal/osl/unx/module.cxx
to always use RTLD_GLOBAL does not seem to help. Most probably
compiler bug. Changing the cast to two simpler ones helps.
|
|
The DOCX filter imports floating tables as frames containing a table.
Word ignores the margins of paragraphs next to such a table, Writer does
not. Add a compatibility flag the import filter can set that triggers
this weird behaviour.
Change-Id: Iaaa1d2a2e2f9d0eaea17832b2e418f9a845efffd
|
|
Change-Id: I5c848a8d4c860a83d6729b8db40f744afad906d5
|
|
...or we may have some additional properties set on some styles.
Change-Id: I5a5d307931a2a6c1f25bd2da93381d8de65c2480
|
|
Change-Id: I9f49970e5e06d1afd3fc066a20d1671c93e262fc
|
|
Change-Id: I320bab34080b401c61efbc5b3383836362f5f43f
|
|
Change-Id: Iee8541ff9e88139648d45f08968476f2b1d4e1b3
|
|
Change-Id: I657266697c30be0760971528adb1abf07f03ea23
|
|
Change-Id: I2fb2004f2f755ce337ddd1419acf2510f17622f3
|
|
Change-Id: Iaa4efa2f4f70fc09e6deb6b7c6aea6f37757f1ab
|
|
SvxEscapementItem stores the vertical offset as percentage, so it depends
on the font size.
Change-Id: I1b2d5b2c230b6243a6c1a4580147c4e0c4ae94cc
|
|
There currently does not seem to be any sane way to process
an attribute or sprm that depends on another one that may not
possibly be there yet (e.g. in e7ab4bb6b0e83f01148ffff41e8c5eaa0c5ba0a4,
or w:position which for Svx internal reasons depends on fontsize
and thus w:sz).
So make it possible to defer such properties and process them
only before they are actually used, instead of trying to get them
out of PropertyMap, possibly in more places and possibly having
to undo the changes that have been done to them already.
Change-Id: I1630057ecdf46443647ec1dd5253983ae15a083f
|
|
Change-Id: Id73d1d75063e19dfa05fa7b5b8b69ca8f99f0998
|
|
First only parts of the parser state was copied, then later the whole
state, but code not using the full copy was still there. Remove it now.
Change-Id: I2c5507e74a24b8dac74552c61d69ba0be7257d6b
|
|
Change-Id: Ic6896f7c795d7d303bf7589a74afb937d4a8e8b5
|
|
Change-Id: Ie005d0ae0ed6e2f055f03015162edaa10ed78897
|
|
Change-Id: I8fe2b28f44ee61fc0f1438de3681fd86b16d29ae
|
|
Change-Id: I36d574c5f7915d732c6c158fadb91b6032370a01
|
|
This dark magic is needed to have a behavior similar to the one of Word
for images anchored in headers/footers. Writer can't have pictures laid
over the header/footer but below the body text.
Change-Id: I2c001d4f696c1623370c531059b74e3d5fa4f5b7
|
|
Change-Id: If4fd8fba87c13b6294813a86155d3d0ea4d18eb2
|
|
This moves the FIELD_EQ parsing where it belongs + improves it, so a
custom "lower by" value is handled on import.
Change-Id: I0459042d7a610c397ce90ec3dba5ff49ce9ef60f
|
|
Change-Id: I75e68d0ec70d0d4e95a58cd34780c3a350f7a9d2
|
|
Change-Id: I2d9ef3b346d4b10b99b67d0934d63d59f6119f97
|
|
|
|
Change-Id: If8dc4686f28870f1ce6b22458e29d3a9043f9783
|
|
Also remove the previous escaping that took care of RTF only.
Change-Id: Ie9a019912f83a3f56ef52429855cd72cf2c8f463
|
|
Change-Id: Ibd4f93663d27d997c44f73e201c355a34d6452d3
|
|
to be compatible with readers not understanding RTF_MOMATH
Change-Id: I8d6a28b03b740da372558f7aa245592be6ac70b9
|
|
Sending an empty run would result in adding a space to the formula,
leading to incorrect result.
Change-Id: I1a01493cead726f667db0065deb4c145cba4ffa7
|
|
Change-Id: I729e5a6dcc9ca3a291c5f28c8b7eed7e3ca03bfd
|
|
Change-Id: Idbd5ea29b886d94b456b126de00a02833f7c0d7c
|