Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: deployment ::

unpublished interface XPackageTypeInfo
Usage Restrictions
not published
Description
Objects of this interface provide information about a package's type.
Since
OOo 2.0

Methods' Summary
getMediaType returns the media type of a package, e.g. application/vnd.sun.star.basic-script.  
getDescription returns a description string to describe a package type.  
getShortDescription returns a short description string to describe a package type (one line only).  
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.  
getIcon returns an icon for a package.  
Methods' Details
getMediaType
string
getMediaType();

Description
returns the media type of a package, e.g. application/vnd.sun.star.basic-script.
Returns
media type of package
getDescription
string
getDescription()
raises( ExtensionRemovedException );

Description
returns a description string to describe a package type.
Returns
description
getShortDescription
string
getShortDescription()
raises( ExtensionRemovedException );

Description
returns a short description string to describe a package type (one line only).
Returns
description
getFileFilter
string
getFileFilter();

Description
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 );

Description
returns an icon for a package.
Parameter highContrast
return high contrast icon
Parameter smallIcon
return a small icon (e.g. 16x16 pixel), else return a big one (e.g. 26x26 pixel)
Returns
currently an unsigned short (resource id for deploymentgui resource file), void any if none is available
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.