Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: ui :: dialogs ::
interface XFilterManager
Description Specifies a filter manager interface for a FilePicker

Methods' Summary
appendFilter | Adds a filter identified by a title.
setCurrentFilter | Sets the current filter.
getCurrentFilter | Returns the currently selected filter.

Methods' Details
appendFilter
void
appendFilter( | [in] string | aTitle,
| [in] string | aFilter )
raises( | ::com::sun::star::lang::IllegalArgumentException );
Description Adds a filter identified by a title. Parameter aTitle Specifies the name of the filter as shown in the filter box of the FilePicker dialog. Parameter 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". Throws ::com::sun::star::lang::IllegalArgumentException If a filter with the specified title already exists.
setCurrentFilter
void
setCurrentFilter( | [in] string | aTitle )
raises( | ::com::sun::star::lang::IllegalArgumentException );
Description Sets the current filter. Parameter aTitle Specifies the name of the filter to be set. Throws com::sun::star::lang::IllegalArgumentException If the specified filter was not found.
getCurrentFilter
string
getCurrentFilter();
Description Returns the currently selected filter. Returns The name of the selected filter or an empty string if there is no filter or no filter is currently selected.

Top of Page

Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.