Revision: 29803
http://sourceforge.net/p/bibdesk/svn/29803
Author: hofman
Date: 2025-11-14 16:26:01 +0000 (Fri, 14 Nov 2025)
Log Message:
-----------
use typedeffed type
Modified Paths:
--------------
trunk/bibdesk/BDSKTemplate.h
trunk/bibdesk/BDSKTemplate.m
Modified: trunk/bibdesk/BDSKTemplate.h
===================================================================
--- trunk/bibdesk/BDSKTemplate.h 2025-11-14 15:48:58 UTC (rev 29802)
+++ trunk/bibdesk/BDSKTemplate.h 2025-11-14 16:26:01 UTC (rev 29803)
@@ -101,7 +101,7 @@
@property (nonatomic, readonly) BDSKTemplateFormat templateFormat,
templateFormatNoUI;
@property (nonatomic, nullable, readonly) NSString *fileExtension;
-@property (nonatomic, nullable, readonly) NSString *documentType;
+@property (nonatomic, nullable, readonly) NSAttributedStringDocumentType
documentType;
@property (nonatomic, nullable, readonly) NSString *mainPageString;
- (nullable NSAttributedString
*)mainPageAttributedStringWithDocumentAttributes:(NSDictionary * _Nullable *
_Nullable)docAttributes;
Modified: trunk/bibdesk/BDSKTemplate.m
===================================================================
--- trunk/bibdesk/BDSKTemplate.m 2025-11-14 15:48:58 UTC (rev 29802)
+++ trunk/bibdesk/BDSKTemplate.m 2025-11-14 16:26:01 UTC (rev 29803)
@@ -536,8 +536,8 @@
return format;
}
-- (NSString *)documentType {
- NSString *docType = nil;
+- (NSAttributedStringDocumentType)documentType {
+ NSAttributedStringDocumentType docType = nil;
BDSKTemplateFormat templateFormat = [self templateFormat];
if(templateFormat == BDSKTemplateFormatRichHTML)
docType = NSHTMLTextDocumentType;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit