LibreOffice
LibreOffice 7.4 SDK API Reference
Public Member Functions | List of all members
XMimeContentType Interface Referencepublished

An implementation of this interface represents a MIME content-type that conforms to Rfc2045 and Rfc2046. More...

import"XMimeContentType.idl";

Inheritance diagram for XMimeContentType:
XInterface

Public Member Functions

string getMediaType ()
 To get the media type of the MIME content-type. More...
 
string getMediaSubtype ()
 To get the media subtype of the MIME content-type. More...
 
string getFullMediaType ()
 To get the full media/submedia type of the MIME content-type. More...
 
sequence< string > getParameters ()
 To get a list of parameters that the MIME content-type contains. More...
 
boolean hasParameter ([in] string aName)
 To query if a specific parameter is supported. More...
 
string getParameterValue ([in] string aName) raises ( com::sun::star::container::NoSuchElementException )
 To get the value of a specified parameter. More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

Detailed Description

An implementation of this interface represents a MIME content-type that conforms to Rfc2045 and Rfc2046.

Instances that implement this interface could be created using the interface XMimeContentTypeFactory.

Member Function Documentation

◆ getFullMediaType()

string getFullMediaType ( )

To get the full media/submedia type of the MIME content-type.

Returns
The full media/submedia type of the MIME content-type.

◆ getMediaSubtype()

string getMediaSubtype ( )

To get the media subtype of the MIME content-type.

Returns
The media subtype of the MIME content-type.

◆ getMediaType()

string getMediaType ( )

To get the media type of the MIME content-type.

Returns
The media type of the MIME content-type.

◆ getParameters()

sequence< string > getParameters ( )

To get a list of parameters that the MIME content-type contains.

Returns
A list of the names of all parameters of the MIME content-type.

◆ getParameterValue()

string getParameterValue ( [in] string  aName)
raises (com::sun::star::container::NoSuchElementException
)

To get the value of a specified parameter.

Parameters
aNameThe name of the parameter for which the value is requested.
Returns
The value of the specified parameter.
Exceptions
com::sun::star::container::NoSuchElementExceptionif the specified parameter doesn't exist.

◆ hasParameter()

boolean hasParameter ( [in] string  aName)

To query if a specific parameter is supported.

Parameters
aNameThe name of the parameter to query for.
Returns
A value of TRUE if the MIME content-type has the specified parameter.

A value of FALSE if the MIME content-type has not the specified parameter.


The documentation for this interface was generated from the following file: