[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: =?utf-8?q?=5Bcalligra=5D_libs/kotext/opendocument=3A_Support_the?=
From: Pierre Ducroquet <pinaraf () pinaraf ! info>
Date: 2011-04-28 21:05:10
Message-ID: 20110428210510.97333A60A4 () git ! kde ! org
[Download RAW message or body]
Git commit 43e69e82d02046cddc88de5860d910d5c0106e2f by Pierre Ducroquet.
Committed on 28/04/2011 at 23:05.
Pushed by ducroquet into branch 'master'.
Support the opendocument structure we generate...
M +9 -0 libs/kotext/opendocument/KoTextLoader.cpp
http://commits.kde.org/calligra/43e69e82d02046cddc88de5860d910d5c0106e2f
diff --git a/libs/kotext/opendocument/KoTextLoader.cpp \
b/libs/kotext/opendocument/KoTextLoader.cpp index cbbf0e4..aeb65b3 100644
--- a/libs/kotext/opendocument/KoTextLoader.cpp
+++ b/libs/kotext/opendocument/KoTextLoader.cpp
@@ -1991,6 +1991,15 @@ void KoTextLoader::loadTable(const KoXmlElement &tableElem, \
QTextCursor &cursor) loadTableRow(tblTag, tbl, spanStore, cursor, rows);
if (tblTag.attributeNS(KoXmlNS::delta, "insertion-type") != "")
d->closeChangeRegion(tblTag);
+ } else if (tblLocalName == "table-rows") {
+ KoXmlElement subTag;
+ forEachElement(subTag, tblTag) {
+ if (!subTag.isNull()) {
+ if ((subTag.namespaceURI() == KoXmlNS::table) && \
(subTag.localName() == "table-row")) { + \
loadTableRow(subTag, tbl, spanStore, cursor, rows); + }
+ }
+ }
} else if (tblLocalName == "table-header-rows") {
KoXmlElement subTag;
forEachElement(subTag, tblTag) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic