Revision: 5816
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5816&view=rev
Author:   hofman
Date:     2009-09-26 23:20:35 +0000 (Sat, 26 Sep 2009)

Log Message:
-----------
use correct rich text formats

Modified Paths:
--------------
    trunk/SKFormatCommand.m

Modified: trunk/SKFormatCommand.m
===================================================================
--- trunk/SKFormatCommand.m     2009-09-26 20:53:14 UTC (rev 5815)
+++ trunk/SKFormatCommand.m     2009-09-26 23:20:35 UTC (rev 5816)
@@ -89,9 +89,9 @@
                     else if ([ext isEqualToString:@"doc"])
                         docType = NSDocFormatTextDocumentType;
                     else if ([ext isEqualToString:@"docx"])
-                        docType = NSWordMLTextDocumentType;
+                        docType = NSOfficeOpenXMLTextDocumentType;
                     else if ([ext isEqualToString:@"odt"])
-                        docType = NSOfficeOpenXMLTextDocumentType;
+                        docType = NSOpenDocumentTextDocumentType;
                     if (docType && [docType 
isEqualToString:NSRTFTextDocumentType] == NO) {
                         [mutableDocAttrs setObject:docType 
forKey:NSDocumentTypeDocumentAttribute];
                         data = [attrText dataFromRange:NSMakeRange(0, 
[attrText length]) documentAttributes:mutableDocAttrs error:NULL];


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to