Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report]: Table Styles cleared in documents #203

Open
amilton-jsq opened this issue Mar 27, 2024 · 0 comments
Open

[Bug Report]: Table Styles cleared in documents #203

amilton-jsq opened this issue Mar 27, 2024 · 0 comments
Labels
T: bug Functionality that does not work as intended/expected

Comments

@amilton-jsq
Copy link

Environment
Carbone Version: Carbone On-Premise: v4.21.0 (via Docker)
Node Version: [e.g. Node 8.16.1]
Browsers: N/A
Desktop OS: MacOS
Other: LibreOffice, Word 365, Python SDK

Expected Behaviour
When creating documents with styled tables, that table styles are not cleared.
Element formatting for items in table cells works (e.g. formatN())

Actual Behaviour
Table styles are cleared, formatting not carried out

Steps to reproduce
Create a Word or ODT document with a table with styled cell elements or table styling, add formatting rules
Generate document that populates the table
Cell styles are removed, formatting does not occur.

Screenshots
ODT Template with table, notice 2nd column is right-aligned and has top/bottom borders
image

Render - notice

  • cell formatting is gone, no right alignment, borders missing - Manual header row formats correctly

  • formatN(2) does not occur (nor does formatC()).

  • Style is cleared for PDF or ODT outputs.

  • Style is cleared for ODT and DOCX templates.

image

Reproduction Link / Code example
You can share your Carbone code through https://codesandbox.io/ or directly on this file.

Other comments
Add any other context about the problem here.

@amilton-jsq amilton-jsq added the T: bug Functionality that does not work as intended/expected label Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

No branches or pull requests

1 participant