|
LibreOffice
LibreOffice 26.2 SDK API Reference
|
Specifies a filter manager interface for a FilePicker. More...
import "XFilterManager.idl";
Public Member Functions | |
| void | appendFilter ([in] string aTitle, [in] string aFilter) raises ( ::com::sun::star::lang::IllegalArgumentException ) |
| Adds a filter identified by a title. | |
| void | setCurrentFilter ([in] string aTitle) raises ( ::com::sun::star::lang::IllegalArgumentException ) |
| Sets the current filter. | |
| string | getCurrentFilter () |
| Returns the currently selected filter. | |
| Public Member Functions inherited from XInterface | |
| any | queryInterface ([in] type aType) |
| queries for a new interface to an existing UNO object. | |
| void | acquire () |
| increases the reference counter by one. | |
| void | release () |
| decreases the reference counter by one. | |
Specifies a filter manager interface for a FilePicker.
| void appendFilter | ( | [in] string | aTitle, | |||
| [in] string | aFilter ) | |||||
| raises | ( | ::com::sun::star::lang::IllegalArgumentException ) | ||||
Adds a filter identified by a title.
| aTitle | Specifies the name of the filter as shown in the filter box of the FilePicker dialog. |
| aFilter | Specifies the extensions of the filter. Multiple filters should be semicolon separated. The semicolon may not be used as character in a filter expression. A typical filter is for instance "*.txt". |
| com::sun::star::lang::IllegalArgumentException | If a filter with the specified title already exists. |
| string getCurrentFilter | ( | ) |
Returns the currently selected filter.
| void setCurrentFilter | ( | [in] string | aTitle | ) | ||
| raises | ( | ::com::sun::star::lang::IllegalArgumentException ) | ||||
Sets the current filter.
| aTitle | Specifies the name of the filter to be set. |
| com::sun::star::lang::IllegalArgumentException | If the specified filter was not found. |