r14165 by fschmid - Fixed Bug #8521: "Overprint setting is lost when copying page"

scribus-commit scribus-commit at lists.scribus.net
Sat Oct 17 00:30:36 CEST 2009


Revision: 14165
Author: fschmid
Date: 2009-10-16T20:32:36.948333Z
Commit message: Fixed Bug #8521: "Overprint setting is lost when copying page"

Changeset: 
M  /branches/Version135/Scribus/scribus/scribusXml.cpp

Diffs:
Index: scribus/scribusXml.cpp
===================================================================
--- scribus/scribusXml.cpp	(revision 14164)
+++ scribus/scribusXml.cpp	(revision 14165)
@@ -1132,6 +1132,7 @@
 
 	bool inItem = false;
 	bool isGroupControl = false;
+	bool doOverprint = false;
 	int  groupsLastItem = 0;
 	int  itemOwnLink    = 0;
 	QString itemClip;
@@ -1165,6 +1166,7 @@
 			OB.isBookmark      = attrAsInt(attrs, "BOOKMARK");
 			OB.NamedLStyle     = attrAsString(attrs, "NAMEDLST", "");
 			isGroupControl     = attrAsBool(attrs, "isGroupControl", false);
+			doOverprint        = attrAsBool(attrs, "doOverprint", false);
 			groupsLastItem     = attrAsInt (attrs, "groupsLastItem", 0);
 			itemOwnLink        = attrAsInt (attrs, "OwnLINK", 0);
 			itemClip           = attrAsString(attrs, "ImageClip", "");
@@ -1317,6 +1319,7 @@
 			LastStyles lastStyle;
 			view->PasteItem(&OB, true, true, false);
 			PageItem* Neu = doc->Items->at(doc->Items->count()-1);
+			Neu->doOverprint = doOverprint;
 			storyText.setDefaultStyle(Neu->itemText.defaultStyle());
 			if (Neu->asLatexFrame())
 			{




More information about the scribus-commit mailing list