From 5de9a51015e0b780d6aeb4785326134e9176509b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Pi=C3=B1eiro?= Date: Sat, 3 Aug 2013 14:13:44 +0200 Subject: [PATCH] Tagged-PDF: Add support to LBody tag https://bugs.freedesktop.org/show_bug.cgi?id=67710 --- poppler/StructElement.cc | 1 + poppler/StructElement.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/poppler/StructElement.cc b/poppler/StructElement.cc index d250f0a..68f3c9b 100644 --- a/poppler/StructElement.cc +++ b/poppler/StructElement.cc @@ -544,6 +544,7 @@ static const struct TypeMapEntry { { StructElement::L, "L", elementTypeBlock, attributeMapList }, { StructElement::LI, "LI", elementTypeBlock, attributeMapBlock }, { StructElement::Lbl, "Lbl", elementTypeBlock, attributeMapBlock }, + { StructElement::Lbl, "LBody", elementTypeUndefined, attributeMapBlock }, { StructElement::Table, "Table", elementTypeBlock, attributeMapTable }, { StructElement::TR, "TR", elementTypeUndefined, attributeMapShared }, { StructElement::TH, "TH", elementTypeUndefined, attributeMapTableCell }, diff --git a/poppler/StructElement.h b/poppler/StructElement.h index 4b60684..b0e8ae8 100644 --- a/poppler/StructElement.h +++ b/poppler/StructElement.h @@ -137,7 +137,7 @@ public: P, H, H1, H2, H3, H4, H5, H6, // Paragraph-like - L, LI, Lbl, // List elements + L, LI, Lbl, LBody, // List elements Table, TR, TH, TD, THead, TFoot, TBody, // Table elements -- 1.8.1.2