Closed dividor closed 7 years ago
Looks like we could read the w:tblHeader
from the table properties.
Hello,
This is actually a feature that interests me as well. I'm currently coercing the first row of all tables to be the header and am running into downstream problems now with tables that shouldn't have a header row but now do due to my coercion. So the ability of mammoth to identify a header row would be very useful.
Is there an update?
Thanks! Mike
Is there an update?
This is still unimplemented.
Could you try the latest commit on master
and see if that has the behaviour you expect?
Great! Will give it a go and let you know.
Hey,
Just tried it out and it works beautifully, thanks for your hard work!!!
Best, Mike
Yes, thanks loads!
Glad it works.
Attached is a sample document with a table. Mammoth produces a table like this ...
The following variable…
Must be set to…
SET STUFF
Stuff 1
SET STUFF 2
Stuff 2
So it doesn't specify that the first row is actually a header row.
Could Mammoth perhaps set the header row tag for this scenario?
thanks! table-headers.docx