Skip to content

Commit d2ab047

Browse files
committed
fix docx table style
1 parent 374b8a0 commit d2ab047

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/odr/internal/ooxml/text/ooxml_text_document.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,8 @@ class ElementAdapter final : public abstract::ElementAdapter,
526526
}
527527
[[nodiscard]] TableStyle
528528
table_style(const ElementIdentifier element_id) const override {
529-
return get_partial_style(element_id).table_style;
529+
const pugi::xml_node node = get_node(element_id);
530+
return m_document->style_registry().partial_table_style(node).table_style;
530531
}
531532

532533
[[nodiscard]] TableColumnStyle

0 commit comments

Comments
 (0)