Download 14 - Docu + Design Daube
Transcript
Using Imported Files and Insets 12 File-to-file filter clients can contain more than one filter process in a single client. You must register each filter individually and give each one a unique client name, even though they are coded in the same file-to-file filter client. For example, you might have a DLL named my_filter.dll. Assume that DLL a process to convert myFormat to MIF, and another process to convert FrameMaker documents to myFormat. On Windows platforms, you would provide two entries in the FrameMaker product’s .ini file; on Unix platforms, you would provide two entries in the apiclients file; for the Macintosh, you would specify the filters individually in the client’s resource fork. For more information on registering filter clients, see the FDK Platform Guide for your platform. Specifying format IDs and filetype hint strings When you register a filter, the FrameMaker product uses the information you supply to associate that filter with a specific file format. The product also uses that information to associate a filter with an imported graphic or a text inset. Internally, this information is stored in a filetype hint. The filetype hint includes the filter version, the vendor, and the file format this filter handles. Assume you create a filter client that translates Himyaritic documents to English, and you assign it the format ID ’HIM ’. When you import a Himyaritic file by reference into a FrameMaker product document, the FrameMaker product creates a text inset and saves the format ID in the inset’s import hint (FP_ImportHint) property. The next time you open the document, the FrameMaker product uses the import hint to update the text inset. It looks for a client with the format ID ‘HIM ’. If it finds a client with this ID, it uses that client to update the inset. Note that this mechanism works across platforms. If you move the document and text file to another platform, the hint string will still indicate the correct filter, assuming the filter is installed on the new platform. Specifying format IDs You can make up format IDs for specific file formats. However, FrameMaker reserves the following format IDs for the specified file formats. Value Description ‘CDR ’ Corel Draw ‘CGM ’ Computer Graphics Metafile ‘CVBN’ Corel Ventura compound document (Windows) ‘DCA ’ DCA to MIF (UNIX) ‘DIB ’ Device-independent bitmap (Windows) ‘DRW ’ Micrografx CAD FDK Programmer’s Guide 247
Related documents
3 - Mekon
FDK Programmer`s Reference
FrameMaker MIF Reference Guide
Leica ASP300 User's Manual
EasyLabel Documentation
PVRScope User Manual - Imagination Technologies
Voicemail Pro Installation and Maintenance Guide
Überblick über VoiceMail Pro
Voicemail Pro - Avaya Support
VoiceMail Pro - Avaya Support
CURSA [1ex] Catalogue and Table Manipulation
OpenCms Documentation Version 5.0