Plug-in API for manipulating documents which do not have windows. More...
#import <xap_CocoaPlugin.h>
Public Member Functions | |
(BOOL) | - exportDocumentToFile:exportOptions: |
Save the document in the document file format suggested by the path's extension (e.g., .html, .txt). |
Plug-in API for manipulating documents which do not have windows.
Typically these loaded from a file. See XAP_CocoaPlugin's importDocumentFromFile:importOptions: method.
- (BOOL) exportDocumentToFile: | (NSString *) | path | ||
exportOptions: | (NSDictionary *) | options | ||
Save the document in the document file format suggested by the path's extension (e.g., .html, .txt).
path | The output file path. This should have an appropriate extension. | |
options | A dictionary mapping of NSString keys to NSString values; these options are passed to the exporter. May be nil. |
Reimplemented in AP_CocoaPlugin_FramelessDocument.