r16698 by jghali - #10078: Changing styles imported with text from ODT documents doesn't work properly

scribus-commit scribus-commit at lists.scribus.net
Mon Jun 27 22:21:31 UTC 2011


Author: jghali
Date: Mon Jun 27 22:21:31 2011
New Revision: 16698

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=16698
Log:
#10078: Changing styles imported with text from ODT documents doesn't work properly

Modified:
    branches/Version135/Scribus/scribus/gtgettext.cpp

Modified: branches/Version135/Scribus/scribus/gtgettext.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=16698&path=/branches/Version135/Scribus/scribus/gtgettext.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/gtgettext.cpp (original)
+++ branches/Version135/Scribus/scribus/gtgettext.cpp Mon Jun 27 22:21:31 2011
@@ -250,6 +250,8 @@
 	(*fp_GetText)(filePath, encoding, textOnly, w);
 	// Destroy the writer
 	delete w;
+	// GetText is not quite up to date vs styles, clean char formatting already specified at paragraph level
+	importItem->itemText.fixLegacyFormatting();
 	// Unload the plugin.
 	PluginManager::unloadDLL(gtplugin);
 }  // void gtGetText::CallDLL(const ImporterData& idata, const QString& filePath,




More information about the scribus-commit mailing list