Revision: 7474
http://skim-app.svn.sourceforge.net/skim-app/?rev=7474&view=rev
Author: hofman
Date: 2011-09-07 22:51:32 +0000 (Wed, 07 Sep 2011)
Log Message:
-----------
remove PDF with embedded notes as writable type for export when the document is
not printable, because it won't work
Modified Paths:
--------------
trunk/SKMainDocument.m
Modified: trunk/SKMainDocument.m
===================================================================
--- trunk/SKMainDocument.m 2011-09-07 22:47:32 UTC (rev 7473)
+++ trunk/SKMainDocument.m 2011-09-07 22:51:32 UTC (rev 7474)
@@ -314,6 +314,8 @@
[writableTypes removeObject:SKBareXDVDocumentType];
}
if (saveOperation == NSSaveToOperation) {
+ if ([[self pdfDocument] allowsPrinting] == NO)
+ [writableTypes removeObject:SKEmbeddedPDFDocumentType];
[[SKTemplateManager sharedManager] resetCustomTemplateTypes];
[writableTypes addObjectsFromArray:[[SKTemplateManager sharedManager]
customTemplateTypes]];
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit