[Libreoffice-bugs] [Bug 76022] DOC/DOCX import: textframe layout is wrong (also wrong in old versions of MSO, but "correct" in MSO2013)

2023-03-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=76022

Kevin Suo  changed:

   What|Removed |Added

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

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

[Libreoffice-bugs] [Bug 76022] DOC/DOCX import: textframe layout is wrong (also wrong in old versions of MSO, but "correct" in MSO2013)

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

--- Comment #27 from Justin L  ---
The document (test.docx) in duplicate bug 115625 is fixed by comment 25's
patch, but that is only one instance in many. This bug report is not yet
solved.

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

[Libreoffice-bugs] [Bug 76022] DOC/DOCX import: textframe layout is wrong (also wrong in old versions of MSO, but "correct" in MSO2013)

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

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

https://git.libreoffice.org/core/commit/4ca4282517d02592966576fc642048b3d5ae5532

related tdf#76022 sw CalcFlyOffset: no ConsiderFly if THROUGH wrap

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 76022] DOC/DOCX import: textframe layout is wrong (also wrong in old versions of MSO, but "correct" in MSO2013)

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

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

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

tdf#115625 tdf#76022 sw table: CalcFlyOffset: get correct surround for textbox

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 76022] DOC/DOCX import: textframe layout is wrong (also wrong in old versions of MSO, but "correct" in MSO2013)

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

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 76022] DOC/DOCX import: textframe layout is wrong (also wrong in old versions of MSO, but "correct" in MSO2013)

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

--- Comment #24 from Justin L  ---
I ran out of time and also running out of confidence. Posting what I have...

https://gerrit.libreoffice.org/c/core/+/149347 related tdf#76022 sync textbox
RES_SURROUND text wrapping // quickly fails a make sw.check

https://gerrit.libreoffice.org/c/core/+/149348 related tdf#76022: don't
ConsiderFly offsets when wrap is THROUGH

https://gerrit.libreoffice.org/c/core/+/149349 [WIP] tdf#76022 table wrap:
always wrap if space

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

[Libreoffice-bugs] [Bug 76022] DOC/DOCX import: textframe layout is wrong (also wrong in old versions of MSO, but "correct" in MSO2013)

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

--- Comment #23 from Justin L  ---
This is noteworthy: // fly anchored at character or at paragraph
bConsiderFly = ... pFly->IsFlyAtContentFrame()  ...
Obviously AsChar has no wrapping, but that ToPage is excluded is unexpected.

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

[Libreoffice-bugs] [Bug 76022] DOC/DOCX import: textframe layout is wrong (also wrong in old versions of MSO, but "correct" in MSO2013)

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

--- Comment #22 from Justin L  ---
attachment 139768 (test.docx) from duplicate bug 115625 is a good example with
several unique qualities of its own:
-it also imports nicely in MSO2003
-in LO it is a sync'd textbox with an unsynchronized wrap (RES_SURROUND) where
in the layout code it looks like it is THROUGH instead of the UI's PARALLEL.

There are also various existing unit tests related to this bug's issues:
-through wrap should be ignored: fdo43573-2-min.docx on page 11
-MS brochure that always exhibits every bug: tdf81345.docx
-parallel wrapping (already works): table-fly-overlap-spacing.docx
-parallel in header (already works): table-fly-overlap.docx

Related but no real impact noticed, but probably useful to verify against to
ensure no bad side effects:
-page-remove-fly-no-table.fodt
-tdf105688.docx
-tdf123163-1.docx
-tdf132911.odt
-tdf135061.odt
-tdf151375.ott
-testCustomShapePresetExport.odt

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

[Libreoffice-bugs] [Bug 76022] DOC/DOCX import: textframe layout is wrong (also wrong in old versions of MSO, but "correct" in MSO2013)

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

Justin L  changed:

   What|Removed |Added

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

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

[Libreoffice-bugs] [Bug 76022] DOC/DOCX import: textframe layout is wrong (also wrong in old versions of MSO, but "correct" in MSO2013)

2023-03-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=76022

--- Comment #21 from Justin L  ---
Created attachment 186038
  --> https://bugs.documentfoundation.org/attachment.cgi?id=186038=edit
tableWrapping2.odt: one case where LO does wrap a table (poorly)

There is one type of situation where LO does wrap a table, but only if the
orientation is set to "LEFT" or "RIGHT" and the wrap is also
left/right/parallel (but not optimal).

The code for all this is in sw/source/core/layout/tabfrm.cxx CalcFlyOffsets()

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

[Libreoffice-bugs] [Bug 76022] DOC/DOCX import: textframe layout is wrong (also wrong in old versions of MSO, but "correct" in MSO2013)

2023-03-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=76022

Justin L  changed:

   What|Removed |Added

   See Also|https://bugs.documentfounda |
   |tion.org/show_bug.cgi?id=11 |
   |5625|
 CC||suokunl...@126.com

--- Comment #20 from Justin L  ---
*** Bug 115625 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 76022] DOC/DOCX import: textframe layout is wrong (also wrong in old versions of MSO, but "correct" in MSO2013)

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

--- Comment #19 from Justin L  ---
Created attachment 186008
  --> https://bugs.documentfoundation.org/attachment.cgi?id=186008=edit
tableWrapping.odt: fundamental difference between LO and MS Word in table
wrapping.

