https://bugs.documentfoundation.org/show_bug.cgi?id=168515
Bug ID: 168515
Summary: LibreOffice counts tables in the Header section |
different with Microsoft Office
Product: LibreOffice
Version: 25.2.3.2 release
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Severity: enhancement
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Description:
When counting the number of tables in a document, LibreOffice also counts
tables in the Header section.
Steps to Reproduce:
1. A document contains 2 tables:
<table-1> in the Header section.
<table-2> in the Header section.
2. Execute the code below to count the number of tables (C#)
get
{
var tables = (_xDoc as XTextTablesSupplier).getTextTables();
if (tables == null)
return 0;
return (tables as XIndexAccess).getCount();
}
Actual Results:
The number of tables is 2.
Expected Results:
The number of tables is 1. <table-1> in the Header section should not be
counted like Microsoft Office.
Reproducible: Always
User Profile Reset: Yes
Additional Info:
Should exclude the Header/Footer sections, or have an option to determine the
section that a table belongs to.
--
You are receiving this mail because:
You are the assignee for the bug.