r14063 by jghali - #8417: bleed is not handled correctly on master pages
scribus-commit
scribus-commit at lists.scribus.net
Tue Sep 29 23:30:18 CEST 2009
Revision: 14063
Author: jghali
Date: 2009-09-29T21:30:47.525003Z
Commit message: #8417: bleed is not handled correctly on master pages
Changeset:
M /branches/Version135/Scribus/scribus/scribusdoc.cpp
Diffs:
Index: scribus/scribusdoc.cpp
===================================================================
--- scribus/scribusdoc.cpp (revision 14062)
+++ scribus/scribusdoc.cpp (revision 14063)
@@ -4357,12 +4357,22 @@
}
else
{
- if (locationOfPage(page->pageNr()) == LeftPage)
+ PageLocation pageLocation = MiddlePage;
+ if (page->pageName().isEmpty()) // Standard page
+ pageLocation = locationOfPage(page->pageNr());
+ else if (page->LeftPg == 1) // Left Master page
+ pageLocation = LeftPage;
+ else if (page->LeftPg == 0) // Right Master page
+ pageLocation = RightPage;
+ else // Middle Master page
+ pageLocation = MiddlePage;
+
+ if (pageLocation == LeftPage)
{
bleedData.Right = bleeds.Left;
bleedData.Left = bleeds.Right;
}
- else if (locationOfPage(page->pageNr()) == RightPage)
+ else if (pageLocation == RightPage)
{
bleedData.Right = bleeds.Right;
bleedData.Left = bleeds.Left;
More information about the scribus-commit
mailing list