[Libreoffice-bugs] [Bug 151748] Bad Horizontal lines (kashida) in Arabic/Persian text inside a text box

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151748

--- Comment #8 from افشین  ---
(In reply to افشین from comment #5)
> I can reproduce this bug can and confirm this.

Version: 7.4.2.3 / LibreOffice Community
Build ID: 40(Build:3)
CPU threads: 2; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: fa-IR (en_US.UTF-8); UI: en-US
Ubuntu package version: 1:7.4.2~rc3-0ubuntu0.22.04.1~lo1
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 139195] Formatting paragraphs or fonts in tables not working after upgrade to 7.0.1.2 (x64)

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=139195

BogdanB  changed:

   What|Removed |Added

 CC||buzea.bog...@libreoffice.or
   ||g
 Resolution|FIXED   |WORKSFORME

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 128332] Paste image into empty content frame should work like clicking the center widget

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128332

--- Comment #16 from Andrew  ---
FYI, this bug is reported as first seen in 6.3.2.2.  But this may be an issue
that's much older from the OpenOffice code.

See a similar issue about pasting images and one of the work-arounds I
demonstrated.  It's dated 2014.  The topic concerns OpenOffice 4.

https://forum.openoffice.org/en/forum/viewtopic.php?p=328517#p328517

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 128332] Paste image into empty content frame should work like clicking the center widget

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128332

Andrew  changed:

   What|Removed |Added

 CC||akg...@gmail.com

--- Comment #15 from Andrew  ---
Created attachment 183275
  --> https://bugs.documentfoundation.org/attachment.cgi?id=183275=edit
examples with steps to reproduce the bug and what a "good" result looks like

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 128332] Paste image into empty content frame should work like clicking the center widget

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128332

--- Comment #14 from Andrew  ---
Confirm this is a bug.  Using 7.4.1.2 on Windows 10 x64 22H2.

It's irritating that you can't paste an image from your clipboard into a
content frame.

I explained better in the attached "Paste Image from Clipboard Bug.odp". Slide
2 is the fastest workflow, but it doesn't work as expected.  This is the bug. 
Slides 3 and 4, I explain alternative workflows to get the desired outcome. 
They are both less efficient.  One is un-predictable how it will behave.

side note: My company for my day job has me use PowerPoint 365.  In PowerPoint,
I use the workflow in Slide 2 all-the-time. There's no rational reason why you
have to use either of the work-arounds instead of being able to paste clipboard
images directly into the content frame.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151469] Basic script execution linked to ODB form crashes LibreOffice (macOS)

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151469

QA Administrators  changed:

   What|Removed |Added

 Whiteboard|| QA:needsComment

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151467] [RENDERING] Draw - vsd file rendered incorrectly

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151467

QA Administrators  changed:

   What|Removed |Added

 Whiteboard|| QA:needsComment

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151466] update check dialog: fix update mechanism or remove Install button on macOS (it is not functional and invokes false expectations)

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151466

QA Administrators  changed:

   What|Removed |Added

 Whiteboard|| QA:needsComment

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151433] Crash in: SwFrame::FindPageFrame()

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151433

QA Administrators  changed:

   What|Removed |Added

 Ever confirmed|1   |0
 Status|NEEDINFO|UNCONFIRMED

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151433] Crash in: SwFrame::FindPageFrame()

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151433

--- Comment #3 from QA Administrators  ---
[Automated Action] NeedInfo-To-Unconfirmed

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147972] Track changes: insertion of a new table refused, because of record in track changes

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147972

--- Comment #3 from QA Administrators  ---
Dear Telesto,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147972] Track changes: insertion of a new table refused, because of record in track changes

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147972

QA Administrators  changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution|--- |INSUFFICIENTDATA

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147254] After changing the background color, on the screen the characters overlapped.

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147254

QA Administrators  changed:

   What|Removed |Added

 Resolution|--- |INSUFFICIENTDATA
 Status|NEEDINFO|RESOLVED

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144000] MAILMERGE: LO crashes on any mailmerge attempt - because of three-letter registered database name?

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144000

--- Comment #11 from QA Administrators  ---
Dear Michael Boxall,

This bug has been in NEEDINFO status with no change for at least
6 months. Please provide the requested information as soon as
possible and mark the bug as UNCONFIRMED. Due to regular bug
tracker maintenance, if the bug is still in NEEDINFO status with
no change in 30 days the QA team will close the bug as INSUFFICIENTDATA
due to lack of needed information.

For more information about our NEEDINFO policy please read the
wiki located here:
https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO

If you have already provided the requested information, please
mark the bug as UNCONFIRMED so that the QA team knows that the
bug is ready to be confirmed.

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-NeedInfo-Ping

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 147254] After changing the background color, on the screen the characters overlapped.

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=147254

--- Comment #8 from QA Administrators  ---
Dear Andrea Ventura,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 142885] FILESAVE: Cursor jumps to beginning of "File name" field in "Save As" dialog box after selecting text with mouse

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=142885

--- Comment #11 from QA Administrators  ---
Dear pidkameny,

This bug has been in NEEDINFO status with no change for at least
6 months. Please provide the requested information as soon as
possible and mark the bug as UNCONFIRMED. Due to regular bug
tracker maintenance, if the bug is still in NEEDINFO status with
no change in 30 days the QA team will close the bug as INSUFFICIENTDATA
due to lack of needed information.

For more information about our NEEDINFO policy please read the
wiki located here:
https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO

If you have already provided the requested information, please
mark the bug as UNCONFIRMED so that the QA team knows that the
bug is ready to be confirmed.

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-NeedInfo-Ping

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 142573] createLibraryLink() does not honor read-only parameter

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=142573

--- Comment #3 from QA Administrators  ---
Dear Vieri,

This bug has been in NEEDINFO status with no change for at least
6 months. Please provide the requested information as soon as
possible and mark the bug as UNCONFIRMED. Due to regular bug
tracker maintenance, if the bug is still in NEEDINFO status with
no change in 30 days the QA team will close the bug as INSUFFICIENTDATA
due to lack of needed information.

For more information about our NEEDINFO policy please read the
wiki located here:
https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO

If you have already provided the requested information, please
mark the bug as UNCONFIRMED so that the QA team knows that the
bug is ready to be confirmed.

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-NeedInfo-Ping

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 134585] Zooming in/out a 3D cube slow

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=134585

--- Comment #5 from QA Administrators  ---
Dear Telesto,

To make sure we're focusing on the bugs that affect our users today,
LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed
bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this
bug report. During that time, it's possible that the bug has been fixed, or the
details of the problem have changed. We'd really appreciate your help in
getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice
from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information
from Help - About LibreOffice.

If the bug is NOT present, please set the bug's Status field to
RESOLVED-WORKSFORME and leave a comment that includes the information from Help
- About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular
meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a
REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your
bug pertains to a feature added after 3.3) from
https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat:
https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 133583] Inserting new rows in a filed Calc sheet causes memory bumps of starting with +/-20 MB and more or less doubling for every row

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=133583

--- Comment #6 from QA Administrators  ---
Dear Telesto,

To make sure we're focusing on the bugs that affect our users today,
LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed
bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this
bug report. During that time, it's possible that the bug has been fixed, or the
details of the problem have changed. We'd really appreciate your help in
getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice
from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information
from Help - About LibreOffice.

If the bug is NOT present, please set the bug's Status field to
RESOLVED-WORKSFORME and leave a comment that includes the information from Help
- About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular
meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a
REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your
bug pertains to a feature added after 3.3) from
https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat:
https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 123515] Slow zoom with 3D object visible

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=123515

--- Comment #5 from QA Administrators  ---
Dear Telesto,

To make sure we're focusing on the bugs that affect our users today,
LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed
bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this
bug report. During that time, it's possible that the bug has been fixed, or the
details of the problem have changed. We'd really appreciate your help in
getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice
from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information
from Help - About LibreOffice.

If the bug is NOT present, please set the bug's Status field to
RESOLVED-WORKSFORME and leave a comment that includes the information from Help
- About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular
meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a
REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your
bug pertains to a feature added after 3.3) from
https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat:
https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 122778] Wrong focus after copy from another slide

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=122778

--- Comment #6 from QA Administrators  ---
Dear DarkTrick,

To make sure we're focusing on the bugs that affect our users today,
LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed
bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this
bug report. During that time, it's possible that the bug has been fixed, or the
details of the problem have changed. We'd really appreciate your help in
getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice
from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information
from Help - About LibreOffice.

If the bug is NOT present, please set the bug's Status field to
RESOLVED-WORKSFORME and leave a comment that includes the information from Help
- About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular
meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a
REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your
bug pertains to a feature added after 3.3) from
https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat:
https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 121063] Dragging 3D fontwork or scroll past it or zoom in/out & in Writer is sluggish and a CPU hog

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=121063

--- Comment #7 from QA Administrators  ---
Dear Telesto,

To make sure we're focusing on the bugs that affect our users today,
LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed
bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this
bug report. During that time, it's possible that the bug has been fixed, or the
details of the problem have changed. We'd really appreciate your help in
getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice
from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information
from Help - About LibreOffice.

If the bug is NOT present, please set the bug's Status field to
RESOLVED-WORKSFORME and leave a comment that includes the information from Help
- About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular
meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a
REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your
bug pertains to a feature added after 3.3) from
https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat:
https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151641] Options screen "Color scheme" - AUTOMATIC colors in DARK mode stays LIGHT (Windows only)

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151641

--- Comment #8 from V Stuart Foote  ---
Verified. The Tools -> Options -> Application Color 'Application background' is
following os/DE color theme "dark" or "light" with something useful.

Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 20ebccd6b349a1d9d3e057de55933c2805ff5d1a
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151754] No "add Textbox" Icon in Toolbar

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151754

V Stuart Foote  changed:

   What|Removed |Added

 CC||vsfo...@libreoffice.org
 Resolution|--- |NOTABUG
 Status|UNCONFIRMED |RESOLVED

--- Comment #2 from V Stuart Foote  ---
If you'd like the Text box button simply check it enabled.

Tools -> Customize -> Toolbar and set the Target to the "Drawing" toolbar. The
checkbox for the "Text box" (.uno:Text) is there and can be enabled.

The "Text box" is available on the "Text" toolbar, but the button is not shown
enabled by default on the Drawing toolbar.  Also would note that the default
 short cut assigned to the UNO performs the the action without needing the
to press the toolbar button.  Just  and draw the Text box rectangle...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151756] Menu text almost invisible

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151756

V Stuart Foote  changed:

   What|Removed |Added

 CC||vsfo...@libreoffice.org
 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEEDINFO

--- Comment #1 from V Stuart Foote  ---
Please enable "Experimental features" and retest.  The checkbox Tools ->
Options -> Advanced panel, and restart.

Also, some additional work that will be in 7.5 available now with nightly
master.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-commits] core.git: Branch 'distro/mimo/mimo-7-3' - emfio/source

2022-10-25 Thread Caolán McNamara (via logerrit)
 emfio/source/reader/wmfreader.cxx |1 +
 1 file changed, 1 insertion(+)

New commits:
commit f5654d4c4868f9960ba0b93905b3727ab49f48b7
Author: Caolán McNamara 
AuthorDate: Tue Oct 25 11:20:15 2022 +0100
Commit: Aron Budea 
CommitDate: Wed Oct 26 02:27:49 2022 +0200

cid#1516423 Uninitialized scalar field

Change-Id: If60dfb726ba42bcb96a2d218bb81cb700f4c71f2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141805
Tested-by: Jenkins
Reviewed-by: Caolán McNamara 
(cherry picked from commit 9c4b2231eeb358858b9da573511e1f7ff1e85fbc)

