Module: Pasteboard::Type
- Defined in:
- lib/pasteboard/type.rb
Overview
Documentation here comes from the OS X 10.6 Core Library’s Uniform Type Identifiers Reference.
Constant Summary collapse
- Encodings =
Maps a type to its encoding. The default encoding is Encoding::BINARY.
{}
- ITEM =
Base type for the physical hierarchy.
'public.item'
- CONTENT =
Base type for all document content.
'public.content'
- COMPOSITE_CONTENT =
Base type for mixed content. For example, a PDF file contains both text and special formatting data.
'public.composite-content'
- DATA =
Base physical type for byte streams (flat files, pasteboard data, and so on).
'public.data'
- DATABASE =
Base functional type for databases.
'public.database'
- CALENDAR_EVENT =
Base functional type for scheduled events.
'public.calendar-event'
- MESSAGE =
Base type for messages (email, IM, and so on).
'public.message'
- PRESENTATION =
,public.composite-content,Base type for presentations.
'public.presentation'
- CONTACT =
Base type for contact information.
'public.contact'
- ARCHIVE =
Base type for an archive of files and directories.
'public.archive'
- DISK_IMAGE =
Base type for items mountable as a volume.
'public.disk-image'
- TEXT =
Base type for all text, including text with markup information (HTML, RTF, and so on).
'public.text'
- PLAIN_TEXT =
Text of unspecified encoding, with no markup. Equivalent to the MIME type text/plain
'public.plain-text'
- PLAIN_TEXT_UTF8 =
Unicode-8
'public.utf8-plain-text'
- UTF_8 =
PLAIN_TEXT_UTF8
- PLAIN_TEXT_UTF16_EXTERNAL =
Unicode-16 with byte-order mark (BOM), or if BOM is not present, an external representation byte order (big-endian).
'public.utf16-external-plain-text'
- PLAIN_TEXT_UTF16 =
Unicode-16, native byte order, with an optional byte-order mark (BOM).
'public.utf16-plain-text'
- PLAIN_TEXT_TRADITIONAL =
Classic Mac OS text.
'com.apple.traditional-mac-plain-text'
- RTF =
Rich Text.
'public.rtf'
- INKTEXT =
Opaque InkText data.
'com.apple.ink.inktext'
- HTML =
HTML text.
'public.html'
- XML =
XML text.
'public.xml'
- SOURCE_CODE =
Generic source code.
'public.source-code'
- C_SOURCE =
C source code.
'public.c-source'
- OBJC_SOURCE =
Objective-C source code.
'public.objective-c-source'
- C_PLUS_PLUS_SOURCE =
C++ source code.
'public.c-plus-plus-source'
- CXX_SOURCE =
C_PLUS_PLUS_SOURCE
- OBJC_PLUS_PLUS_SOURCE =
Objective-C++ source code.
'public.objective-c-plus-plus-source'
- OBJCXX_SOURCE =
OBJC_PLUS_PLUS_SOURCE
- C_HEADER =
C header file.
'public.c-header'
- C_PLUS_PLUS_HEADER =
C++ header file.
'public.c-plus-plus-header'
- CXX_HEADER =
C_PLUS_PLUS_HEADER
- JAVA_SOURCE =
Java source code
'com.sun.java-source'
- SCRIPT =
Base type for scripting language source code.
'public.script'
- ASSEMBLY_SOURCE =
Assembly language source code.
'public.assembly-source'
- REZ_SOURCE =
Rez source code.
'com.apple.rez-source'
- MIG_SOURCE =
Mig definition source code.
'public.mig-source'
- SYMBOL_EXPORT_LIST =
Symbol export list.
'com.apple.symbol-export'
- JAVASCRIPT_SOURCE =
JavaScript.
'com.netscape.javascript-source'
- SHELL_SCRIPT =
Shell script.
'public.shell-script'
- CSH_SCRIPT =
C-shell script.
'public.csh-script'
- PERL_SCRIPT =
Perl script.
'public.perl-script'
- PYTHON_SCRIPT =
Python script.
'public.python-script'
- RUBY_SCRIPT =
Ruby script.
'public.ruby-script'
- PHP_SCRIPT =
PHP script.
'public.php-script'
- JAVA_WEB_START =
Java web start.
'com.sun.java-web-start'
- APPLESCRIPT_TEXT =
AppleScript text.
'com.apple.applescript.text'
- APPLESCRIPT_SCRIPT =
AppleScript.
'com.apple.applescript.script'
- OBJECT_CODE =
Object code.
'public.object-code'
- MACH_O_BINARY =
Mach-O binary.
'com.apple.mach-o-binary'
- PEF_BINARY =
PEF (CFM-based) binary
'com.apple.pef-binary'
- WINDOWS_EXECUTABLE =
Microsoft Windows application.
'com.microsoft.windows-executable'
- WINDOWS_DLL =
Microsoft dynamic link library.
'com.microsoft.windows-dynamic-link-library'
- JAVA_CLASS =
Java class.
'com.sun.java-class'
- JAVA_ARCHIVE =
Java archive.
'com.sun.java-archive'
- QUARTZ_COMPOSER_COMPOSITION =
Quartz Composer composition.
'com.apple.quartz-composer-composition'
- GNU_TAR_ARCHIVE =
GNU archive.
'org.gnu.gnu-tar-archive'
- TAR_ARCHIVE =
Tar archive.
'public.tar-archive'
- GUN_ZIP_ARCHIVE =
Gzip archive.
'org.gnu.gnu-zip-archive'
- GNU_ZIP_TAR_ARCHIVE =
Gzip tar archive.
'org.gnu.gnu-zip-tar-archive'
- BINHEX_ARCHIVE =
BinHex archive.
'com.apple.binhex-archive'
- MACBINARY_ARCHIVE =
MacBinary archive.
'com.apple.macbinary-archive'
- URL =
Uniform Resource Locator.
'public.url'
- FILE_URL =
File URL.
'public.file-url'
- URL_NAME =
URL name.
'public.url-name'
- VCARD =
vCard (electronic business card).
'public.vcard'
- IMAGE =
Base type for images.
'public.image'
- FAX =
Base type for fax images.
'public.fax'
- JPEG =
JPEG image.
'public.jpeg'
- JPEG_2000 =
JPEG 2000 image.
'public.jpeg-2000'
- TIFF =
TIFF image.
'public.tiff'
- CAMERA_RAW_IMAGE =
Base type for digital camera raw image formats.
'public.camera-raw-image'
- PICT =
PICT image
'com.apple.pict'
- MACPAINT =
MacPaint image.
'com.apple.macpaint-image'
- PNG =
PNG image
'public.png'
- XBITMAP =
X bitmap image.
'public.xbitmap-image'
- QUICKTIME_IMAGE =
QuickTime image.
'com.apple.quicktime-image'
- ICNS =
Mac OS icon image.
'com.apple.icns'
- TEXT_MULTIMEDIA_DATA =
MLTE (Textension) format for mixed text and multimedia data.
'com.apple.txn.text-multimedia-data'
- AUDIOVISUAL_CONTENT =
Base type for any audiovisual content.
'public.audiovisual-content'
- AV_CONTENT =
AUDIOVISUAL_CONTENT
- MOVIE =
Base type for movies (video with optional audio or other tracks).
'public.movie'
- VIDEO =
Base type for video (no audio).
'public.video'
- QUICKTIME_MOVIE =
QuickTime movie.
'com.apple.quicktime-movie'
- AVI =
AVI movie.
'public.avi'
- MPEG =
MPEG-1 or MPEG-2 content.
'public.mpeg'
- MPEG4 =
MPEG-4 content.
'public.mpeg-4'
- MOVIE_3GPP =
3GPP movie.
'public.3gpp'
- MOVIE_3GPP2 =
3GPP2 movie.
'public.3gpp2'
- AUDIO =
Base type for audio (no video).
'public.audio'
- MP3 =
MPEG-3 audio.
'public.mp3'
- MPEG4_AUDIO =
MPEG-4 audio.
'public.mpeg-4-audio'
- MPEG4_AUDIO_PROTECTED =
Protected MPEG-4 audio. (iTunes music store format)
'com.apple.protected-mpeg-4-audio'
- ULAW =
μLaw audio.
'public.ulaw-audio'
- AIFC =
AIFF-C audio.
'public.aifc-audio'
- AIFF =
AIFF audio.
'public.aiff-audio'
- COREAUDIO =
Core Audio format.
'com.apple.coreaudio-format'
- DIRECTORY =
Base type for directories.
'public.directory'
- FOLDER =
A plain folder (that is, not a package).
'public.folder'
- VOLUME =
A volume.
'public.volume'
- PACKAGE =
A package (that is, a directory presented to the user as a file).
'com.apple.package'
- BUNDLE =
A directory with an internal structure specified by Core Foundation Bundle Services. .
'com.apple.bundle'
- EXECUTABLE =
Base type for executable data.
'public.executable'
- APPLICATION =
Base type for applications and other launchable files.
'com.apple.application'
- APPLICATION_BUNDLE =
Application bundle.
'com.apple.application-bundle'
- APPLICATION_FILE =
Application file.
'com.apple.application-file'
- APPLICATION_FILE_DEPRECATED =
Deprecated application file.
'com.apple.deprecated-application-file'
- PLUGIN =
Plugin.
'com.apple.plugin'
- METADATA_IMPORTER =
Spotlight importer plugin.
'com.apple.metadata-importer'
- DASHBOARD_WIDGET =
Dashboard widget.
'com.apple.dashboard-widget'
- CPIO_ARCHIVE =
CPIO archive.
'public.cpio-archive'
- ZIP_ARCHIVE =
Zip archive.
'com.pkware.zip-archive'
- WEBARCHIVE =
Web Kit webarchive format.
'com.apple.webarchive'
- FRAMEWORK =
Framework.
'com.apple.framework'
- RTFD =
Rich Text Format Directory. That is, Rich Text with content embedding, on-disk format.
'com.apple.rtfd'
- RTFD_FLAT =
Rich Text with content embedding, pasteboard format.
'com.apple.flat-rtfd'
- RESOLVEABLE =
Items that the Alias Manager can resolve.
'com.apple.resolvable'
- SYMLINK =
UNIX-style symlink.
'public.symlink'
- MOUNT_POINT =
A volume mount point
'com.apple.mount-point'
- ALIAS_RECORD =
Alias record.
'com.apple.alias-record'
- ALIAS_FILE =
Alias file.
'com.apple.alias-file'
- FONT =
Base type for fonts.
'public.font'
- TRUETYPE_FONT =
TrueType font.
'public.truetype-font'
- POSTSCRIPT_FONT =
PostScript font.
'com.adobe.postscript-font'
- TRUETYPE_DATA_FORK_FONT =
TrueType data fork font.
'com.apple.truetype-datafork-suitcase-font'
- OPENTYPE_FONT =
PostScript OpenType font.
'public.opentype-font'
- TRUETYPE_TTF_FONT =
TrueType OpenType font.
'public.truetype-ttf-font'
- TRUETYPE_COLLECTION_FONT =
TrueType collection font.
'public.truetype-collection-font'
- FONT_SUITCASE =
Font suitcase.
'com.apple.font-suitcase'
- POSTSCRIPT_LWFN_FONT =
PostScript Type 1 outline font.
'com.adobe.postscript-lwfn-font'
- POSTSCRIPT_PFB_FONT =
PostScriptType1 outline font.
'com.adobe.postscript-pfb-font'
- POSTSCRIPT_PFA_FONT =
PostScriptType 1 outline font.
'com.adobe.postscript.pfa-font'
- COLORSYNC_PROFILE =
ColorSync profile.
'com.apple.colorsync-profile'
- FILENAME_EXTENSION =
Filename extension.
'public.filename-extension'
- MIME_TYPE =
MIME type.
'public.mime-type'
- OS_TYPE =
Four-character code (type OSType).
'com.apple.ostype'
- PASTEBOARD_TYPE =
NSPasteboard type.
'com.apple.nspboard-type'
- PDF =
PDF data.
"com.adobe.pdf (kUTTypePDF)"
- POSTSCRIPT =
PostScript data.
"com.adobe.postscript"
- ENCAPSULATED_POSTSCRIPT =
Encapsulated PostScript.
"com.adobe.encapsulated-postscript"
- PHOTOSHOP_IMAGE =
Adobe Photoshop document.
"com.adobe.photoshop-image"
- ILLUSTRATOR_IMAGE =
Adobe Illustrator document.
"com.adobe.illustrator.ai-image"
- GIF =
GIF image.
"com.compuserve.gif (kUTTypeGIF)"
- WINDOWS_BITMAP =
Windows bitmap image.
"com.microsoft.bmp (kUTTypeBMP)"
- WINDOWS_ICON =
Windows icon image.
"com.microsoft.ico (kUTTypeICO)"
- WORD_DOCUMENT =
Microsoft Word data.
"com.microsoft.word.doc"
- EXCEL_SPREADSHEET =
Microsoft Excel data.
"com.microsoft.excel.xls"
- POWERPOINT_PRESENTATION =
Microsoft PowerPoint presentation.
"com.microsoft.powerpoint.ppt"
- MICROSOFT_WAV =
Waveform audio.
"com.microsoft.waveform-audio"
- MICROSOFT_ADVANCED_SYSTEMS_FORMAT =
Microsoft Advanced Systems format.
"com.microsoft.advanced-systems-format"
- WINDOWS_MEDIA_WM =
Windows media.
"com.microsoft.windows-media-wm"
- WINDOWS_MEDIA_WMV =
Windows media.
"com.microsoft.windows-media-wmv"
- WINDOWS_MEDIA_WMP =
Windows media.
"com.microsoft.windows-media-wmp"
- WINDOWS_MEDIA_WMA =
Windows media audio.
"com.microsoft.windows-media-wma"
- MICROSOFT_ADVANCED_STREAM_REDIRECTOR =
Advanced Stream Redirector.
"com.microsoft.advanced-stream-redirector"
- WINDOWS_MEDIA_WMX =
Windows media.
"com.microsoft.windows-media-wmx"
- WINDOWS_MEDIA_WVX =
Windows media.
"com.microsoft.windows-media-wvx"
- WINDOWS_MEDIA_WAX =
Windows media audio.
"com.microsoft.windows-media-wax"
- KEYNOTE_DOCUMENT =
Apple Keynote document.
"com.apple.keynote.key"
- KEYNOTE_THEME =
Apple Keynote theme.
"com.apple.keynote.kth"
- TGA_IMAGE =
TGA image.
"com.truevision.tga-image"
- SGI_IMAGE =
Silicon Graphics image.
"com.sgi.sgi-image"
- OPENEXR_IMAGE =
OpenEXR image.
"com.ilm.openexr-image"
- FLASHPIX_IMAGE =
FlashPix image.
"com.kodak.flashpix.image"
- J2_FAX =
J2 fax.
"com.j2.jfx-fax"
- EFAX_FAX =
eFax fax.
"com.js.efx-fax"
- SOUND_DESIGNER_II_AUDIO =
Digidesign Sound Designer II audio.
"com.digidesign.sd2-audio"
- SOUND_DESIGNER_2_AUDIO =
SOUND_DESIGNER_II_AUDIO
- REAL_MEDIA =
RealMedia.
"com.real.realmedia"
- REAL_AUDIO =
RealMedia audio.
"com.real.realaudio"
- REAL_SMIL =
Real synchronized multimedia integration language.
"com.real.smil"
- STUFFIT_ARCHIVE =
Stuffit archive.
"com.allume.stuffit-archive"