(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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.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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.