diff --git a/emfio/source/reader/wmfreader.cxx 
b/emfio/source/reader/wmfreader.cxx
index 4985c0aac8b3..f17654097ba0 100644
--- a/emfio/source/reader/wmfreader.cxx
+++ b/emfio/source/reader/wmfreader.cxx
@@ -2051,6 +2051,7 @@ namespace emfio
 : MtfTools(rGDIMetaFile, rStreamWMF)
 , mnUnitsPerInch(96)
 , mnRecSize(0)
+, mbPlaceable(false)
 , mnEMFRecCount(0)
 , mnEMFRec(0)
 , mnEMFSize(0)


[Libreoffice-bugs] [Bug 149588] FILEOPEN PPTX: text box shows that does not show in PowerPoint

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=149588

--- Comment #3 from Gerald Pfeifer  ---
Bug #151547 (in form of a larger reproducer) appeared related/similar
originally, but it turned out that while that one is fixed it has a
different root cause, and I verified this one is still relevant with

  Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
  Build ID: 2486d99c6053af1414117faac2c0db18c0d344c4
  CPU threads: 8; OS: Linux 6.0; UI render: default; VCL: gtk3
  Locale: en-US (en_US.UTF-8); UI: en-US

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 149588] FILEOPEN PPTX: text box shows that does not show in PowerPoint

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=149588

Gerald Pfeifer  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=15
   ||1547

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 132234] Page is visible but scrolling when clicking on it

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=132234

--- Comment #10 from Rajasekaran Karunanithi  ---
I did the same steps from first comment.Can't reproduce in LO 7.5.0.0.alpha+
under Windows 10 (x64).

Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: cc038c471e96d766db404388b140364614898bf2
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-IN (en_IN); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 106547] [META] OOXML SmartArt bug tracker

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=106547
Bug 106547 depends on bug 83671, which changed state.

Bug 83671 Summary: Fileopen XLSX: SmartArt is not displayed
https://bugs.documentfoundation.org/show_bug.cgi?id=83671

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-commits] core.git: oox/source sc/qa sc/subsequent_setup.mk

2022-10-25 Thread Regina Henschel (via logerrit)
 oox/source/drawingml/shape.cxx  |7 
 sc/qa/unit/subsequent_filters_test2.cxx |   48 
 sc/subsequent_setup.mk  |1 
 3 files changed, 56 insertions(+)

New commits:
commit 17dfc9a9da009cc23de3fb4e2cef9c97d581
Author: Regina Henschel 
AuthorDate: Tue Oct 25 17:37:04 2022 +0200
Commit: Regina Henschel 
CommitDate: Wed Oct 26 00:40:00 2022 +0200

tdf#83671 SmartArt: preserve pos and size for metafile

Import of a SmartArt creates a group with a background shape and then
the SmartArt shapes. The background shape determines the position and
size of the group.

The method Shape::convertSmartArtToMetafile() replaces the existing
SmartArt shapes with a metafile object and thereby throws away the
background shape. Thus the group takes it size from the metafile object,
which has default size 100x100 (Hmm) and position 0|0.
The patch remembers the original size and position from the background
shape and applies it then to the metafile shape.

Change-Id: Id7b1ccd20b2597c5e2adca7294a994fd2e0e066f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141830
Tested-by: Jenkins
Reviewed-by: Regina Henschel 

diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx
index e43b6b9ed5b0..7357e36f0481 100644
--- a/oox/source/drawingml/shape.cxx
+++ b/oox/source/drawingml/shape.cxx
@@ -1966,9 +1966,16 @@ void Shape::convertSmartArtToMetafile(XmlFilterBase 
const & rFilterBase)
 // from them
 Reference xShape(renderDiagramToGraphic(rFilterBase));
 Reference xShapes(mxShape, UNO_QUERY_THROW);
+tools::Rectangle aBackgroundRect
+= SdrObject::getSdrObjectFromXShape(
+  Reference(xShapes->getByIndex(0), UNO_QUERY_THROW))
+  ->GetLogicRect();
 while (xShapes->hasElements())
 xShapes->remove(Reference(xShapes->getByIndex(0), 
UNO_QUERY_THROW));
 xShapes->add(xShape);
+SdrObject::getSdrObjectFromXShape(
+Reference(xShapes->getByIndex(0), UNO_QUERY_THROW))
+->NbcSetLogicRect(aBackgroundRect);
 }
 catch (const Exception&)
 {
diff --git a/sc/qa/unit/subsequent_filters_test2.cxx 
b/sc/qa/unit/subsequent_filters_test2.cxx
index 1ce547a23373..8ae23af8048c 100644
--- a/sc/qa/unit/subsequent_filters_test2.cxx
+++ b/sc/qa/unit/subsequent_filters_test2.cxx
@@ -187,6 +187,7 @@ public:
 void testInvalidBareBiff5();
 void testTooManyColsRows();
 void testTdf83671_SmartArt_import();
+void testTdf83671_SmartArt_import2();
 
 CPPUNIT_TEST_SUITE(ScFiltersTest2);
 
@@ -304,6 +305,7 @@ public:
 CPPUNIT_TEST(testInvalidBareBiff5);
 CPPUNIT_TEST(testTooManyColsRows);
 CPPUNIT_TEST(testTdf83671_SmartArt_import);
+CPPUNIT_TEST(testTdf83671_SmartArt_import2);
 
 CPPUNIT_TEST_SUITE_END();
 };
@@ -3089,6 +3091,52 @@ void ScFiltersTest2::testTdf83671_SmartArt_import()
 xDocSh->DoClose();
 }
 
+void ScFiltersTest2::testTdf83671_SmartArt_import2()
+{
+// The example doc contains a diagram (SmartArt). Such should be imported 
as group object.
+// With conversion enabled, the group contains only a graphic. Error was, 
that the shape
+// had size 100x100 Hmm and position 0|0.
+
+// Make sure SmartArt is loaded with converting to metafile
+bool bUseGroup = 
officecfg::Office::Common::Filter::Microsoft::Import::SmartArtToShapes::get();
+if (bUseGroup)
+{
+std::shared_ptr pChange(
+comphelper::ConfigurationChanges::create());
+
officecfg::Office::Common::Filter::Microsoft::Import::SmartArtToShapes::set(false,
 pChange);
+pChange->commit();
+}
+
+// Get document and shape
+ScDocShellRef xDocSh = loadDoc(u"tdf83671_SmartArt_import.", FORMAT_XLSX);
+ScDocument& rDoc = xDocSh->GetDocument();
+ScDrawLayer* pDrawLayer = rDoc.GetDrawLayer();
+SdrPage* pPage = pDrawLayer->GetPage(0);
+SdrObject* pObj = pPage->GetObj(0);
+
+// Check that it is a group shape with 1 child
+CPPUNIT_ASSERT(pObj->IsGroupObject());
+SdrObjList* pChildren = pObj->getChildrenOfSdrObject();
+CPPUNIT_ASSERT_EQUAL(size_t(1), pChildren->GetObjCount());
+
+// The child shape should have about 60mm x 42mm size and position 
1164|1270.
+// Without fix its size was 100x100 and position 0|0.
+tools::Rectangle aBackground = pChildren->GetObj(0)->GetLogicRect();
+CPPUNIT_ASSERT_DOUBLES_EQUAL(sal_Int32(6000), aBackground.getOpenWidth(), 
10);
+CPPUNIT_ASSERT_DOUBLES_EQUAL(sal_Int32(4200), aBackground.getOpenHeight(), 
10);
+CPPUNIT_ASSERT_EQUAL(Point(1164, 1270), aBackground.GetPos());
+
+if (bUseGroup)
+{
+std::shared_ptr pChange(
+comphelper::ConfigurationChanges::create());
+
officecfg::Office::Common::Filter::Microsoft::Import::SmartArtToShapes::set(true,
 pChange);
+pChange->commit();
+ 

[Libreoffice-commits] core.git: sw/source

2022-10-25 Thread Andrea Gelmini (via logerrit)
 sw/source/core/ole/ndole.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bb07b2e2dba871d8b5c5fb99ea3dbf176c756025
Author: Andrea Gelmini 
AuthorDate: Tue Oct 25 16:43:34 2022 +0200
Commit: Adolfo Jayme Barrientos 
CommitDate: Wed Oct 26 00:32:57 2022 +0200

Fix typo

Change-Id: If5476a32e780870725247aba6be50ba50bd54915
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141828
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos 

diff --git a/sw/source/core/ole/ndole.cxx b/sw/source/core/ole/ndole.cxx
index 12e24de606d4..0435a370914c 100644
--- a/sw/source/core/ole/ndole.cxx
+++ b/sw/source/core/ole/ndole.cxx
@@ -1110,7 +1110,7 @@ drawinglayer::primitive2d::Primitive2DContainer const & 
SwOLEObj::tryToGetChartC
&& m_nGraphicVersion != GetObject().getGraphicVersion())
 {
 // tdf#149189 use getGraphicVersion() from EmbeddedObjectRef
-// to decide when to reset bufferd data. It gets incremented
+// to decide when to reset buffered data. It gets incremented
 // at all occasions where the graphic changes. An alternative
 // would be to extend SwOLEListener_Impl with a XModifyListener
 // as it is done in EmbedEventListener_Impl, that would


[Libreoffice-bugs] [Bug 151723] When printout (to the printer or to .pdf) table from Writer see the horizontal line of the table incorrect

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151723

--- Comment #9 from m.a.riosv  ---
Sometimes happens, specially when updating version, that broke something in the
user profile.

You clean the profile in the options to restart in safe mode.

First, you can take a look in the Menu/Tools/Options/View and in Writer
options.

There are thousands of entries in the user profile, so it no so easy to find
the issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151753] Cannot change data range of Chart based on non-continues range of Writer table

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151753

--- Comment #2 from m.a.riosv  ---
Even with something on the blank top left cell, the problem appears after
save-reopen.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151753] Cannot change data range of Chart based on non-continues range of Writer table

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151753

m.a.riosv  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEW
 CC||miguelangelrv@libreoffice.o
   ||rg

--- Comment #1 from m.a.riosv  ---
On your sample file, the range field it's, but deleting the chart and creating
it again it shows fine for me the range.

Your range has:
Table1.A2:A4;Table1.B1:B4;Table1.D1:E4
instead
Table1.A1:A4;Table1.B1:B4;Table1.D1:E4

With the range right, after save and reopening A1 it's changed to A2.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-commits] core.git: Branch 'distro/collabora/co-22.05' - libreofficekit/source sw/source

2022-10-25 Thread Mike Kaganski (via logerrit)
 libreofficekit/source/gtk/lokdocview.cxx |   79 +--
 sw/source/uibase/uno/unotxdoc.cxx|5 -
 2 files changed, 25 insertions(+), 59 deletions(-)

New commits:
commit 3005bd3793e76f8c010a9e774cfb508de406a3d1
Author: Mike Kaganski 
AuthorDate: Tue Oct 25 11:49:55 2022 +0200
Commit: Mike Kaganski 
CommitDate: Tue Oct 25 23:35:04 2022 +0200

Consistently set document view also for zoom event

And extract this code to a dedicated function.

The problem was, that creating a new view sets the document's current
view shell (in SwViewGlueDocShell); upon destruction, document's view
shell is set to nullptr. In desktop case, document view shell is then
reset to another active shell e.g. inside "grab focus" event, which
makes all following operations safe. But in gtktiledviewer case, the
"grab focus" event is not handled, so setClientZoomInThread resulted
in eventual nullptr dereference.

It was workarounded in commit 25de85bc3ce2d2f9b7736f65492f42579048da27
  Date   Fri Oct 21 21:14:04 2022 +0200
nullptr check

but that was not the proper fix.

Possibly it could also be reasonable to start handling "focus-in-event"
[1] in gtktiledviewer; but since just setting the view consistently in
setClientZoomInThread solves the problem, it looks excessive.

