This change implements line breaking underflow for bidi portions.
Previously, Writer would always treat the start of a bidi portion as a
valid position to insert a line break. This caused incorrect line
breaking behavior in certain situations where LTR text is followed by
RTL text with no valid break position between, or vice-versa.
Now, Writer will correctly insert the break at the previous valid
position, rather than always breaking at the direction change.
Change-Id: If4627f4d65d2c44b65653c689ee00a2e0cb4456a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170154
Tested-by: Jenkins
Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
The previous method to calculate the rectangles used to draw the cursor did not play well with fractional numbers, making them look asymmetrical at some zoom levels.
This patch makes sure that the cursor is symetrical at any zoom level.
Change-Id: I196177e6722772db3a8c8ad343e35c148e4772a7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169546
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
Tested-by: Jenkins
Prior to this patch, the calculation of the offset to draw the outline was incorrect, which caused the two lines of the outline to overlap.
This patch fixes this issue and makes the outline work at any zoom level.
Change-Id: I95d0b240a53beda872cdf6f0e7d75b48966217d0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169665
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
Tested-by: Jenkins
The presentation info includes properties like document size, if the
slide is visible, master slide information and similar.
[ Miklos: don't refer to removed tools::ScopedJsonWriterArray. ]
Change-Id: I5b0acff2ee0df351dd1859e02695ca249e17c391
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170155
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
* Update translations from branch 'master'
to a9266fc54a66142dba20625f94d196898070ca0d
- update translations for 24.8.0 rc1/master
and force-fix errors using pocheck
Change-Id: I696fda5336e4c075c43ebbdddc1974e5f1c6fe65
Paragraph tag is a possible parent element for the Figure tag.
Figure tag and (any structure element) may have a value of “inline”
as a placement attribute and thus, may be a child of a Paragraph tag.
Change-Id: Ie1e0221976dbcfbae9ff01b1c9b76dd2d2e7edcb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170015
Tested-by: Jenkins
Reviewed-by: Nagy Tibor <tibor.nagy.extern@allotropia.de>
Soft hyphen is now visible as printable character unless
the non-printable is switched on together with the respective
option; and soft hyphens are always black in the printout
Change-Id: Ief84f986e3d1fa5b11eed827d1a94cf0aef46d10
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170158
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
Open the bugdoc, save as DOCX, try to open in Word: Word refuses to
open, saying that the file is corrupted.
Each dropdown item has a value and a display text, it seems it's OK to
omit the display text, but the value really should not be empty.
Fix the problem by first trying to copy the display text to the value if
the value would be empty; and if both are empty, then just omit the
dropdown item.
Note that the trick used at display text won't work here, omitting the
value attribute (instead of writing an empty one) is still invalid DOCX.
Change-Id: I4ae86aaf1a11cc8fd7c276634647f5737a9b04e4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170142
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
* Update translations from branch 'master'
to 7ff3bfd58e3959a0f996a42e40de927d38600252
- Updated Slovenian translation
Change-Id: Iac317055c86ee98e93a504375865f987e91fd08e
Commit 942864606d removed m_bObjectValid
from the SwXTextDocument class but one instance of that data member
was still left in the code.
Change-Id: I0addd63173f62f6e8832f54ba94f526d50f22a8d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170097
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
Port the Junit test in DataSource.java over to CppUnit.
In order to port the test as written in Java the
CRM Database was ported, so add a test for that here as
well.
Change-Id: Ib9ac369e3faaa30207b83368889763f0eb063876
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169071
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Without the patch chart has ignored the units in ODF attribute
style:rotate-angle. The patch uses the method
sax::Converter::convertAngle(), that was introduced in commit
9f62c7a0f2
Change-Id: I606dc1e64c6ba5ee7d1f77d67a936e85f437ed93
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170083
Tested-by: Jenkins
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>