(In reply to Miklos Vajna from comment #18)
After re-examining, only one the shorter table is anchored (inside a textbox).
The longer one is just a normal inline table with no wrapping.

The problem appears to be that LO doesn't consider tables when dealing with
image wrapping.

This minimal example (tableWrapping.odt) shows that natively LO doesn't
consider tables need to be impacted by floating stuff. When saved as DOCX, MS
Word doesn't "fit" the table "beside(under)" the image.

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

[Libreoffice-bugs] [Bug 76022] DOC/DOCX import: textframe layout is wrong (also wrong in old versions of MSO, but "correct" in MSO2013)

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

--- Comment #18 from Miklos Vajna  ---
Justin: if the root cause is lack of floating tables, then please add this bug
to the bug 139532 tracker, I guess that's where we collect floating table
problems. Thanks.

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

[Libreoffice-bugs] [Bug 76022] DOC/DOCX import: textframe layout is wrong (also wrong in old versions of MSO, but "correct" in MSO2013)

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

Justin L  changed:

   What|Removed |Added

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

--- Comment #17 from Justin L  ---
I suspect this may be fixed when we no longer convert page-wide floating tables
into regular tables. (bug 65509)

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

[Libreoffice-bugs] [Bug 76022] DOC/DOCX import: textframe layout is wrong (also wrong in old versions of MSO, but "correct" in MSO2013)

2021-10-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=76022

Justin L  changed:

   What|Removed |Added

 Blocks||131304


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=131304
[Bug 131304] [META] MS Word compatibilityMode = 15
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 76022] DOC/DOCX import: textframe layout is wrong (also wrong in old versions of MSO, but "correct" in MSO2013)

2021-08-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=76022

--- Comment #16 from NISZ LibreOffice Team  ---
*** Bug 143729 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 76022] DOC/DOCX import: textframe layout is wrong (also wrong in old versions of MSO, but "correct" in MSO2013)

2021-08-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=76022

NISZ LibreOffice Team  changed:

   What|Removed |Added

 CC||gti...@gmail.com

--- Comment #15 from NISZ LibreOffice Team  ---
*** Bug 143743 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 76022] DOC/DOCX import: textframe layout is wrong (also wrong in old versions of MSO, but "correct" in MSO2013)

2021-05-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=76022

--- Comment #14 from NISZ LibreOffice Team  ---
A bit of experimentation in Word:
- The top textbox has the Allow overlap setting enabled. This means that
another textbox or shape can overlap it, if that also ha Allow overlap enabled. 
But only if both have it enabled, even if one of them has it disallowed, they
can't overlap.
- The normal i.e. non-floating table however does not have an Allow overlap
setting among it's settings. However it behaves in my Word 2019 as if it had it
disabled: never overlaps the top textbox.

In Writer however the table overlaps the textbox. 
It should behave in Writer in relation to shape objects as if it were having
this Allow overlap feature, and it were disabled.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 76022] DOC/DOCX import: textframe layout is wrong (also wrong in old versions of MSO, but "correct" in MSO2013)

2020-11-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=76022

NISZ LibreOffice Team  changed:

   What|Removed |Added

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

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 76022] DOC/DOCX import: textframe layout is wrong (also wrong in old versions of MSO, but "correct" in MSO2013)

2020-09-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=76022

NISZ LibreOffice Team  changed:

   What|Removed |Added

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

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 76022] DOC/DOCX import: textframe layout is wrong (also wrong in old versions of MSO, but "correct" in MSO2013)

2020-09-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=76022

NISZ LibreOffice Team  changed:

   What|Removed |Added

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

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 76022] DOC/DOCX import: textframe layout is wrong (also wrong in old versions of MSO, but "correct" in MSO2013)

2020-09-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=76022

--- Comment #13 from Attila Bakos (NISZ)  ---
Created attachment 165275
  --> https://bugs.documentfoundation.org/attachment.cgi?id=165275=edit
Same Settings In Word And Writer 7.1 with the sample file

In my opinion, basically there is no problem with the positioning/anchoring.
Both program uses the same distance (1,22 cm and 2,9 cm) and relative point
(page) for positioning, and the textbox -- what includes the first table -- is
in the right place, see this attachment.
The problem with the other table which outside the textbox. In Word in spite of
the wrap setting, which is optimal (means, the text can be that side what have
greater space) there is no surround, but in Writer there is, this is the
problem, I think. So this rather a table positioning problem, than a frame. And
how can it solved is a so good question...
(I think there is a calculating mechanism in Word which indicates that there is
not enough space for the second table and that is the reason for the
difference.)

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 76022] DOC/DOCX import: textframe layout is wrong (also wrong in old versions of MSO, but "correct" in MSO2013)

2020-09-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=76022

NISZ LibreOffice Team  changed:

   What|Removed |Added

 CC||bakos.attilakar...@nisz.hu,
   ||libreoff...@nisz.hu
 Blocks||120466

--- Comment #12 from NISZ LibreOffice Team  ---
@Attila I thought you might be interested in this one.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=120466
[Bug 120466] [META] DOCX (OOXML) anchor and text wrapping bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 76022] DOC/DOCX import: textframe layout is wrong (also wrong in old versions of MSO, but "correct" in MSO2013)

2020-09-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=76022

--- Comment #11 from NISZ LibreOffice Team  ---
Created attachment 165271
  --> https://bugs.documentfoundation.org/attachment.cgi?id=165271=edit
The minimized docx example file in Word and Writer

It seems like the shape is anchored to page in Word, but it's opened as
anchored to paragraph in Writer.
It is also having square wrap in Word.

Setting it manually to anchored To page and Wrap Off recreates the original
look.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 76022] DOC/DOCX import: textframe layout is wrong (also wrong in old versions of MSO, but "correct" in MSO2013)

2020-06-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=76022

Justin L  changed:

   What|Removed |Added

   Keywords||filter:docx
Summary|DOC import: textframe   |DOC/DOCX import: textframe
   |layout is wrong |layout is wrong (also wrong
   ||in old versions of MSO, but
   ||"correct" in MSO2013)

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs