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

            Bug ID: 100047
           Summary: Addition of new rows in document  table (word table)in
                    not inheriting previous row attributes in .docx but
                    inheriting in .doc
           Product: LibreOffice
           Version: 5.0.4.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: jvchb...@gmail.com

We use LibreOffice to create  docx documents using UNO Java API.
 We use MS Word 97  filter to produce .doc documents and MS Word 2007 XML  to
produce .docx documents.

 We Applied Text Highlight color,Font color,Shading formatting for columns of
table row.

It  works fine for .doc with MS Word 97  filter but fails for .docx with MS
Word 2007 XML  filter.It outputs the table rows without applying format of Text
Highlight color,Font color  for .docx. But applies shading.

The code we use for additions of new rows for both .doc and .docxis same.
 So the issue is with Calc MS Word 2007 XML filter only as MS Word 97  filter
is working absolutely fine.

Code Snippet used for generating new rows:

XTableRows rows = table.getRows(); // XTextTable rows and columns object
XTableColumns columns = table.getColumns();                     int rowNum =
rows.getCount(); // get # of rows
int colNum = columns.getCount();
int numOfNewRows = valuesList.size() - 1;

Please let us know  if more information is required  to reproduce the issue.

-- 
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

Reply via email to