This reverts commit 25de85bc3ce2d2f9b7736f65492f42579048da27.

[1] https://docs.gtk.org/gtk3/signal.Widget.focus-in-event.html

Change-Id: Iac4ff4e9b043aec0e0af6ed811c0e7f018378271
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141753
Tested-by: Mike Kaganski 
Reviewed-by: Mike Kaganski 
(cherry picked from commit 2e34b2f32586947ca1e93dee9ab482372d604d10)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141836
Tested-by: Jenkins CollaboraOffice 

diff --git a/libreofficekit/source/gtk/lokdocview.cxx 
b/libreofficekit/source/gtk/lokdocview.cxx
index 9e9e5195d307..ebe8e8c91d68 100644
--- a/libreofficekit/source/gtk/lokdocview.cxx
+++ b/libreofficekit/source/gtk/lokdocview.cxx
@@ -257,6 +257,15 @@ struct LOKDocViewPrivateImpl
 }
 };
 
+// Must be run with g_aLOKMutex locked
+void setDocumentView(LibreOfficeKitDocument* pDoc, int viewId)
+{
+assert(pDoc);
+std::stringstream ss;
+ss << "lok::Document::setView(" << viewId << ")";
+g_info("%s", ss.str().c_str());
+pDoc->pClass->setView(pDoc, viewId);
+}
 }
 
 /// Wrapper around LOKDocViewPrivateImpl, managed by malloc/memset/free.
@@ -597,10 +606,8 @@ postKeyEventInThread(gpointer data)
 gint nTileSizePixelsScaled = nTileSizePixels * nScaleFactor;
 
 std::scoped_lock aGuard(g_aLOKMutex);
+setDocumentView(priv->m_pDocument, priv->m_nViewId);
 std::stringstream ss;
-ss << "lok::Document::setView(" << priv->m_nViewId << ")";
-g_info("%s", ss.str().c_str());
-priv->m_pDocument->pClass->setView(priv->m_pDocument, priv->m_nViewId);
 
 if (priv->m_nTileSizeTwips)
 {
@@ -2174,10 +2181,7 @@ lok_doc_view_signal_motion (GtkWidget* pWidget, 
GdkEventMotion* pEvent)
 GError* error = nullptr;
 
 std::unique_lock aGuard(g_aLOKMutex);
-std::stringstream ss;
-ss << "lok::Document::setView(" << priv->m_nViewId << ")";
-g_info("%s", ss.str().c_str());
-priv->m_pDocument->pClass->setView(priv->m_pDocument, priv->m_nViewId);
+setDocumentView(priv->m_pDocument, priv->m_nViewId);
 if (priv->m_bInDragMiddleHandle)
 {
 g_info("lcl_signalMotion: dragging the middle handle");
@@ -2275,11 +2279,8 @@ setGraphicSelectionInThread(gpointer data)
 LOEvent* pLOEvent = static_cast(g_task_get_task_data(task));
 
 std::scoped_lock aGuard(g_aLOKMutex);
+setDocumentView(priv->m_pDocument, priv->m_nViewId);
 std::stringstream ss;
-ss << "lok::Document::setView(" << priv->m_nViewId << ")";
-g_info("%s", ss.str().c_str());
-priv->m_pDocument->pClass->setView(priv->m_pDocument, priv->m_nViewId);
-ss.str(std::string());
 ss << "lok::Document::setGraphicSelection(" << 
pLOEvent->m_nSetGraphicSelectionType;
 ss << ", " << pLOEvent->m_nSetGraphicSelectionX;
 ss << ", " << pLOEvent->m_nSetGraphicSelectionY << ")";
@@ -2299,6 +2300,7 @@ setClientZoomInThread(gpointer data)
 LOEvent* pLOEvent = static_cast(g_task_get_task_data(task));
 
 std::scoped_lock aGuard(g_aLOKMutex);
+setDocumentView(priv->m_pDocument, priv->m_nViewId);
 priv->m_pDocument->pClass->setClientZoom(priv->m_pDocument,
  pLOEvent->m_nTilePixelWidth,
  pLOEvent->m_nTilePixelHeight,
@@ -2315,11 +2317,8 @@ postMouseEventInThread(gpointer data)
 LOEvent* pLOEvent = static_cast(g_task_get_task_data(task));
 
 std::scoped_lock aGuard(g_aLOKMutex);
+setDocumentView(priv->m_pDocument, priv->m_nViewId);
 std::stringstream ss;
-ss << "lok::Document::setView(" << 

[Libreoffice-bugs] [Bug 151750] SUMs wrong in Calc

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151750

m.a.riosv  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |NOTABUG
 CC||miguelangelrv@libreoffice.o
   ||rg

--- Comment #1 from m.a.riosv  ---
You need to import properly the csv.

When copy use unformatted text option (arrow on the right of paste button) or
use Menu/Edit/Paste special
Tow ways:
1 - Selecting as language one with dot as decimal separator, like English (UK
or US).
2 - Select all columns, by clicking in the top left corner, and selecting in
the 'column type' box 'US English'.

Please when you have this kind of question ask first search in
https://ask.libreoffice.org/ and if you don't find any answer do your question
there.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151508] Not possible to add words to dictionary from context menu with LanguageTool installed

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151508

--- Comment #1 from Marcin Segit  ---
Checked LibreOfficeDev_7.5.0.0.alpha0_Win_x86-64 from 25-Oct-2022, same thing
with the extension installed.
The problem disappears when switched to LanguageTool server solution, however,
basic service lacks many grammar rules, so it's not a solution for issues with
the extension.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-commits] core.git: sfx2/source

2022-10-25 Thread Stephan Bergmann (via logerrit)
 sfx2/source/dialog/templdlg.cxx |   36 ++--
 1 file changed, 18 insertions(+), 18 deletions(-)

New commits:
commit dc8fc774c35cc935331e04ddb8ab7646ffca775e
Author: Stephan Bergmann 
AuthorDate: Tue Oct 25 14:37:37 2022 +0200
Commit: Stephan Bergmann 
CommitDate: Tue Oct 25 23:14:05 2022 +0200

Address a constexpr template point of instantiation issue

...that hits at least when building with Clang and --with-latest-c++ against
recent libc++ or MSVC standard library (where C++20 and esp. C++23 made 
more and
more class template member functions constexpr).  My understanding is that 
there
is some leeway at what point a compiler should instantiate such function
specializations, and Clang decides to instantiate constexpr ones early (cf.


"C++11 half of r147023: In C++11, additionally eagerly instantiate:" and 
its "Do
not defer instantiations of constexpr functions" comment, and the 
discussion at

).

> In file included from sfx2/source/dialog/templdlg.cxx:20:
> In file included from ~/llvm/inst/bin/../include/c++/v1/memory:881:
> In file included from 
~/llvm/inst/bin/../include/c++/v1/__memory/shared_ptr.h:30:
> ~/llvm/inst/bin/../include/c++/v1/__memory/unique_ptr.h:47:19: error: 
invalid application of 'sizeof' to an incomplete type 'ToolbarDropTarget'
> static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
>   ^~~
> ~/llvm/inst/bin/../include/c++/v1/__memory/unique_ptr.h:281:7: note: in 
instantiation of member function 
'std::default_delete::operator()' requested here
>   __ptr_.second()(__tmp);
>   ^
> ~/llvm/inst/bin/../include/c++/v1/__memory/unique_ptr.h:247:75: note: in 
instantiation of member function 'std::unique_ptr::reset' 
requested here
>   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { 
reset(); }
>   
^
> sfx2/source/dialog/templdlg.cxx:665:25: note: in instantiation of member 
function 'std::unique_ptr::~unique_ptr' requested here
> SfxTemplateDialog_Impl::SfxTemplateDialog_Impl(SfxBindings* pB, 
SfxTemplatePanelControl* pDlgWindow)
> ^
> sfx2/source/inc/templdgi.hxx:198:7: note: forward declaration of 
'ToolbarDropTarget'
> class ToolbarDropTarget;
>   ^

Change-Id: I360f35e01e301bca6fa801a889b6d107f67faf15
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141818
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann 

diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index dc5763cce33b..fb9f8c1a0bc1 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -662,24 +662,6 @@ void 
SfxCommonTemplateDialog_Impl::EnableExample_Impl(sal_uInt16 nId, bool bEnab
 }
 }
 
-SfxTemplateDialog_Impl::SfxTemplateDialog_Impl(SfxBindings* pB, 
SfxTemplatePanelControl* pDlgWindow)
-: SfxCommonTemplateDialog_Impl(pB, pDlgWindow->get_container(), 
pDlgWindow->get_builder())
-, m_xActionTbL(pDlgWindow->get_builder()->weld_toolbar("left"))
-, m_xActionTbR(pDlgWindow->get_builder()->weld_toolbar("right"))
-, m_xToolMenu(pDlgWindow->get_builder()->weld_menu("toolmenu"))
-, m_nActionTbLVisible(0)
-{
-m_xActionTbR->set_item_help_id("watercan", HID_TEMPLDLG_WATERCAN);
-// shown/hidden in SfxTemplateDialog_Impl::ReplaceUpdateButtonByMenu()
-m_xActionTbR->set_item_help_id("new", HID_TEMPLDLG_NEWBYEXAMPLE);
-m_xActionTbR->set_item_help_id("newmenu", HID_TEMPLDLG_NEWBYEXAMPLE);
-m_xActionTbR->set_item_menu("newmenu", m_xToolMenu.get());
-m_xToolMenu->connect_activate(LINK(this, SfxTemplateDialog_Impl, 
ToolMenuSelectHdl));
-m_xActionTbR->set_item_help_id("update", HID_TEMPLDLG_UPDATEBYEXAMPLE);
-
-Initialize();
-}
-
 class ToolbarDropTarget final : public DropTargetHelper
 {
 private:
@@ -703,6 +685,24 @@ public:
 }
 };
 
+SfxTemplateDialog_Impl::SfxTemplateDialog_Impl(SfxBindings* pB, 
SfxTemplatePanelControl* pDlgWindow)
+: SfxCommonTemplateDialog_Impl(pB, pDlgWindow->get_container(), 
pDlgWindow->get_builder())
+, m_xActionTbL(pDlgWindow->get_builder()->weld_toolbar("left"))
+, m_xActionTbR(pDlgWindow->get_builder()->weld_toolbar("right"))
+, m_xToolMenu(pDlgWindow->get_builder()->weld_menu("toolmenu"))
+, m_nActionTbLVisible(0)
+{
+m_xActionTbR->set_item_help_id("watercan", HID_TEMPLDLG_WATERCAN);
+// shown/hidden in SfxTemplateDialog_Impl::ReplaceUpdateButtonByMenu()
+m_xActionTbR->set_item_help_id("new", HID_TEMPLDLG_NEWBYEXAMPLE);
+m_xActionTbR->set_item_help_id("newmenu", HID_TEMPLDLG_NEWBYEXAMPLE);
+

[Libreoffice-bugs] [Bug 139195] Formatting paragraphs or fonts in tables not working after upgrade to 7.0.1.2 (x64)

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=139195

Gerhard Weydt  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 CC||amadorgil...@gmail.com
 Status|NEEDINFO|RESOLVED

--- Comment #10 from Gerhard Weydt  ---
I tested with version 7.3.3.2 and ca confirm that the bug is no longer there.
As the creator of the bug report didn't get active, I set the status to fixed.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151712] it's mess up word fie using table in a4

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151712

--- Comment #3 from m.a.riosv  ---
Created attachment 183273
  --> https://bugs.documentfoundation.org/attachment.cgi?id=183273=edit
Screenshot for print

(In reply to Sven Åke Carlsson from comment #0)
> 
> from it looks like then you try to print out 1.5 page on on side 
> it split it like this
Please, can you detail what this mean.
> ==
> ==
> ==
> 
> ===
> ===
> 
> instead of 
> 
> ==
> ==
> ==
> ==
Should be the whole text justified, not left aligned?
>...

Attached a screenshot about how I see on print dialog.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151738] Unreadable Help contents - light font on white background in dark mode (Windows)

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151738

--- Comment #10 from m.a.riosv  ---
It was with dark mode in Win10 and FF.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151731] Crash when saving file after manual word wrap in cell (ODS file)

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151731

