[Libreoffice-bugs] [Bug 154703] [META] Export DOCX flies with framePr instead of DrawingDML

2023-06-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154703

Justin L  changed:

   What|Removed |Added

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

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

[Libreoffice-bugs] [Bug 154703] [META] Export DOCX flies with framePr instead of DrawingDML

2023-05-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154703

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

Summary|META Export DOCX flies with |[META] Export DOCX flies
   |framePr instead of  |with framePr instead of
   |DrawingDML  |DrawingDML

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

[Libreoffice-bugs] [Bug 154703] META Export DOCX flies with framePr instead of DrawingDML

2023-05-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154703

Justin L  changed:

   What|Removed |Added

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

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

[Libreoffice-bugs] [Bug 154703] META Export DOCX flies with framePr instead of DrawingDML

2023-04-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154703

--- Comment #21 from Justin L  ---
(In reply to Justin L from comment #16)
> Next idea: add framePr hint at InsertCaption dialog.
https://gerrit.libreoffice.org/c/core/+/150795

In that code review, Gabor commented:
This is related to bug 131302 (which has an idea how to solve it) and bug 96579
(which collects duplicates) and all the See also ones.
There were several other attempts to fix this over the years, but somehow all
were inadequate and reverted.
Also bug 121378 has some ideas how to improve this.

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

[Libreoffice-bugs] [Bug 154703] META Export DOCX flies with framePr instead of DrawingDML

2023-04-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154703

--- Comment #20 from Commit Notification 
 ---
Justin Luth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/deb1a14adb115710b5e40dd305dc5da4a4e3b065

tdf#97128 tdf#154703 docx export framePr: export frame textDirection

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

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

[Libreoffice-bugs] [Bug 154703] META Export DOCX flies with framePr instead of DrawingDML

2023-04-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154703

Justin L  changed:

   What|Removed |Added

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

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

[Libreoffice-bugs] [Bug 154703] META Export DOCX flies with framePr instead of DrawingDML

2023-04-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154703

--- Comment #19 from Commit Notification 
 ---
Justin Luth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/d3a121cecfa8fb3c6f81b05822ba3309d77ab85d

tdf#154703 sw framePr: export knowing import wrap spacing limitations

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

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

[Libreoffice-bugs] [Bug 154703] META Export DOCX flies with framePr instead of DrawingDML

2023-04-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154703

--- Comment #18 from Commit Notification 
 ---
Justin Luth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/006b35d50024b1932d84380b5d2fec1f7066bccd

tdf#154703 NFC sw framePr: flatten TextBoxIsFramePr and fix typo

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

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

[Libreoffice-bugs] [Bug 154703] META Export DOCX flies with framePr instead of DrawingDML

2023-04-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154703

--- Comment #17 from Commit Notification 
 ---
Justin Luth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/981c5b5421b5fc728e2b8140d7d52d8c8eb465e7

NFC tdf#154703 docx export: optimize/reorder "if TextBoxIsFramePr"

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

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

[Libreoffice-bugs] [Bug 154703] META Export DOCX flies with framePr instead of DrawingDML

2023-04-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154703

--- Comment #16 from Justin L  ---
(In reply to Justin L from comment #0)
> An exploration into exporting textboxes and captions using framePr can be
> found at https://gerrit.libreoffice.org/c/core/+/150114.
Abandoned. Too fragile. Cannot easily target captions or any other specific
instance or situation.

Next idea: add bool "ParaFrameProperties" to grabbag at SwView::InsertCaption
dialog.

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

[Libreoffice-bugs] [Bug 154703] META Export DOCX flies with framePr instead of DrawingDML

2023-04-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154703

--- Comment #15 from Justin L  ---
(In reply to Justin L from comment #11)
> wrapExample2.odt: comment 10 round-tripped to DOCX, then RT to ODT

https://gerrit.libreoffice.org/c/core/+/150637 is debug statements for this
layout issue. Too many pathways for my brain to handle, and to much wrong on a
grand scale - not just a minor wrong calculation but fundamental issues here.
Fundamental issues on a fragile base is not somewhere I should be.

This topic is covered by bug 135225.

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

[Libreoffice-bugs] [Bug 154703] META Export DOCX flies with framePr instead of DrawingDML

2023-04-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154703

--- Comment #14 from Commit Notification 
 ---
Justin Luth committed a patch related to this issue.
It has been pushed to "libreoffice-7-5":

https://git.libreoffice.org/core/commit/1cebe3ef85b4b1f7c34263a2da38f4e1d269ae4b

tdf#154703 docx export framePr: export xAlign/yAlign

It will be available in 7.5.4.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

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

[Libreoffice-bugs] [Bug 154703] META Export DOCX flies with framePr instead of DrawingDML

2023-04-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154703

Commit Notification  changed:

   What|Removed |Added

 Whiteboard|target:7.6.0|target:7.6.0 target:7.5.4

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

[Libreoffice-bugs] [Bug 154703] META Export DOCX flies with framePr instead of DrawingDML

2023-04-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154703

--- Comment #13 from Commit Notification 
 ---
Justin Luth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/1d12d12598927ef8a74dd648632112ceb16bdf78

tdf#154703 DOCX {im,ex}port framePr: adjust framesize by para spacing

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

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

[Libreoffice-bugs] [Bug 154703] META Export DOCX flies with framePr instead of DrawingDML

2023-04-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154703

--- Comment #12 from Commit Notification 
 ---
Justin Luth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/e07d5c089ab2e8fe8a5cfa2a11cef3f1cf3afab3

tdf#154703 docx export framePr: export xAlign/yAlign

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

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

[Libreoffice-bugs] [Bug 154703] META Export DOCX flies with framePr instead of DrawingDML

2023-04-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154703

--- Comment #11 from Justin L  ---
Created attachment 186670
  --> https://bugs.documentfoundation.org/attachment.cgi?id=186670&action=edit
wrapExample2.odt: comment 10 round-tripped to DOCX, then RT to ODT

Saving as ODT format lets this be tested prior to 7.2. 

Almost certainly the problem with comment 10's document is that the frame is
trying to be on a different page than the anchor. There are lots of bug reports
about that kind of behaviour. (In this case, it seems like the character anchor
is at the end of the paragraph. There can't be right answer because other
documents would be better served as anchored at the end of the paragraph I'm
sure.)

However, in this particular document it really shouldn't matter where the
character anchor is, because the position is based on the "entire paragraph
area". So it is just a layout problem.

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

[Libreoffice-bugs] [Bug 154703] META Export DOCX flies with framePr instead of DrawingDML

2023-04-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154703

--- Comment #10 from Justin L  ---
Created attachment 186669
  --> https://bugs.documentfoundation.org/attachment.cgi?id=186669&action=edit
wrapExample.odt: captions are a prime candidate for using framePr

Although this example primarily shows wrap problems, it also demonstrates the
problems (probably wrap related) that plague synchronized draw-frames when
round-tripped to DOCX format. There are two images on the first page - but the
captioned one often seems to be missing in DOCX until you click in the right
spot.

The layout problem became evident in 7.2.2 when GraphicImport.cxx marked
drawing-objects as AT-CHAR instead of AT-PARA. Obviously the layout is just
exposed by the change. commit c0b951024c2ec815f1ef70d59d31860df2434d28
Author: Miklos Vajna on Mon Sep 20 19:56:37 2021 +0200
tdf#143591 DOCX import: handle anchored objects as at-char

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

[Libreoffice-bugs] [Bug 154703] META Export DOCX flies with framePr instead of DrawingDML

2023-04-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154703

--- Comment #9 from Justin L  ---
ooxmlexport frame-wrap-auto.docx is an example where the frame was centred, but
now is "from left".

Bisected to LO 4.4 commit 1c876f5616522ab695de8c0316cdb0c601081815
Author: Rohit Deshmukh on Fri Jun 13 11:39:56 2014 +0530
fdo#78590: Fix for Corruption of para with framePr & drawing object into
para

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

[Libreoffice-bugs] [Bug 154703] META Export DOCX flies with framePr instead of DrawingDML

2023-04-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154703

--- Comment #8 from Justin L  ---
Created attachment 186668
  --> https://bugs.documentfoundation.org/attachment.cgi?id=186668&action=edit
ooo39250-1-minB.rtf : table in framePr

RTF can also import as framePr, although the export as RTF loses the framePr
status I believe, and exports as a different kind of frame. Lots of things
don't export nicely into RTF, so I won't spend much time with that format.

I'm not sure if this attachment is much value. It doesn't import the table
nicely, but I assume that is just an RTF import issue, and not a framePR
specific issue.

LO has an INVERT_BORDER_SPACING compat setting for DOC/X, but not for RTF. The
setting just ignores paragraph border spacing (inside a frame only I assume). I
have to assume that it was put in place simply to handle these framePrs - in
the strange cases where the frame contains paragraphs with differing border
spacings. In that case it probably shouldn't apply to non-framePr frames but I
expect that LO doesn't know the difference. In any case, I didn't dare to apply
it to RTF as well - too many import/export implications to consider in an
already bad starting place.

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

[Libreoffice-bugs] [Bug 154703] META Export DOCX flies with framePr instead of DrawingDML

2023-04-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154703

--- Comment #7 from Commit Notification 
 ---
Justin Luth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/a24d461d736de0a29bb8ef2a20b57db4836cda3e

tdf#154703 writerfilter framePr: RTF != INVERT_BORDER_SPACING

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

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

[Libreoffice-bugs] [Bug 154703] META Export DOCX flies with framePr instead of DrawingDML

2023-04-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154703

--- Comment #6 from Commit Notification 
 ---
Justin Luth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/02c902bde09984a87f19ac0eb63942724056c982

tdf#154703 docx export framePr: merge para/frame FormatBox

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

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

[Libreoffice-bugs] [Bug 154703] META Export DOCX flies with framePr instead of DrawingDML

2023-04-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154703

--- Comment #5 from Commit Notification 
 ---
Justin Luth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/996d264dd4ca37c869e5109296de6ae306f740d9

tdf#154703 docx export framePr: export frame background

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

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

[Libreoffice-bugs] [Bug 154703] META Export DOCX flies with framePr instead of DrawingDML

2023-04-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154703

--- Comment #4 from Commit Notification 
 ---
Justin Luth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/499247966af565071542f1cdfa882d6b8e6c33f0

NFC tdf#154703 docx export framePr: cleanup prep before patch

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

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

[Libreoffice-bugs] [Bug 154703] META Export DOCX flies with framePr instead of DrawingDML

2023-04-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154703
Bug 154703 depends on bug 105035, which changed state.

Bug 105035 Summary: FILEOPEN DOCX changed framePr: Two frames, anchored to the 
same paragraph, imported as a single frame (comment 7)
https://bugs.documentfoundation.org/show_bug.cgi?id=105035

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

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

[Libreoffice-bugs] [Bug 154703] META Export DOCX flies with framePr instead of DrawingDML

2023-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154703

--- Comment #3 from Commit Notification 
 ---
Justin Luth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/e4b1be58db73f5a3c483b40b5615c1c764bbe1d3

tdf#154703 writerfilter framePr: don't duplicate top/bot spacing

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

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

[Libreoffice-bugs] [Bug 154703] META Export DOCX flies with framePr instead of DrawingDML

2023-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154703

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:7.6.0

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

[Libreoffice-bugs] [Bug 154703] META Export DOCX flies with framePr instead of DrawingDML

2023-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154703

Justin L  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #1 from Justin L  ---
attachment 186535  n592908-frameC_word2010.pdf: how it looks in MS Word

proposed temporary import fix for the extra top/bottom margins at 
https://gerrit.libreoffice.org/c/core/+/150157.
But really the export should be fixed first, so that a proper import can be
done.

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