|
LibreOffice
LibreOffice 25.2 SDK API Reference
|
An implementation of this interface represents a MIME content-type that conforms to Rfc2045 and Rfc2046. More...
import"XMimeContentType.idl";
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... | |
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.
| string getFullMediaType | ( | ) |
To get the full media/submedia type of the MIME content-type.
| string getMediaSubtype | ( | ) |
To get the media subtype of the MIME content-type.
| string getMediaType | ( | ) |
To get the media type of the MIME content-type.
| sequence< string > getParameters | ( | ) |
To get a list of parameters that the MIME content-type contains.
| string getParameterValue | ( | [in] string | aName | ) | |
| raises | ( | com::sun::star::container::NoSuchElementException | |||
| ) | |||||
To get the value of a specified parameter.
| aName | The name of the parameter for which the value is requested. |
| com::sun::star::container::NoSuchElementException | if the specified parameter doesn't exist. |
| boolean hasParameter | ( | [in] string | aName | ) |
To query if a specific parameter is supported.
| aName | The name of the parameter to query for. |
TRUE if the MIME content-type has the specified parameter. A value of FALSE if the MIME content-type has not the specified parameter.
1.8.14