--- Comment #2 from Frank Jäger  ---
I have to add, that the crash only happens, if I use the floppy symbol to save
the document. I had today the same problem again and again, so I tried a way
out and used save as and save in the menu. Doing so I could avoid the problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151723] When printout (to the printer or to .pdf) table from Writer see the horizontal line of the table incorrect

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151723

--- Comment #8 from Joseph  ---
Created attachment 183272
  --> https://bugs.documentfoundation.org/attachment.cgi?id=183272=edit
borders view (size)

If I understood correct you may see borders lines in attachment.

Also tried again both from .odt and .doc format IN SAFE MODE looks fine!
But why in normal mode problem ?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Re: Unittest problem with service com.sun.star.drawing.GraphicExportFilter

2022-10-25 Thread Regina Henschel

Hi Michael,

Michael Stahl schrieb am 25.10.2022 um 18:36:

On 25.10.22 18:24, Regina Henschel wrote:

Hi all,

this is about https://gerrit.libreoffice.org/c/core/+/141830
tdf#83671 SmartArt: preserve pos and size for metafile

If you try the patch, you will see, that the SmartArt is imported in 
Calc as group object with one child object. The child is a 
"com.sun.star.drawing.GraphicObjectShape". Copying to Draw shows, that 
it is indeed a metafile. So the patch seems to be correct.


But the unit test fails. It has the warning
warn:oox.drawingml:2860:13240:oox/source/drawingml/shape.cxx:2039: 
Shape::renderDiagramToGraphic com.sun.star.uno.DeploymentException 
message: "component context fails to supply service 
com.sun.star.drawing.GraphicExportFilter of type 
com.sun.star.drawing.XGraphicExportFilter"


The warning comes from method create() from class GraphicExportFilter, 
where creating of "the_instance" fails. And so indeed no metafile is 
created.


I have no idea about the reason as in a normal running LO the import 
works and resaving as ods or xlsx has no problems.


the unit test makefile is missing some component file.


Ah. I wouldn't have thought of that.



many unit tests use the whole services.rdb but some unfortunately have a 
long list of individiual files inside a call to 
gb_CppunitTest_use_components.


CppunitTest_sc_subsequent_filters_test2.mk is:
$(eval $(call sc_subsequent_test,filters_test2))

That is, it uses template sc_subsequent_test in subsequent_setup.mk

I have added svx/util/svxcore there and now the unit test works.



you can find the component file with a command like this:

git grep com.sun.star.drawing.GraphicExportFilter $(git ls-files 
'*.component')
svx/util/svxcore.component:    name="com.sun.star.drawing.GraphicExportFilter"/>


then add the "svx/util/svxcore" to the gb_CppunitTest_use_components 
list in the test's CppunitTest_*.mk - don't forget the '\' must be the 
last character of the line.




Thank you for your quick help.

Kind regards,
Regina



[Libreoffice-bugs] [Bug 151759] New: Writer 7.4.x ignores Win10 Dell printer driver tray settings

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151759

Bug ID: 151759
   Summary: Writer 7.4.x ignores Win10 Dell printer driver tray
settings
   Product: LibreOffice
   Version: 7.4.0.3 release
  Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: fluidsta...@hotmail.com

Description:
Win10 21H2, LO 7.4.2, Dell C2660 using standard Windows Type 3 PCL6 Dell C2660
driver.



Steps to Reproduce:
1.Open / create a new document and select Print. Select printer (Dell C2660)
from drop-down menu in dialog.
2. Hit PROPERTIES button on print dialog to bring up printer settings, set MPF
and relevant paper type.
3. Close printer properties dialog, hit PRINT.

Actual Results:
Program will always send document to TRAY 1 paper source, not [manually
selected] MPF tray source.

Expected Results:
Should pick paper from MPF feed tray source.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Note this problem only occurs on this program.  All other programs on the same
computer - Firefox, Adobe Acrobat X, Photoshop, InDesign, custom industry apps
- all other programs properly send document to MPF if you actually select MPF. 
Only LW 7.4.x refused to send document to MPF, forcing a Tray 1 output.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-commits] core.git: Branch 'libreoffice-7-4' - svx/qa svx/source

2022-10-25 Thread Miklos Vajna (via logerrit)
 svx/qa/unit/data/page-view-draw-layer-clip.docx |binary
 svx/qa/unit/svdraw.cxx  |   37 
 svx/source/svdraw/svdpagv.cxx   |2 -
 3 files changed, 38 insertions(+), 1 deletion(-)

New commits:
commit 475e698826e2103bdc78ac286e1fc8970363638e
Author: Miklos Vajna 
AuthorDate: Mon Oct 10 20:38:40 2022 +0200
Commit: Xisco Fauli 
CommitDate: Tue Oct 25 21:08:12 2022 +0200

tdf#151060 sw PDF export: don't paint off-page part of drawing object

Reported to be a regression from
c12358166a9bd88fe10feabca45a6ad3f65dff8e (DOCX import: fix lost objects
anchored to an empty linked header, 2020-01-10), the 3rd page of the PDF
export result contains an unexpected line shape.

This was "working" before as all objects anchored to the empty header
were lost.

Fix the problem by clipping the rendering to the page frame when
handling shapes, similar to what
689cead9e0837dc932e3a4cd765f7d319b529018 (tdf#91260 svx, sw: don't paint
off-page part of drawing object, 2016-12-06) did to fix the normal
rendering of the document.

The testcase document just has 2 pages, so there the unexpected shape
was on the 2nd page.

Change-Id: Ica24cd15717a1ee97dff448d385a10536671103e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141167
Tested-by: Jenkins
Reviewed-by: Miklos Vajna 
(cherry picked from commit bab44a97d21d0ac8a8a06678e71024c1a830943f)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141180
Reviewed-by: Xisco Fauli 

diff --git a/svx/qa/unit/data/page-view-draw-layer-clip.docx 
b/svx/qa/unit/data/page-view-draw-layer-clip.docx
new file mode 100644
index ..7136a800f01f
Binary files /dev/null and b/svx/qa/unit/data/page-view-draw-layer-clip.docx 
differ
diff --git a/svx/qa/unit/svdraw.cxx b/svx/qa/unit/svdraw.cxx
index dacf558c5f7f..564998bcf9a9 100644
--- a/svx/qa/unit/svdraw.cxx
+++ b/svx/qa/unit/svdraw.cxx
@@ -15,6 +15,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
@@ -37,6 +38,8 @@
 #include 
 #include 
 #include 
+#include 
+#include 
 
 #include 
 
@@ -512,6 +515,40 @@ CPPUNIT_TEST_FIXTURE(SvdrawTest, testVideoSnapshot)
 // i.e. ~25% crop from left and right should result in half width, but it 
was not reduced.
 CPPUNIT_ASSERT_EQUAL(static_cast(321), 
rBitmap.GetSizePixel().getWidth());
 }
+
+CPPUNIT_TEST_FIXTURE(SvdrawTest, testPageViewDrawLayerClip)
+{
+// Given a document with 2 pages, first page footer has an off-page line 
shape:
+OUString aURL = 
m_directories.getURLFromSrc(u"svx/qa/unit/data/page-view-draw-layer-clip.docx");
+mxComponent = loadFromDesktop(aURL);
+
+// When saving that document to PDF:
+utl::TempFile aTempFile;
+uno::Reference xStorable(mxComponent, uno::UNO_QUERY);
+utl::MediaDescriptor aMediaDescriptor;
+aMediaDescriptor["FilterName"] <<= OUString("writer_pdf_Export");
+xStorable->storeToURL(aTempFile.GetURL(), 
aMediaDescriptor.getAsConstPropertyValueList());
+
+// Then make sure that line shape gets clipped:
+SvFileStream aFile(aTempFile.GetURL(), StreamMode::READ);
+SvMemoryStream aMemory;
+aMemory.WriteStream(aFile);
+std::shared_ptr pPDFium = vcl::pdf::PDFiumLibrary::get();
+if (!pPDFium)
+{
+return;
+}
+std::unique_ptr pDoc
+= pPDFium->openDocument(aMemory.GetData(), aMemory.GetSize(), 
OString());
+std::unique_ptr pPage1 = pDoc->openPage(0);
+CPPUNIT_ASSERT_EQUAL(3, pPage1->getObjectCount());
+std::unique_ptr pPage2 = pDoc->openPage(1);
+// Without the accompanying fix in place, this test would have failed with:
+// - Expected: 2
+// - Actual  : 3
+// i.e. the 2nd page had a line shape from the first page's footer.
+CPPUNIT_ASSERT_EQUAL(2, pPage2->getObjectCount());
+}
 }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/svdraw/svdpagv.cxx b/svx/source/svdraw/svdpagv.cxx
