LibreOffice
LibreOffice 25.8 SDK API Reference
Loading...
Searching...
No Matches
XPackageTypeInfo Interface Reference

Objects of this interface provide information about a package's type. More...

import "XPackageTypeInfo.idl";

Public Member Functions

string getMediaType ()
 returns the media type of a package, e.g.
string getDescription () raises (ExtensionRemovedException)
 returns a description string to describe a package type.
string getShortDescription () raises (ExtensionRemovedException)
 returns a short description string to describe a package type (one line only).
string getFileFilter ()
 returns a file filter string for the file picker user interface.
any getIcon ([in] boolean highContrast, [in] boolean smallIcon)
 returns an icon for a package.

Detailed Description

Objects of this interface provide information about a package's type.

Since
OOo 2.0

Member Function Documentation

◆ getDescription()

string getDescription ( )
raises (ExtensionRemovedException )

returns a description string to describe a package type.

Returns
description

◆ getFileFilter()

string getFileFilter ( )

returns a file filter string for the file picker user interface.

Both, the short description string and file filter string will be passed to com::sun::star::ui::dialogs::XFilterManager::appendFilter().

Returns
file filter string

◆ getIcon()

any getIcon ( [in] boolean highContrast,
[in] boolean smallIcon )

returns an icon for a package.

Parameters
highContrastargument is ignored
smallIconargument is ignored
Returns
empty any
Deprecated

◆ getMediaType()

string getMediaType ( )

returns the media type of a package, e.g.

application/vnd.sun.star.basic-script.

Returns
media type of package

◆ getShortDescription()

string getShortDescription ( )
raises (ExtensionRemovedException )

returns a short description string to describe a package type (one line only).

Returns
description

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