https://bugs.documentfoundation.org/show_bug.cgi?id=146957

Justin L <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED
             Blocks|                            |113363
            Summary|Header text and page number |Header text (w:ptab ) and
                   |in footer are inconsistent  |page number (framePr in
                   |in for .docx files          |BlockSDT) in footer are
                   |                            |inconsistent in for .docx
                   |                            |files
            Version|6.1.6.3 release             |unspecified

--- Comment #8 from Justin L <[email protected]> ---
repro 7.6+
This one is rather strange. Of course, it is also very strangely designed.
So the page number at the bottom makes sense. We simply don't import blockSDTs
as SDTs, so everything in here will be messed up. (Why put it in a content
control???). That is why the framePr is being ignored. [There are lots of bug
reports about blockSDT not being handled, like bug 148035. Ignore for this bug
report.]


The header is a problem. It seems to be a relatively new feature of MS Office -
a centered tab in whatever context. LO doesn't have anything comparable. I'll
mark this as a duplicate of bug 78144.

The header has a "character run" like this
<w:r>
  <w:ptab w:relativeTo="margin" w:alignment="center" w:leader="none"/>
</w:r>

// We only handle the case when the line already has content, so the
left-aligned ptab is
    // equivalent to a line break.
    if (nAlignment != NS_ooxml::LN_Value_ST_PTabAlignment_left)
        return;

w:ptab initial support in commit 8bac48991857d222f0e8f0c07b8c4e06649e1632
Author: Miklos Vajna on Fri Jan 28 13:38:20 2022 +0100
    DOCX import: handle a subset of <w:ptab w:alignment="left">

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


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=113363
[Bug 113363] [META] DOCX (OOXML) content control-related issues
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to