index 0e35d09b080e..60cd8cfe8ca0 100644
--- a/svx/source/svdraw/svdpagv.cxx
+++ b/svx/source/svdraw/svdpagv.cxx
@@ -262,7 +262,7 @@ void SdrPageView::DrawLayer(SdrLayerID nID, OutputDevice* 
pGivenTarget,
 if(pKnownTarget)
 {
 // paint known target
-pKnownTarget->RedrawLayer(, pRedirector, nullptr);
+pKnownTarget->RedrawLayer(, pRedirector, pPageFrame);
 }
 else
 {


[Libreoffice-commits] core.git: Branch 'libreoffice-7-4' - include/tools tools/CppunitTest_tools_test.mk tools/qa tools/source

2022-10-25 Thread Mike Kaganski (via logerrit)
 include/tools/stream.hxx |3 --
 tools/CppunitTest_tools_test.mk  |1 
 tools/qa/cppunit/test_stream.cxx |   40 +++
 tools/source/stream/stream.cxx   |   17 
 4 files changed, 55 insertions(+), 6 deletions(-)

New commits:
commit 92c774afadec0019059536dba3f941b986489246
Author: Mike Kaganski 
AuthorDate: Tue Oct 18 15:00:02 2022 +0300
Commit: Xisco Fauli 
CommitDate: Tue Oct 25 21:07:19 2022 +0200

Fix StartWritingUnicodeText

Its comment in include/tools/stream.hxx tells:
  Switch to no endian swapping and write 0xfeff

It was introduced in commit 3c2105e07d29b2069349e1a54e08463d359f988f
  Author Eike Rathke 
  Date   Fri Dec 22 00:19:05 2000 +
new: read/write Unicode or Bytecode

and included a call to SetEndianSwap( FALSE ). That call was dropped
in commit 8130714148d58dd2bf1ef12dcc6dd6d5838be0d1
  Author Noel Grandin 
  Date   Mon Jan 05 08:47:31 2015 +0200
fdo#84938: replace NUMBERFORMAT_INT_ constants with 'enum class'

(likely by accident).

To simplify the fix, drop redundant m_nEndian: m_isSwap is enough.

Change-Id: Ia9a0fe2d55563e7ba21bd4cf17c4ca999c6feaf7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141521
Tested-by: Jenkins
Reviewed-by: Mike Kaganski 
Signed-off-by: Xisco Fauli 
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141777

diff --git a/include/tools/stream.hxx b/include/tools/stream.hxx
index 897af71d5021..39e8dc52f65a 100644
--- a/include/tools/stream.hxx
+++ b/include/tools/stream.hxx
@@ -161,7 +161,6 @@ private:
 boolm_isSwap;
 boolm_isEof;
 ErrCode m_nError;
-SvStreamEndian  m_nEndian;
 SvStreamCompressFlags m_nCompressMode;
 LineEnd m_eLineDelimiter;
 rtl_TextEncoding m_eStreamCharSet;
@@ -207,7 +206,7 @@ public:
 virtual voidResetError();
 
 voidSetEndian( SvStreamEndian SvStreamEndian );
-SvStreamEndian  GetEndian() const { return m_nEndian; }
+SvStreamEndian  GetEndian() const;
 /// returns status of endian swap flag
 boolIsEndianSwap() const { return m_isSwap; }
 
diff --git a/tools/CppunitTest_tools_test.mk b/tools/CppunitTest_tools_test.mk
index c36af07547c2..c9e49a4fa5cf 100644
--- a/tools/CppunitTest_tools_test.mk
+++ b/tools/CppunitTest_tools_test.mk
@@ -61,6 +61,7 @@ $(eval $(call gb_CppunitTest_use_libraries,tools_test, \
 tl \
 test \
 unotest \
+utl \
 ))
 
 $(eval $(call gb_CppunitTest_use_static_libraries,tools_test, \
diff --git a/tools/qa/cppunit/test_stream.cxx b/tools/qa/cppunit/test_stream.cxx
index 4672af6c70c9..02fe22343130 100644
--- a/tools/qa/cppunit/test_stream.cxx
+++ b/tools/qa/cppunit/test_stream.cxx
@@ -12,6 +12,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 
 //Tests for eofbit/badbit/goodbit/failbit
@@ -27,6 +28,7 @@ namespace
 void test_read_cstring();
 void test_read_pstring();
 void test_readline();
+void test_write_unicode();
 
 CPPUNIT_TEST_SUITE(Test);
 CPPUNIT_TEST(test_stdstream);
@@ -34,6 +36,7 @@ namespace
 CPPUNIT_TEST(test_read_cstring);
 CPPUNIT_TEST(test_read_pstring);
 CPPUNIT_TEST(test_readline);
+CPPUNIT_TEST(test_write_unicode);
 CPPUNIT_TEST_SUITE_END();
 };
 
@@ -275,6 +278,43 @@ namespace
 CPPUNIT_ASSERT(issB.eof()); //<-- diff A
 }
 
+void Test::test_write_unicode()
+{
+const OUString write("abc");
+utl::TempFile aTempFile(u"test_write_unicode");
+aTempFile.EnableKillingFile();
+{
+SvStream& s = *aTempFile.GetStream(StreamMode::WRITE);
+s.SetEndian(SvStreamEndian::BIG);
+if (!s.IsEndianSwap())
+s.SetEndian(SvStreamEndian::LITTLE);
+CPPUNIT_ASSERT(s.IsEndianSwap());
+// StartWritingUnicodeText must switch to no endian swapping and 
write 0xfeff
+s.StartWritingUnicodeText();
+// Without the fix in place, this would fail
+CPPUNIT_ASSERT(!s.IsEndianSwap());
+s.WriteUnicodeOrByteText(write, RTL_TEXTENCODING_UNICODE);
+aTempFile.CloseStream();
+}
+{
+SvStream& s = *aTempFile.GetStream(StreamMode::READ);
+s.SetEndian(SvStreamEndian::BIG);
+if (!s.IsEndianSwap())
+s.SetEndian(SvStreamEndian::LITTLE);
+CPPUNIT_ASSERT(s.IsEndianSwap());
+s.StartReadingUnicodeText(RTL_TEXTENCODING_DONTKNOW);
+CPPUNIT_ASSERT(!s.IsEndianSwap());
+CPPUNIT_ASSERT_EQUAL(sal_uInt64(2), s.Tell()); // after BOM
+OUString read;
+CPPUNIT_ASSERT(s.ReadUniOrByteStringLine(read, 
RTL_TEXTENCODING_UNICODE));
+// Without the fix in place, this would fail with
+// - Expected: 

[Libreoffice-commits] core.git: Branch 'private/tvajngerl/staging' - 3 commits - basegfx/test editeng/source include/basegfx include/editeng include/svx sd/source svx/source

2022-10-25 Thread Tomaž Vajngerl (via logerrit)
Rebased ref, commits from common ancestor:
commit fae1277c528cbfb9c3bff881b629dc3af1a33980
Author: Tomaž Vajngerl 
AuthorDate: Tue Oct 18 21:28:29 2022 +0200
Commit: Tomaž Vajngerl 
CommitDate: Tue Oct 25 21:06:52 2022 +0200

editeng: fix rendering of text when "fit to frame" is enabbled

This changes the nStretchX and nStretchY from sal_uInt16 to double
so the text in text boxes is rendered correctly (text should be
resized to the same size as the textbox).

Change-Id: Ic92d03043af0abe86f1b67ae15522d0176ebbb51

diff --git a/editeng/source/editeng/editeng.cxx 
b/editeng/source/editeng/editeng.cxx
index 88bc04a9efed..c8a66d0470a4 100644
--- a/editeng/source/editeng/editeng.cxx
+++ b/editeng/source/editeng/editeng.cxx
@@ -2266,12 +2266,12 @@ bool EditEngine::HasText( const SvxSearchItem& 
rSearchItem )
 return pImpEditEngine->HasText( rSearchItem );
 }
 
-void EditEngine::SetGlobalCharStretching( sal_uInt16 nX, sal_uInt16 nY )
+void EditEngine::SetGlobalCharStretching(double nX, double nY)
 {
 pImpEditEngine->SetCharStretching( nX, nY );
 }
 
-void EditEngine::GetGlobalCharStretching( sal_uInt16& rX, sal_uInt16& rY ) 
const
+void EditEngine::GetGlobalCharStretching(double& rX, double& rY) const
 {
 pImpEditEngine->GetCharStretching( rX, rY );
 }
diff --git a/editeng/source/editeng/editobj.cxx 
b/editeng/source/editeng/editobj.cxx
index 6d57c7497c2b..437754d70def 100644
--- a/editeng/source/editeng/editobj.cxx
+++ b/editeng/source/editeng/editobj.cxx
@@ -71,10 +71,10 @@ void XEditAttribute::SetItem(const SfxPoolItem& rNew)
 }
 
 XParaPortionList::XParaPortionList(
-OutputDevice* pRefDev, sal_uInt32 nPW, sal_uInt16 _nStretchX, sal_uInt16 
_nStretchY)
+OutputDevice* pRefDev, sal_uInt32 nPW, double nStretchX, double nStretchY)
 : pRefDevPtr(pRefDev)
-, nStretchX(_nStretchX)
-, nStretchY(_nStretchY)
+, mnStretchX(nStretchX)
+, mnStretchY(nStretchY)
 , nPaperWidth(nPW)
 {
 }
diff --git a/editeng/source/editeng/editobj2.hxx 
b/editeng/source/editeng/editobj2.hxx
index 250341fd4283..86a2e379be20 100644
--- a/editeng/source/editeng/editobj2.hxx
+++ b/editeng/source/editeng/editobj2.hxx
@@ -94,12 +94,12 @@ class XParaPortionList
 ListType maList;
 
 VclPtr pRefDevPtr;
-sal_uInt16  nStretchX;
-sal_uInt16  nStretchY;
+double  mnStretchX;
+double  mnStretchY;
 sal_uInt32  nPaperWidth;
 
 public:
-XParaPortionList(OutputDevice* pRefDev, sal_uInt32 nPW, sal_uInt16 
_nStretchX, sal_uInt16 _nStretchY);
+XParaPortionList(OutputDevice* pRefDev, sal_uInt32 nPW, double nStretchX, 
double nStretchY);
 
 void push_back(XParaPortion* p);
 const XParaPortion& operator[](size_t i) const;
@@ -108,8 +108,8 @@ public:
 sal_uInt32  GetPaperWidth() const   { return nPaperWidth; }
 boolRefDevIsVirtual() const {return 
pRefDevPtr->IsVirtual();}
 const MapMode&  GetRefMapMode() const   { return 
pRefDevPtr->GetMapMode(); }
-sal_uInt16  GetStretchX() const { return nStretchX; }
-sal_uInt16  GetStretchY() const { return nStretchY; }
+double  GetStretchX() const { return mnStretchX; }
+double  GetStretchY() const { return mnStretchY; }
 };
 
 class ContentInfo
diff --git a/editeng/source/editeng/impedit.hxx 
b/editeng/source/editeng/impedit.hxx
index b761e3bc4135..20e116b2ab3f 100644
--- a/editeng/source/editeng/impedit.hxx
+++ b/editeng/source/editeng/impedit.hxx
@@ -528,8 +528,8 @@ private:
 
 Color   maBackgroundColor;
 
-sal_uInt16  nStretchX;
-sal_uInt16  nStretchY;
+double mnStretchX;
+double mnStretchY;
 
 CharCompressTypenAsianCompressionMode;
 
@@ -1080,8 +1080,8 @@ public:
 SvxCellJustifyMethodGetJustifyMethod( sal_Int32 nPara ) const;
 SvxCellVerJustify   GetVerJustification( sal_Int32 nPara ) const;
 
-voidSetCharStretching( sal_uInt16 nX, sal_uInt16 nY );
-inline void GetCharStretching( sal_uInt16& rX, sal_uInt16& rY ) 
const;
+voidSetCharStretching(double nX, double nY);
+inline void GetCharStretching(double& rX, double& rY) const;
 
 sal_Int32   GetBigTextObjectStart() const  
 { return nBigTextObjectStart; }
 
@@ -1282,43 +1282,43 @@ inline ParaPortion* ImpEditEngine::FindParaPortion( 
ContentNode const * pNode )
 return GetParaPortions()[ nPos ];
 }
 
-inline void ImpEditEngine::GetCharStretching( sal_uInt16& rX, sal_uInt16& rY ) 
const
+inline void ImpEditEngine::GetCharStretching(double& rX, double& rY) const
 {
-rX = nStretchX;
-rY = nStretchY;
+rX = mnStretchX;
+rY = mnStretchY;
 }
 
 inline short ImpEditEngine::GetXValue( short nXValue ) const
 {
-if ( !aStatus.DoStretch() || ( nStretchX == 100 ) )
+if ( !aStatus.DoStretch() || ( mnStretchX == 100.0 ) )
 return nXValue;
 
-return 

[Libreoffice-bugs] [Bug 133415] Object Animation: The effect does not take into account the current position of the object.

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=133415

--- Comment #3 from JBrown  ---
Created attachment 183270
  --> https://bugs.documentfoundation.org/attachment.cgi?id=183270=edit
Interplanetary expedition plan

Version: 7.3.5.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 2; OS: FreeBSD 13.1; UI render: default; VCL: qt5 (cairo+xcb)
Locale: ru-RU (ru_RU.UTF-8); UI: ru-RU
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 139007] [META] PDF accessibility

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=139007
Bug 139007 depends on bug 148934, which changed state.

Bug 148934 Summary: TOC hyperlinks not compliant with PDF/UA, no  contents
https://bugs.documentfoundation.org/show_bug.cgi?id=148934

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-commits] core.git: drawinglayer/source editeng/source include/vcl sc/source sd/source sw/inc sw/source vcl/inc vcl/qa vcl/source

2022-10-25 Thread Michael Stahl (via logerrit)
 drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx |3 -
 editeng/source/editeng/impedit3.cxx|2 
 include/vcl/pdfextoutdevdata.hxx   |5 +
 include/vcl/pdfwriter.hxx  |2 
 sc/source/ui/view/output2.cxx  |4 -
 sd/source/ui/dlg/tpaction.cxx  |   21 ---
 sd/source/ui/inc/tpaction.hxx  |4 -
 sd/source/ui/unoidl/unomodel.cxx   |   35 ++---
 sw/inc/EnhancedPDFExportHelper.hxx |3 -
 sw/source/core/text/EnhancedPDFExportHelper.cxx|   32 +++
 vcl/inc/pdf/pdfwriter_impl.hxx |6 +-
 vcl/qa/cppunit/pdfexport/pdfexport.cxx |8 ++
 vcl/source/gdi/pdfextoutdevdata.cxx|6 +-
 vcl/source/gdi/pdfwriter.cxx   |4 -
 vcl/source/gdi/pdfwriter_impl.cxx  |   13 
 15 files changed, 92 insertions(+), 56 deletions(-)

