pandoc icon indicating copy to clipboard operation
pandoc copied to clipboard

Docx reader: handle table column relative widths

Open jgm opened this issue 1 year ago • 1 comments

These should be easy to extract from the

      <w:tblGrid>
        <w:gridCol w:w="2337"/>
        <w:gridCol w:w="2337"/>
        <w:gridCol w:w="2338"/>
        <w:gridCol w:w="2338"/>
      </w:tblGrid>

element which is a direct child of w:tbl.

The only complication is that we don't know the page width, so we may need to guess a bit.

jgm avatar Jun 02 '24 03:06 jgm

Also, we should have some mechanism for determining when a table is "simple" and should have no embedded width information. I'm not quite sure how to do that in a docx context.

jgm avatar Jun 02 '24 03:06 jgm