r16864 by craig - Just get a placeholder into SVN for writing cells to file

scribus-commit scribus-commit at lists.scribus.net
Fri Sep 30 19:38:29 UTC 2011


Author: craig
Date: Fri Sep 30 19:38:28 2011
New Revision: 16864

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=16864
Log:
Just get a placeholder into SVN for writing cells to file

Modified:
    trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp
    trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format_save.cpp

Modified: trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=16864&path=/trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp (original)
+++ trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp Fri Sep 30 19:38:28 2011
@@ -4522,7 +4522,7 @@
 	bool fou(false);
 	QString tmpf, tmV;
 	const StyleSet<ParagraphStyle> * docParagraphStyles = tempStyles? tempStyles : & doc->paragraphStyles();
-	PrefsManager* prefsManager = PrefsManager::instance();
+	//UNUSED: PrefsManager* prefsManager = PrefsManager::instance();
 	readParagraphStyle(doc, reader, style);
 	for (int xx=0; xx<docParagraphStyles->count(); ++xx)
 	{

Modified: trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format_save.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=16864&path=/trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format_save.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format_save.cpp (original)
+++ trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format_save.cpp Fri Sep 30 19:38:28 2011
@@ -1737,6 +1737,14 @@
 			WriteObjects(m_Doc, docu, baseDir, 0, 0, ItemSelectionGroup, &item->groupItemList);
 		}
 
+		if (item->isTable())
+		{
+			//PTYPE == PageItem::Table or 16 (pageitem.h)
+			PageItem_Table* tableItem=item->asTable();
+			docu.writeStartElement("TableData");
+			docu.writeEndDocument();
+		}
+
 		//CB PageItemAttributes
 		ObjAttrVector *attributes=item->getObjectAttributes();
 		if (attributes->count() > 0)




More information about the scribus-commit mailing list