20#ifndef INCLUDED_SVL_INETTYPE_HXX
21#define INCLUDED_SVL_INETTYPE_HXX
32 =
u"application/vnd.stardivision.calc";
34 =
u"application/vnd.stardivision.chart";
36 =
u"application/vnd.stardivision.draw";
38 =
u"application/vnd.stardivision.image";
40 =
u"application/vnd.stardivision.impress-packed";
42 =
u"application/vnd.stardivision.impress";
44 =
u"application/vnd.stardivision.mail";
46 =
u"application/vnd.stardivision.math";
48 =
u"application/vnd.stardivision.news";
50 =
u"application/vnd.stardivision.outtray";
52 =
u"application/vnd.stardivision.template";
54 =
u"application/vnd.stardivision.writer-global";
56 =
u"application/vnd.stardivision.writer-web";
58 =
u"application/vnd.stardivision.writer";
61 =
u"application/x-gallery-theme";
66 =
u"application/x-msexcel-template";
69 =
u"application/x-mspowerpoint-template";
72 =
u"application/x-msword-template";
84 =
u"application/x-starwriter-global";
87 =
u"application/x-sun-ae-file";
98 =
u".chaos/fsys-special-folder";
126 =
u"application/vnd.sun.xml.writer";
128 =
u"application/vnd.sun.xml.calc";
130 =
u"application/vnd.sun.xml.impress";
132 =
u"application/vnd.sun.xml.draw";
134 =
u"application/vnd.sun.xml.chart";
136 =
u"application/vnd.sun.xml.math";
138 =
u"application/vnd.sun.xml.writer-global";
140 =
u"application/vnd.sun.xml.impress-packed";
144#define INETTYPE_URL_PROT_DATA "data"
145#define INETTYPE_URL_PROT_FILE "file"
146#define INETTYPE_URL_PROT_HTTP "http"
147#define INETTYPE_URL_PROT_HTTPS "https"
148#define INETTYPE_URL_PROT_MACRO "macro"
149#define INETTYPE_URL_PROT_MAILTO "mailto"
150#define INETTYPE_URL_PROT_PRIVATE "private"
250 static INetContentType GetContentType4Extension(OUString
const& rExtension);
254 static bool GetExtensionFromURL(std::u16string_view rURL, OUString& rExtension);
256 static bool parse(OUString
const& rMediaType, OUString& rType, OUString& rSubType,
std::unordered_map< OString, INetContentTypeParameter > INetContentTypeParameterList
constexpr OUStringLiteral CONTENT_TYPE_STR_VIDEO_WEBM
constexpr OUStringLiteral CONTENT_TYPE_STR_TEXT_PLAIN
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_VND_IMPRESSPACKED
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_GALLERY
@ CONTENT_TYPE_APP_FRAMESET
@ CONTENT_TYPE_APP_VND_MATH
@ CONTENT_TYPE_AUDIO_BASIC
@ CONTENT_TYPE_AUDIO_WEBM
@ CONTENT_TYPE_APP_MSWORD_TEMPL
@ CONTENT_TYPE_VIDEO_THEORA
@ CONTENT_TYPE_APP_MSPPOINT
@ CONTENT_TYPE_APP_MSPPOINT_TEMPL
@ CONTENT_TYPE_IMAGE_GENERIC
@ CONTENT_TYPE_VIDEO_MSVIDEO
@ CONTENT_TYPE_INET_MULTIPART_MIXED
@ CONTENT_TYPE_APP_GALLERY
@ CONTENT_TYPE_APP_CDE_CALENDAR_APP
@ CONTENT_TYPE_APP_STARIMPRESS
@ CONTENT_TYPE_APP_VND_NEWS
@ CONTENT_TYPE_APP_STARHELP
@ CONTENT_TYPE_APP_VND_SUN_XML_IMPRESS
@ CONTENT_TYPE_APP_STARMAIL_SMD
@ CONTENT_TYPE_APP_VND_DRAW
@ CONTENT_TYPE_APP_VND_SUN_XML_WRITER_GLOBAL
@ CONTENT_TYPE_APP_VND_CHART
@ CONTENT_TYPE_IMAGE_TIFF
@ CONTENT_TYPE_APP_VND_MAIL
@ CONTENT_TYPE_INET_MESSAGE_RFC822
@ CONTENT_TYPE_APP_OCTSTREAM
@ CONTENT_TYPE_INET_MULTIPART_ALTERNATIVE
@ CONTENT_TYPE_APP_VND_IMPRESSPACKED
@ CONTENT_TYPE_APP_VND_CALC
@ CONTENT_TYPE_APP_STARIMAGE
@ CONTENT_TYPE_APP_VND_WRITER_WEB
@ CONTENT_TYPE_APP_STARWRITER
@ CONTENT_TYPE_TEXT_ICALENDAR
@ CONTENT_TYPE_TEXT_PLAIN
@ CONTENT_TYPE_APP_STARCHART
@ CONTENT_TYPE_IMAGE_JPEG
@ CONTENT_TYPE_APP_VND_SUN_XML_WRITER
@ CONTENT_TYPE_APP_VND_SUN_XML_IMPRESSPACKED
@ CONTENT_TYPE_INET_MULTIPART_DIGEST
@ CONTENT_TYPE_AUDIO_MIDI
@ CONTENT_TYPE_APP_VND_SUN_XML_MATH
@ CONTENT_TYPE_APP_VND_TEMPLATE
@ CONTENT_TYPE_APP_VND_IMAGE
@ CONTENT_TYPE_APP_VND_SUN_XML_CHART
@ CONTENT_TYPE_TEXT_VCALENDAR
@ CONTENT_TYPE_AUDIO_AIFF
@ CONTENT_TYPE_VIDEO_WEBM
@ CONTENT_TYPE_APP_VND_WRITER_GLOBAL
@ CONTENT_TYPE_AUDIO_VORBIS
@ CONTENT_TYPE_APP_MSWORD
@ CONTENT_TYPE_APP_VND_SUN_XML_DRAW
@ CONTENT_TYPE_APP_MSEXCEL
@ CONTENT_TYPE_TEXT_XMLICALENDAR
@ CONTENT_TYPE_APP_STARDRAW
@ CONTENT_TYPE_INET_MULTIPART_PARALLEL
@ CONTENT_TYPE_IMAGE_WEBP
@ CONTENT_TYPE_X_CNT_FSYSSPECIALFOLDER
@ CONTENT_TYPE_TEXT_VCARD
@ CONTENT_TYPE_APP_VND_OUTTRAY
@ CONTENT_TYPE_APP_VND_SUN_XML_CALC
@ CONTENT_TYPE_APP_STARCALC
@ CONTENT_TYPE_APP_GALLERY_THEME
@ CONTENT_TYPE_X_CNT_FSYSFOLDER
@ CONTENT_TYPE_APP_STARWRITER_GLOB
@ CONTENT_TYPE_APP_VND_WRITER
@ CONTENT_TYPE_X_CNT_FSYSBOX
@ CONTENT_TYPE_INET_MULTIPART_RELATED
@ CONTENT_TYPE_APP_STARMAIL_SDM
@ CONTENT_TYPE_APP_STARMATH
@ CONTENT_TYPE_X_STARMAIL
@ CONTENT_TYPE_APP_VND_IMPRESS
@ CONTENT_TYPE_APP_MSEXCEL_TEMPL
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_VND_SUN_XML_MATH
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_OCTSTREAM
Definitions for frequently used media type names.
constexpr OUStringLiteral CONTENT_TYPE_STR_IMAGE_BMP
constexpr OUStringLiteral CONTENT_TYPE_STR_IMAGE_GIF
constexpr OUStringLiteral CONTENT_TYPE_STR_X_CNT_FSYSBOX
constexpr OUStringLiteral CONTENT_TYPE_STR_AUDIO_MIDI
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_VND_IMAGE
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_VND_SUN_XML_WRITER
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_STARIMAGE
constexpr OUStringLiteral CONTENT_TYPE_STR_TEXT_VCARD
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_FRAMESET
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_STARMATH
constexpr OUStringLiteral CONTENT_TYPE_STR_INET_MULTI_DIGEST
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_VND_SUN_XML_IMPRESS
constexpr OUStringLiteral CONTENT_TYPE_STR_X_CNT_FSYSSPECIALFOLDER
constexpr OUStringLiteral CONTENT_TYPE_STR_TEXT_URL
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_VND_OUTTRAY
constexpr OUStringLiteral CONTENT_TYPE_STR_AUDIO_WEBM
constexpr OUStringLiteral CONTENT_TYPE_STR_TEXT_ICALENDAR
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_VND_NEWS
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_STARHELP
constexpr OUStringLiteral CONTENT_TYPE_STR_TEXT_VCALENDAR
constexpr OUStringLiteral CONTENT_TYPE_STR_IMAGE_PCX
constexpr OUStringLiteral CONTENT_TYPE_STR_INET_MULTI_PARALLEL
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_VND_IMPRESS
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_VND_CALC
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_VND_MAIL
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_MACRO
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_RTF
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_VND_SUN_XML_CHART
constexpr OUStringLiteral CONTENT_TYPE_STR_AUDIO_AIFF
constexpr OUStringLiteral CONTENT_TYPE_STR_IMAGE_JPEG
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_GALLERY_THEME
constexpr OUStringLiteral CONTENT_TYPE_STR_INET_MULTI_ALTERNATIVE
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_VND_WRITER_WEB
constexpr OUStringLiteral CONTENT_TYPE_STR_AUDIO_WAV
constexpr OUStringLiteral CONTENT_TYPE_STR_VIDEO_VDO
constexpr OUStringLiteral CONTENT_TYPE_STR_AUDIO_VORBIS
constexpr OUStringLiteral CONTENT_TYPE_STR_AUDIO_BASIC
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_STARMAIL_SDM
constexpr OUStringLiteral CONTENT_TYPE_STR_IMAGE_PNG
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_VND_TEMPLATE
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_MSWORD
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_VND_DRAW
constexpr OUStringLiteral CONTENT_TYPE_STR_TEXT_HTML
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_STARWRITER_GLOB
constexpr OUStringLiteral CONTENT_TYPE_STR_INET_MULTI_RELATED
constexpr OUStringLiteral CONTENT_TYPE_STR_X_VRML
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_VND_WRITER_GLOBAL
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_STARDRAW
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_MSPPOINT_TEMPL
constexpr OUStringLiteral CONTENT_TYPE_STR_X_CNT_FSYSFOLDER
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_VND_SUN_XML_IMPRESSPACKED
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_VND_CHART
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_ZIP
constexpr OUStringLiteral CONTENT_TYPE_STR_INET_MULTI_MIXED
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_STARCALC
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_JAR
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_PDF
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_MSPPOINT
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_VND_SUN_XML_WRITER_GLOBAL
constexpr OUStringLiteral CONTENT_TYPE_STR_TEXT_XMLICALENDAR
constexpr OUStringLiteral CONTENT_TYPE_STR_IMAGE_GENERIC
constexpr OUStringLiteral CONTENT_TYPE_STR_VIDEO_MSVIDEO
constexpr OUStringLiteral CONTENT_TYPE_STR_VIDEO_THEORA
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_VND_WRITER
constexpr OUStringLiteral CONTENT_TYPE_STR_INET_MSG_RFC822
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_MSEXCEL
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_VND_SUN_XML_DRAW
constexpr OUStringLiteral CONTENT_TYPE_STR_X_STARMAIL
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_STARCHART
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_STARIMPRESS
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_STARMAIL_SMD
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_VND_MATH
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_CDE_CALENDAR_APP
constexpr OUStringLiteral CONTENT_TYPE_STR_IMAGE_TIFF
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_STARWRITER
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_MSEXCEL_TEMPL
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_VND_SUN_XML_CALC
constexpr OUStringLiteral CONTENT_TYPE_STR_APP_MSWORD_TEMPL
bool parse(OUString const &uri, SourceProviderScannerData *data)