New commits:
commit fa3f04bdd4f73a1b3be70dfb709c44638ef7e3d9
Author: Michael Stahl 
AuthorDate: Tue Oct 25 13:41:05 2022 +0200
Commit: Michael Stahl 
CommitDate: Tue Oct 25 20:50:04 2022 +0200

tdf#148934 PDF/UA export: add Contents entry to Link annotations

* Specification: ISO 14289-1:2014, Clause: 7.18.5, Test number: 2
Links shall contain an alternate description via their Contents key as 
described in ISO 32000-1:2008, 14.9.3.

These links are created all over the code, in some cases it's a bit
dubious what the content/alt-text should be, but let's try to use the
most suitable looking bit of text in whatever the context is.

* Specification: ISO 14289-1:2014, Clause: 7.18.3, Test number: 1
Every page on which there is an annotation shall contain in its page 
dictionary the key Tabs, and its value shall be S.

Change-Id: I7b63feb759f0c75047f854ed9997918f829a537e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141826
Tested-by: Jenkins
Reviewed-by: Michael Stahl 

diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx 
b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
index 7b46015003fa..a231e20153ef 100644
--- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
@@ -1254,7 +1254,8 @@ void 
VclMetafileProcessor2D::processTextHierarchyFieldPrimitive2D(
   
static_cast(ceil(aViewRange.getMaxX())),
   
static_cast(ceil(aViewRange.getMaxY(;
 vcl::PDFExtOutDevBookmarkEntry aBookmark;
-aBookmark.nLinkId = mpPDFExtOutDevData->CreateLink(aRectLogic);
+OUString const content(rFieldPrimitive.getValue("Representation"));
+aBookmark.nLinkId = mpPDFExtOutDevData->CreateLink(aRectLogic, content);
 aBookmark.aBookmark = aURL;
 std::vector& rBookmarks = 
mpPDFExtOutDevData->GetBookmarks();
 rBookmarks.push_back(aBookmark);
diff --git a/editeng/source/editeng/impedit3.cxx 
b/editeng/source/editeng/impedit3.cxx
index 6efc74d95cfe..d98ea6e4188e 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -3858,7 +3858,7 @@ void ImpEditEngine::Paint( OutputDevice& rOutDev, 
tools::Rectangle aClipRect, Po
 
 tools::Rectangle 
aRect( aTopLeft, rTextPortion.GetSize() );
 
vcl::PDFExtOutDevBookmarkEntry aBookmark;
-aBookmark.nLinkId = 
pPDFExtOutDevData->CreateLink( aRect );
+aBookmark.nLinkId = 
pPDFExtOutDevData->CreateLink(aRect, pUrlField->GetRepresentation());
 aBookmark.aBookmark = 
pUrlField->GetURL();
 std::vector< 
vcl::PDFExtOutDevBookmarkEntry >& rBookmarks = 
pPDFExtOutDevData->GetBookmarks();
 rBookmarks.push_back( 
aBookmark );
diff --git a/include/vcl/pdfextoutdevdata.hxx b/include/vcl/pdfextoutdevdata.hxx
index 39a8bbb30d56..45cb71682f12 100644
--- a/include/vcl/pdfextoutdevdata.hxx
+++ b/include/vcl/pdfextoutdevdata.hxx
@@ -252,11 +252,14 @@ public:
 number of page the link is on (as returned by NewPage)
 or -1 in which case the current page is used
 
+@param rAltText
+Alt text for the link
+
 @returns
 the link id (to be used in SetLinkDest, SetLinkURL) or
 -1 if page id does not exist
 */
-sal_Int32 CreateLink( const tools::Rectangle& rRect, sal_Int32 nPageNr = 
-1 );
+sal_Int32 CreateLink(const tools::Rectangle& rRect, OUString const& 
rAltText, sal_Int32 nPageNr = -1);
 
  

[Libreoffice-bugs] [Bug 133092] [META] Crash bugs

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=133092
Bug 133092 depends on bug 142169, which changed state.

Bug 142169 Summary: EDITING: Calc crash every time I try to set chart 
categories as multiple strings
https://bugs.documentfoundation.org/show_bug.cgi?id=142169

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution|--- |WORKSFORME

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 142169] EDITING: Calc crash every time I try to set chart categories as multiple strings

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=142169

Julien Nabet  changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #11 from Julien Nabet  ---
On pc Debian x86-64 with LO Debian package 7.4.1.2, I don't reproduce this
anymore.

Let's put this one to WFM then.

vladankudlac: don't hesitate to reopen this tracker if you can reproduce this
with LO 7.3.6 and brand new LO 7.4.2.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 133092] [META] Crash bugs

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=133092
Bug 133092 depends on bug 136829, which changed state.

Bug 136829 Summary: Crash:Press Navigator Button sidebar, after inserting 
Spreadsheet(OLE object)
https://bugs.documentfoundation.org/show_bug.cgi?id=136829

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution|--- |WORKSFORME

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 136829] Crash:Press Navigator Button sidebar, after inserting Spreadsheet(OLE object)

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=136829

Julien Nabet  changed:

   What|Removed |Added

 Resolution|--- |WORKSFORME
 Status|NEEDINFO|RESOLVED

--- Comment #11 from Julien Nabet  ---
On pc Debian x86-64 with master sources updated today or with LO Debian package
7.4.1.2 + gen rendering in both cases, I don't reproduce this anymore.

Let's put this one to WFM then.

Sawakaze: don't hesitate to reopen this tracker if you can still reproduce this
with LO 7.3.6 and brand new LO 7.4.2.

Thank you Roman for the ping! :-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151712] it's mess up word fie using table in a4

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151712

--- Comment #2 from Sven Åke Carlsson  ---
Created attachment 183269
  --> https://bugs.documentfoundation.org/attachment.cgi?id=183269=edit
file that I have reduce in size so I hope its include problem

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151758] Teg w:ins & w:del

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151758

--- Comment #2 from Roman  ---
Created attachment 183268
  --> https://bugs.documentfoundation.org/attachment.cgi?id=183268=edit
problem del

problem del

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151758] Teg w:ins & w:del

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151758

--- Comment #1 from Roman  ---
Created attachment 183267
  --> https://bugs.documentfoundation.org/attachment.cgi?id=183267=edit
problem ins

problem ins

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151758] New: Teg w:ins & w:del

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151758

Bug ID: 151758
   Summary: Teg w:ins & w:del
   Product: LibreOffice
   Version: 7.4.0.3 release
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: nfsmob...@mail.ru

Description:
When opening the file, it refers to the problem, and if you click restore, it
will open only part of the pages.

After digging into document.xml I came to the conclusion that the tags were
incorrectly placed  in this case .  In
another case 

[Libreoffice-bugs] [Bug 142776] Calc 7.1.4 crashes when I try to open external Firebird3 database (jdbc) in Beamer

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=142776

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

   Keywords||possibleRegression
 Status|UNCONFIRMED |NEEDINFO
 CC||79045_79...@mail.ru
 Ever confirmed|0   |1
 Blocks||133092

--- Comment #4 from Roman Kuznetsov <79045_79...@mail.ru> ---
Could you please retest it in 7.3.6 or in 7.4.2 LibreOffice version?


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=133092
[Bug 133092] [META] Crash bugs
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 133092] [META] Crash bugs

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=133092

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

 Depends on||142776


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=142776
[Bug 142776] Calc 7.1.4 crashes when I try to open external Firebird3 database
(jdbc) in Beamer
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 133092] [META] Crash bugs

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=133092

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

 Depends on||142169


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=142169
[Bug 142169] EDITING: Calc crash every time I try to set chart categories as
multiple strings
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 142169] EDITING: Calc crash every time I try to set chart categories as multiple strings

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=142169

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 Blocks||133092
 Ever confirmed|0   |1

--- Comment #10 from Roman Kuznetsov <79045_79...@mail.ru> ---
Stiil no repro in

Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: 8dcf53b3d2c0e30317c1e247f01d07ab448ec1ae
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
Calc: threaded

vladankudlac please retest it in latest 7.3.6 or 7.4.2 LibreOffice version


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=133092
[Bug 133092] [META] Crash bugs
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 145266] Writer crashes when inserting formula object

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145266

--- Comment #21 from Buovjaga  ---
(In reply to tex.avery2 from comment #20)
> Sorry, I don't have your skills, I don't know how to you use bibisect...
> 
> If you have a tutorial, I could try...
> 
> So I work with the 7.1.8...

Here is a tutorial:
https://wiki.documentfoundation.org/QA/Bibisect/Bibisecting_tutorial

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 133092] [META] Crash bugs

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=133092

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

 Depends on||138310


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=138310
[Bug 138310] Crash in: mergedlo.dll
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 138310] Crash in: mergedlo.dll

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138310

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 Blocks||133092
 CC||79045_79...@mail.ru
 Ever confirmed|0   |1

--- Comment #7 from Roman Kuznetsov <79045_79...@mail.ru> ---
David, could you please check if your problem is still there in latest
LibreOffice 7.3.6 or 7.4.2?


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=133092
[Bug 133092] [META] Crash bugs
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 138032] LibreOffice doesn't start when you try insert OpenDocument spreadsheet as OLE in MS Excel , MS Excel shows some error message instead

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138032

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

Summary|Crash in: mergedlo.dll  |LibreOffice doesn't start
   ||when you try insert
   ||OpenDocument spreadsheet as
   ||OLE in MS Excel , MS Excel
   ||shows some error message
   ||instead
 CC||79045_79...@mail.ru,
   ||mikekagan...@hotmail.com

--- Comment #6 from Roman Kuznetsov <79045_79...@mail.ru> ---
(In reply to silvio from comment #5)
> Tested same steps with LibreOffice 7.1.4.2.
> 
> Result: LibreOffice is not crashing. 
> A new MS Excel error message pops up: 
> "the source application of the embedded object cannot be started"
> 
> 
> Version: 7.1.4.2 (x64) / LibreOffice Community
> Build ID: a529a4fab45b75fefc5b6226684193eb000654f6
> CPU threads: 16; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL:
> win
> Locale: de-CH (de_CH); UI: de-DE
> Calc: CL

I confirm the problem, but I'm not sure it's the LibreOffice's problem.

Mike, could you please look at it and give us your opinion. Thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 133092] [META] Crash bugs

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=133092

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

 Depends on||137511


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=137511
[Bug 137511] [Calc] [UI] Crash when dragging sheet name into input name
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 137511] [Calc] [UI] Crash when dragging sheet name into input name

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=137511

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

 Blocks||133092


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=133092
[Bug 133092] [META] Crash bugs
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 133092] [META] Crash bugs

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=133092

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

 Depends on||136829


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=136829
[Bug 136829] Crash:Press Navigator Button sidebar, after inserting
Spreadsheet(OLE object)
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 136829] Crash:Press Navigator Button sidebar, after inserting Spreadsheet(OLE object)

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=136829

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

 Blocks||133092

--- Comment #10 from Roman Kuznetsov <79045_79...@mail.ru> ---
Julien, could you please retest in current daily build?


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=133092
[Bug 133092] [META] Crash bugs
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 133092] [META] Crash bugs

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=133092

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

 Depends on||134042


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=134042
[Bug 134042] [EDITING] When paste image on another image, they break and
vanish. Calc eventually crashes
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 134042] [EDITING] When paste image on another image, they break and vanish. Calc eventually crashes

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=134042

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

 Blocks||133092


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=133092
[Bug 133092] [META] Crash bugs
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 145266] Writer crashes when inserting formula object

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145266

