Age | Commit message (Collapse) | Author |
|
Change-Id: I87d6e518aebcd0074f673b84b66df27ae9a0a15a
|
|
Change-Id: Ia71a4dc13e09a5fc42c282efc2b0d46b2ff007ab
|
|
Change-Id: I8b76ba6d6a27cebefca3307a648bd5baafd27262
|
|
Change-Id: I47f376f431276396a9f3168a5e39e2c9e9e55cbe
|
|
Change-Id: I71842ace16eb65b3269754cc36408fe52843b2ea
|
|
Change-Id: Ideb46a876ef74f505b71e2a788d5f8da50e251af
|
|
Change-Id: Id3be1fbf289f04e175bb2fdd71754cad0c9672ce
|
|
Change-Id: I89050a1aa899b1a6cd49800f805af9611fd0a9a7
|
|
Change-Id: Ieeebcd89ae2728c6314f28413759bbb353c327bf
|
|
Change-Id: Ic09b960b675d674a16f7f252ed2a974c4e25505b
Reviewed-on: https://gerrit.libreoffice.org/680
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
|
|
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
|
|
No write support yet.
Change-Id: Ia10239acc77cf9ebc4f511e30c007da36abf43cb
|
|
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
|
|
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
|
|
...or we may have some additional properties set on some styles.
Change-Id: I5a5d307931a2a6c1f25bd2da93381d8de65c2480
|
|
Change-Id: If7c4162a49a7c7b612b6f480f6fbba75727ae1df
|
|
Change-Id: Ia3d1d8dbe100443410b80c3881f10ab51b2d0419
|
|
Change-Id: I10480cc7977e7227a6abe84e7bf27f69a980f89a
|
|
The code was casting away the const-ness everywhere.
Rather just declare 2 accessor methods, then the code becomes
much cleaner.
Change-Id: Id6b240536485cfebe044bcc427ba24843cf4c051
|
|
- I had to convert SwFrmFmts, SwSpzFrmFmts, SwCharFmts, SwSectionsFmts,
SwTextFormatColl, SwGrfFmtColl all together because of the code that wants
to work with any of them.
- Introduce a pure virtual base class SwFmtsBase, since there are a handful
of methods that want to work with any of the std::vector<Sw*Fmt> types.
- the class SwSpzFrmFmts was dropped, and the code changed to use SwFrmFmts
instead, since the 2 types are identical.
Change-Id: I8c4056b5aedd574a33666e2d649a8b849958441c
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
|
|
sw/{inc/,source/core}
|
|
Change-Id: I2301c1f237b1b08926c80942f459ba6062ed457d
|
|
Change-Id: I03ab6367a40ddc5748a499c4e2c7f108a3ef8a08
|
|
This change expands the number of properties supported by autoformats,
mainly for Writer. Some improvements affect Calc as well (e.g. border
styles are now preserved for Calc).
Common: boxitem.hxx, frmitems.cxx
* Added a new version for SvxBoxItem serialization that includes border styles.
* Updated SvxBoxItem and SvxBorderLine serialization logic accordingly.
Writer: fmtornt.hxx, attrfrm.cxx
* Added serialization/deserialization logic for SwFmtVertOrient.
Writer: tblafmt.hxx, tblafmt.cxx, ndtbl.cxx
* Updated file version for autotbl.fmt to be SOFFICE_FILEFORMAT_50.
* Autoformats now record the text orientation and vertical alignment
of table cells.
* Autoformats now record the following table-level properties:
- Break
- Keep with next paragraph
- Repeat heading
- Allow table split across pages
- Allow rows to break across pages
- Merge adjacent line styles
- Table shadow
Calc: autoform.hxx, autoform.cxx
* Added support for reading/writing writer-specific data as binary blobs.
* Updated file version for autotbl.fmt to be SOFFICE_FILEFORMAT_50.
|
|
|
|
writer rtf export has a nasty pgdsctbl extension
sd rtf import has nasty "if its got a table keyword in it its a table"
logic
Classically we never put our styles into the temporary clipboard, so fastest
and safest fix is to simply skip putting the page styles into it.
|
|
|
|
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC)
is used to annotate legitimately unused parameters, so that static
analysis tools can tell legitimately unused parameters from truly
unnecessary ones. To that end, some patches for external modules
are also added, that are only applied when compiling with GCC and
add necessary __attribute__ ((unused)) in headers.
|
|
|
|
|
|
|
|
|
|
multiple variants of toUpper (etc)
some that take a non-const OUString or String and modify it
some that take a const OUString or String and return a new one
some that take part of a const OUString or String and return a new one
|
|
|
|
To activate the layout and node dumping features in sw, set the SW_DEBUG
environement variable to anything before running the office. F12 will
then dump the layout as a layout.xml file in the working directory, and
Shift+F12 will dump the nodes structure as nodes.xml at the same place.
|
|
|
|
only for newly created documents
# HG changeset patch
# User Christian Lippka ORACLE <christian.lippka@oracle.com>
# Date 1299763312 -3600
# Node ID 6b1140cdac81a77836e5be80033f328a0956c94a
# Parent 8edc33ef50a3b6ebbc4e88d574b6b1ba57b1dbaa
impress210: #i117133# put new drawing layer fill and stroke styles in pool only for newly created documents
|
|
OSL_DEBUG_LEVEL is set by make debug=t, which should never result in ABI
incompatible objects.
|
|
This crash is probably a regression introduced by CWS swlayoutrefactoring.
|
|
Added a compatibility option to reproduce Word's behavior when importing
Doc, docx and RTF files. The default behavior isn't changed.
|
|
|
|
|
|
Added a new compatibility option to keep the previous behavior, but
changed the default to avoid lines insertion for tabs when there are tab
stops set beyond the end margin
|
|
Similarly to the layout debug support. F12 -> layout, Shift+F12 -> nodes.
|
|
|
|
|
|
|
|
|
|
LGPLv3+/MPL
|
|
|