--- Comment #20 from tex.ave...@aliceadsl.fr ---
Sorry, I don't have your skills, I don't know how to you use bibisect...

If you have a tutorial, I could try...

So I work with the 7.1.8...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 107244] [META] Ctrl+Alt (aka AltGR) keyboard shortcut issues

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107244
Bug 107244 depends on bug 151614, which changed state.

Bug 151614 Summary: In LibreOffice Writer, AltGr+4 shortcut opens side pannel 
instead of inserting tilde over letters A and O: Ã, ã, Õ, õ
https://bugs.documentfoundation.org/show_bug.cgi?id=151614

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151614] In LibreOffice Writer, AltGr+4 shortcut opens side pannel instead of inserting tilde over letters A and O: Ã, ã, Õ, õ

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151614

Antonio Porto  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Antonio Porto  ---

Thank you very much, LeroyG, it did work. I realise now it's maybe not a bug,
but I would have never found a solution without your help. I am even thinking
of sending this information to certain forums, as there's a big community of
people who write Portuguese on Spanish keyboards over here, in Galicia.

Rafael Lima: yes it is the same case as bug 151082.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 133092] [META] Crash bugs

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=133092

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

 Depends on||141478


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=141478
[Bug 141478] Calc crashes on any copy or cut operation when Croatian language
used
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 141478] Calc crashes on any copy or cut operation when Croatian language used

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141478

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

 Blocks||133092


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=133092
[Bug 133092] [META] Crash bugs
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 133092] [META] Crash bugs

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=133092

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

 Depends on||141506


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=141506
[Bug 141506] EDITING: Calc crashes with Fatal Error when altering formula
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 141506] EDITING: Calc crashes with Fatal Error when altering formula

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141506

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

 Blocks||133092


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=133092
[Bug 133092] [META] Crash bugs
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151738] Unreadable Help contents - light font on white background in dark mode (Windows)

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151738

--- Comment #9 from Buovjaga  ---
(In reply to scorpiosoft from comment #8)
> I think, the problem is in default color of font (inherited light from
> Windows), NOT set explicitly to dark in LibreOffice Help.

But this is not supposed to happen. If it happens, it's a bug in Windows itself
(or some glitch on your system). It would be completely insane, if this was the
normal behaviour.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 108019] [META] Calc UX bugs and enhancements

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108019

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

 Depends on||141292


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=141292
[Bug 141292] Calc should display hint "internal calculation is done without
rounding".
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 141292] Calc should display hint "internal calculation is done without rounding".

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141292

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

 Blocks||108019


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=108019
[Bug 108019] [META] Calc UX bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151738] Unreadable Help contents - light font on white background in dark mode (Windows)

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151738

--- Comment #8 from scorpios...@abv.bg ---
(In reply to m.a.riosv from comment #7)
> Created attachment 183266 [details]
> Screenshot about FF in dark mode.
> 
> Attached screenshot with FF in dark mode (oscuro), with the help window.

@m.a.riosv, in report I meant dark mode OF WINDOWS, not of FireFox.

I think, the problem is in default color of font (inherited light from
Windows), NOT set explicitly to dark in LibreOffice Help.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 140959] Editing conditional formatting does not work

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140959

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||79045_79...@mail.ru
 Ever confirmed|0   |1

--- Comment #10 from Roman Kuznetsov <79045_79...@mail.ru> ---
Adam, I can't understand your problem. Your file seems OK and CF dialog shows
the correct conditions. 
Could you please to give us more details? Step by step, what did you do when
you created your conditional formatting.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 145266] Writer crashes when inserting formula object

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145266

--- Comment #19 from tex.ave...@aliceadsl.fr ---
Hi,
Arghhh. It's doesn't work, I h'he got same problem with 7.3.7.1  X86-64 on Mac
OS Bigsur 11.7.1.

Do you want I test on Mac OS 12.6.1 on Arm ?

Regards,
Nicolas MORIN

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151705] FORMATTING italics

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151705

--- Comment #3 from da...@davidkachel.com ---
A search of both the internet and the LO docs shows no mention of a "Toolbar DF
button", please explain your abbreviation? "if the... action applies"? What
does that mean?!
Checked shortcut, it is properly assigned.
The Control-I shortcut works correctly on my other machines, including a laptop
with the same LMint system.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-commits] core.git: filter/CppunitTest_filter_textfilterdetect.mk filter/qa

2022-10-25 Thread Xisco Fauli (via logerrit)
 filter/CppunitTest_filter_textfilterdetect.mk |1 
 filter/qa/unit/textfilterdetect.cxx   |   81 +-
 2 files changed, 32 insertions(+), 50 deletions(-)

New commits:
commit ee912e56d85345489234196266216e660a5dee46
Author: Xisco Fauli 
AuthorDate: Tue Oct 25 16:50:26 2022 +0200
Commit: Xisco Fauli 
CommitDate: Tue Oct 25 19:03:04 2022 +0200

CppunitTest_filter_textfilterdetect: inherit from UnoApiTest

Change-Id: I146bd1a032b53b4f0457a0fd9c58c5770f98a308
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141829
Tested-by: Jenkins
Reviewed-by: Xisco Fauli 

diff --git a/filter/CppunitTest_filter_textfilterdetect.mk 
b/filter/CppunitTest_filter_textfilterdetect.mk
index 6fb22f8b074e..be2697a17406 100644
--- a/filter/CppunitTest_filter_textfilterdetect.mk
+++ b/filter/CppunitTest_filter_textfilterdetect.mk
@@ -22,6 +22,7 @@ $(eval $(call 
gb_CppunitTest_use_libraries,filter_textfilterdetect, \
cppuhelper \
sal \
sfx \
+   subsequenttest \
test \
textfd \
tl \
diff --git a/filter/qa/unit/textfilterdetect.cxx 
b/filter/qa/unit/textfilterdetect.cxx
index 3c8daf2f2ef9..47b2dee97031 100644
--- a/filter/qa/unit/textfilterdetect.cxx
+++ b/filter/qa/unit/textfilterdetect.cxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#include 
-#include 
+#include 
 
 #include 
 #include 
@@ -34,27 +33,21 @@ using namespace com::sun::star;
 namespace
 {
 /// Test class for PlainTextFilterDetect.
-class TextFilterDetectTest : public test::BootstrapFixture, public 
unotest::MacrosTest
+class TextFilterDetectTest : public UnoApiTest
 {
 public:
-void setUp() override;
+TextFilterDetectTest()
+: UnoApiTest("/filter/qa/unit/data/")
+{
+}
 };
 
-void TextFilterDetectTest::setUp()
-{
-test::BootstrapFixture::setUp();
-
-mxDesktop.set(frame::Desktop::create(mxComponentContext));
-}
-
-constexpr OUStringLiteral DATA_DIRECTORY = u"/filter/qa/unit/data/";
-
 CPPUNIT_TEST_FIXTURE(TextFilterDetectTest, testTdf114428)
 {
 uno::Reference xDetect(
 
getMultiServiceFactory()->createInstance("com.sun.star.comp.filters.PlainTextFilterDetect"),
 uno::UNO_QUERY);
-OUString aURL = m_directories.getURLFromSrc(DATA_DIRECTORY) + 
"tdf114428.xhtml";
+OUString aURL = createFileURL(u"tdf114428.xhtml");
 SvFileStream aStream(aURL, StreamMode::READ);
 uno::Reference xStream(new utl::OStreamWrapper(aStream));
 uno::Sequence aDescriptor
@@ -71,47 +64,42 @@ CPPUNIT_TEST_FIXTURE(TextFilterDetectTest, testTdf114428)
 
 CPPUNIT_TEST_FIXTURE(TextFilterDetectTest, testEmptyFile)
 {
-const OUString sDataDirectory = 
m_directories.getURLFromSrc(DATA_DIRECTORY);
 auto supportsService = [](const uno::Reference& x, const 
OUString& s) {
 return uno::Reference(x, 
uno::UNO_QUERY_THROW)->supportsService(s);
 };
 
 // Given an empty file, with a pptx extension
 // When loading the file
-auto xComponent = loadFromDesktop(sDataDirectory + "empty.pptx");
+loadFromURL(u"empty.pptx");
 
 // Then make sure it is opened in Impress.
 // Without the accompanying fix in place, this test would have failed, as 
it was opened in
 // Writer instead.
-CPPUNIT_ASSERT(supportsService(xComponent, 
"com.sun.star.presentation.PresentationDocument"));
-xComponent->dispose();
+CPPUNIT_ASSERT(supportsService(mxComponent, 
"com.sun.star.presentation.PresentationDocument"));
 
 // Now also test ODT
-xComponent = loadFromDesktop(sDataDirectory + "empty.odt");
+loadFromURL(u"empty.odt");
 // Make sure it opens in Writer.
-CPPUNIT_ASSERT(supportsService(xComponent, 
"com.sun.star.text.TextDocument"));
-xComponent->dispose();
+CPPUNIT_ASSERT(supportsService(mxComponent, 
"com.sun.star.text.TextDocument"));
 
 // ... and ODS
-xComponent = loadFromDesktop(sDataDirectory + "empty.ods");
+loadFromURL(u"empty.ods");
 // Make sure it opens in Calc.
-CPPUNIT_ASSERT(supportsService(xComponent, 
"com.sun.star.sheet.SpreadsheetDocument"));
-xComponent->dispose();
+CPPUNIT_ASSERT(supportsService(mxComponent, 
"com.sun.star.sheet.SpreadsheetDocument"));
 
 // ... and ODP
-xComponent = loadFromDesktop(sDataDirectory + "empty.odp");
+loadFromURL(u"empty.odp");
 // Without the accompanying fix in place, this test would have failed, as 
it was opened in
 // Writer instead.
-CPPUNIT_ASSERT(supportsService(xComponent, 
"com.sun.star.presentation.PresentationDocument"));
-xComponent->dispose();
+CPPUNIT_ASSERT(supportsService(mxComponent, 
"com.sun.star.presentation.PresentationDocument"));
 
 // ... and DOC
 // Without the accompanying fix in place, this test would have failed, the 
import filter aborted
 // loading.
-xComponent = loadFromDesktop(sDataDirectory + "empty.doc");
-CPPUNIT_ASSERT(supportsService(xComponent, 

[Libreoffice-bugs] [Bug 151738] Unreadable Help contents - light font on white background in dark mode (Windows)

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151738

--- Comment #7 from m.a.riosv  ---
Created attachment 183266
  --> https://bugs.documentfoundation.org/attachment.cgi?id=183266=edit
Screenshot about FF in dark mode.

Attached screenshot with FF in dark mode (oscuro), with the help window.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Re: Unittest problem with service com.sun.star.drawing.GraphicExportFilter

2022-10-25 Thread Michael Stahl

On 25.10.22 18:24, Regina Henschel wrote:

Hi all,

this is about https://gerrit.libreoffice.org/c/core/+/141830
tdf#83671 SmartArt: preserve pos and size for metafile

If you try the patch, you will see, that the SmartArt is imported in 
Calc as group object with one child object. The child is a 
"com.sun.star.drawing.GraphicObjectShape". Copying to Draw shows, that 
it is indeed a metafile. So the patch seems to be correct.


But the unit test fails. It has the warning
warn:oox.drawingml:2860:13240:oox/source/drawingml/shape.cxx:2039: 
Shape::renderDiagramToGraphic com.sun.star.uno.DeploymentException 
message: "component context fails to supply service 
com.sun.star.drawing.GraphicExportFilter of type 
com.sun.star.drawing.XGraphicExportFilter"


The warning comes from method create() from class GraphicExportFilter, 
where creating of "the_instance" fails. And so indeed no metafile is 
created.


I have no idea about the reason as in a normal running LO the import 
works and resaving as ods or xlsx has no problems.


the unit test makefile is missing some component file.

many unit tests use the whole services.rdb but some unfortunately have a 
long list of individiual files inside a call to 
gb_CppunitTest_use_components.


you can find the component file with a command like this:


git grep com.sun.star.drawing.GraphicExportFilter $(git ls-files '*.component')
svx/util/svxcore.component:name="com.sun.star.drawing.GraphicExportFilter"/>


then add the "svx/util/svxcore" to the gb_CppunitTest_use_components 
list in the test's CppunitTest_*.mk - don't forget the '\' must be the 
last character of the line.




[Libreoffice-bugs] [Bug 146360] bitmap fill is not shown for extruded shape if set in style

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146360

--- Comment #10 from Armin Le Grand  ---
Debugging deep into EnhancedCustomShapeEngine::render(), not sure if/how that
might have worked earlier. Fact is that the SdrObject holding the CustomShape
has the correct ItemSet/StyleSheet, but the object creatd by
EnhancedCustomShape2d::CreateObject seems to have the default settings
(fillStyle solid, blue). Since that seems to be a hard attribute it does not
even help to set the style there (?)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151749] version 7.4.2.3 crashing

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151749

--- Comment #4 from m.a.riosv  ---
Seems Skia it's activated, test disabling it.
Menu/Tools/Options/View - Graphics Output

-- 
You are receiving this mail because:
You are the assignee for the bug.

Unittest problem with service com.sun.star.drawing.GraphicExportFilter

2022-10-25 Thread Regina Henschel

Hi all,

this is about https://gerrit.libreoffice.org/c/core/+/141830
tdf#83671 SmartArt: preserve pos and size for metafile

If you try the patch, you will see, that the SmartArt is imported in 
Calc as group object with one child object. The child is a 
"com.sun.star.drawing.GraphicObjectShape". Copying to Draw shows, that 
it is indeed a metafile. So the patch seems to be correct.


But the unit test fails. It has the warning
warn:oox.drawingml:2860:13240:oox/source/drawingml/shape.cxx:2039: 
Shape::renderDiagramToGraphic com.sun.star.uno.DeploymentException 
message: "component context fails to supply service 
com.sun.star.drawing.GraphicExportFilter of type 
com.sun.star.drawing.XGraphicExportFilter"


The warning comes from method create() from class GraphicExportFilter, 
where creating of "the_instance" fails. And so indeed no metafile is 
created.


I have no idea about the reason as in a normal running LO the import 
works and resaving as ods or xlsx has no problems.


Could you please help me?

Kind regards,
Regina


[Libreoffice-bugs] [Bug 148333] EDITING: Slow to edit paragraphs with fields in them (Linux-only)

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=148333

--- Comment #17 from Christian Lehmann  ---
Update for LO 7.4.2.3:

1) Answer to comment 1, question C: It was downloaded from the official LO site
and installed instead of the previous version.

2) The big file now has 2.116 KB on disk and 1,838,811 characters.
It is no longer manageable on Linux; typing is far too slow. It is better with
Windows, but if you are a fast typer, it would still be too slow.

3) The problem with typing under Linux is not merely that characters do not
appear on the screen as you are typing, but with considerable latency. There is
an additional problem: If you type a sequence of a non-character key (like
right arrow or the like) and a character key, then they are entered into the
file in reverse order. It is always the non-character which is delayed.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151738] Unreadable Help contents - light font on white background in dark mode (Windows)

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151738

--- Comment #5 from Buovjaga  ---
(In reply to scorpiosoft from comment #4)
> (In reply to m.a.riosv from comment #3)
> > Created attachment 183264 [details]
> > Screenshot win10 dark mode.
> > 
> > Looks fine for me, with Firefox (screenshot) and with edge (no chrome to
> > test). Maybe something else is changed.
> 
> @m.a.riosv, I think you are not really in dark mode - the tabs and the
> borders of your browser are LIGHT - see my attachment for example.

Your browser UI is also light, there is no difference.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151738] Unreadable Help contents - light font on white background in dark mode (Windows)

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151738

--- Comment #6 from scorpios...@abv.bg ---
Created attachment 183265
  --> https://bugs.documentfoundation.org/attachment.cgi?id=183265=edit
Help in Firefox in dark mode

(In reply to scorpiosoft from comment #4)
> (In reply to m.a.riosv from comment #3)
> > Created attachment 183264 [details]
> > Screenshot win10 dark mode.
> @m.a.riosv, I think you are not really in dark mode - the tabs and the
> borders of your browser are LIGHT - see my attachment for example.

@m.a.riosv, sorry, my mistake - I had attached screenshot from Edge (light
theme by default). See this one.

By the way - I have NOT tested Help from ver. 7.5

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-commits] core.git: include/svtools svtools/qa svtools/source sw/source

2022-10-25 Thread Miklos Vajna (via logerrit)
 include/svtools/htmlkywd.hxx   |1 
 include/svtools/htmltokn.h |2 +
 svtools/qa/unit/testHtmlReader.cxx |   23 +
 svtools/source/svhtml/htmlkywd.cxx |4 +++
 svtools/source/svhtml/parhtml.cxx  |   39 +
 sw/source/filter/html/swhtml.cxx   |1 
 6 files changed, 70 insertions(+)

New commits:
commit b38730ae0ae92ca49b84a45853c2ed098ee9064f
Author: Miklos Vajna 
AuthorDate: Tue Oct 25 15:55:34 2022 +0200
Commit: Miklos Vajna 
CommitDate: Tue Oct 25 18:15:47 2022 +0200

sw html import: fix handling of CDATA

In case the HTML contained markup like , we simply
ignored it during import, even if e.g. the ODT import handles that
correctly.

The reason for this is that the svtools/ HTMLParser had code to parse
 style comments, but not for CDATA.

Fix the problem by introducing a new HtmlTokenId::CDATA, producing a
matching token content in HTMLParser::GetNextToken_(), and finally map
it to normal text on the Writer side.

Note that HtmlTokenId doesn't allow non-on-off tokens past ONOFF_START,
neither allows inserting a single token before ONOFF_START (it breaks
getOnToken()), so for now just add a second, dummy token to avoid
breakage.

Change-Id: I605c3c21dc11986fda5d93d36148788a638e97b4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141813
Reviewed-by: Miklos Vajna 
Tested-by: Jenkins

diff --git a/include/svtools/htmlkywd.hxx b/include/svtools/htmlkywd.hxx
index 5d6b7e629fe7..9a84cddd37bf 100644
--- a/include/svtools/htmlkywd.hxx
+++ b/include/svtools/htmlkywd.hxx
@@ -32,6 +32,7 @@
 #define OOO_STRING_SVTOOLS_HTML_base "base"
 #define OOO_STRING_SVTOOLS_HTML_comment "!--"
 #define OOO_STRING_SVTOOLS_HTML_doctype "!DOCTYPE"
+#define OOO_STRING_SVTOOLS_HTML_cdata "![cdata["
 #define OOO_STRING_SVTOOLS_HTML_embed "embed"
 #define OOO_STRING_SVTOOLS_HTML_horzrule "hr"
 #define OOO_STRING_SVTOOLS_HTML_image "img"
diff --git a/include/svtools/htmltokn.h b/include/svtools/htmltokn.h
index bfa1f14d6812..9dca8a8f3ea7 100644
--- a/include/svtools/htmltokn.h
+++ b/include/svtools/htmltokn.h
@@ -58,6 +58,8 @@ enum class HtmlTokenId : sal_Int16
 AREA, // Netscape 2.0
 BASE, // HTML 3.0
 COMMENT,
+CDATA,
+DUMMY, // so ONOFF_START is even
 DOCTYPE,
 EMBED, // Netscape 2.0ignore 
 HORZRULE,  // ignore 
diff --git a/svtools/qa/unit/testHtmlReader.cxx 
b/svtools/qa/unit/testHtmlReader.cxx
index 146458a200eb..37f74e903bcc 100644
--- a/svtools/qa/unit/testHtmlReader.cxx
+++ b/svtools/qa/unit/testHtmlReader.cxx
@@ -27,6 +27,7 @@ public:
 
 OUString m_aDocument;
 int m_nLineBreakCount = 0;
+OUString m_aCdata;
 };
 
 TestHTMLParser::TestHTMLParser(SvStream& rStream)
@@ -40,6 +41,8 @@ void TestHTMLParser::NextToken(HtmlTokenId nToken)
 m_aDocument += aToken;
 else if (nToken == HtmlTokenId::LINEBREAK)
 ++m_nLineBreakCount;
+else if (nToken == HtmlTokenId::CDATA)
+m_aCdata = aToken;
 }
 
 /// Tests HTMLParser.
@@ -76,6 +79,26 @@ CPPUNIT_TEST_FIXTURE(Test, testLineBreak)
 // This was 2,  was interpreted as 2 line breaks in XHTML mode.
 CPPUNIT_ASSERT_EQUAL(1, xParser->m_nLineBreakCount);
 }
+
+CPPUNIT_TEST_FIXTURE(Test, testCdata)
+{
+// Given a document with CDATA:
+SvMemoryStream aStream;
+OString aDocument("AC");
+aStream.WriteBytes(aDocument.getStr(), aDocument.getLength());
+aStream.Seek(0);
+
+// When parsing that HTML:
+tools::SvRef xParser = new TestHTMLParser(aStream);
+xParser->CallParser();
+
+// Then make sure that we get a cdata token with the correct content:
+// Without the accompanying fix in place, this test would have failed with:
+// - Expected: B  
+// - Actual  :
+// i.e. the content inside CDATA was lost.
+CPPUNIT_ASSERT_EQUAL(OUString("B  "), xParser->m_aCdata);
+}
 }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/svhtml/htmlkywd.cxx 
b/svtools/source/svhtml/htmlkywd.cxx
index 2d51910d85e9..584322fac8bc 100644
--- a/svtools/source/svhtml/htmlkywd.cxx
+++ b/svtools/source/svhtml/htmlkywd.cxx
@@ -27,6 +27,9 @@
 #include 
 #include 
 
+// If this is odd, then getOnToken() breaks.
+static_assert(static_cast(HtmlTokenId::ABBREVIATION_ON) % 2 == 0);
+
 namespace {
 
 template
@@ -64,6 +67,7 @@ using HTML_TokenEntry = TokenEntry;
 HTML_TokenEntry const aHTMLTokenTab[] = {
 {std::u16string_view(u"" OOO_STRING_SVTOOLS_HTML_comment), 
HtmlTokenId::COMMENT},
 {std::u16string_view(u"" OOO_STRING_SVTOOLS_HTML_doctype), 
HtmlTokenId::DOCTYPE},
+{std::u16string_view(u"" OOO_STRING_SVTOOLS_HTML_cdata),   
HtmlTokenId::CDATA},
 {std::u16string_view(u"" OOO_STRING_SVTOOLS_HTML_anchor),  
HtmlTokenId::ANCHOR_ON},
 {std::u16string_view(u"" OOO_STRING_SVTOOLS_HTML_abbreviation),

[Libreoffice-bugs] [Bug 151424] Spider web chart drawing error since LO Calc version 7.4.1.2

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151424

raal  changed:

   What|Removed |Added

 CC||thierry.mu...@free.fr

--- Comment #12 from raal  ---
*** Bug 151735 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151735] Net charts aren't displayed as expected

2022-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151735

raal  changed:

   What|Removed |Added

 Resolution|FIXED   |DUPLICATE

--- Comment #6 from raal  ---


*** This bug has been marked as a duplicate of bug 151424 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

  1   2   3   >