![]() | InDesign SDK 20.5 |
#include <ILibraryFilterData.h>

Public Types | |
| enum | EField { Field_Type, Field_Date, Field_Name, Field_Description } |
| enum | ECondition { Condition_Equal, Condition_NotEqual, Condition_GreaterThan, Condition_LessThan, Condition_Contains, Condition_DoesNotContain, Condition_Undefined } |
Public Member Functions | |
| virtual void | SetNameFilter (ECondition inCondition, const PMString &inString)=0 |
| virtual void | SetDescriptionFilter (ECondition inCondition, const PMString &inString)=0 |
| virtual void | SetDateFilter (ECondition inCondition, const GlobalTime &inTime)=0 |
| virtual void | SetTypeFilter (ECondition inCondition, ILibraryAssetMetaData::UserType inType)=0 |
| virtual EField | GetFilterField ()=0 |
| virtual void | GetNameFilter (ECondition &outCondition, PMString &outString)=0 |
| virtual void | GetDescriptionFilter (ECondition &outCondition, PMString &outString)=0 |
| virtual void | GetDateFilter (ECondition &outCondition, GlobalTime &outTime)=0 |
| virtual void | GetTypeFilter (ECondition &outCondition, ILibraryAssetMetaData::UserType &outType)=0 |
| virtual bool16 | PassFilter (ILibraryAssetMetaData *inAssetData)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
"SimpleFilter" corresponds to a single search specification line from the Library Show Subset dialog.
Condition used in filter.
| pure virtual |
Get the condition and date value for the date filter.
| outCondition | OUT the condition used |
| outTime | OUT the date value used |
| pure virtual |
Get the condition and data for the description filter.
| outCondition | OUT the condition used |
| outString | OUT the description used |
| pure virtual |
Gets the filter type.
| pure virtual |
Get the condition and name for the name filter.
| outCondition | OUT the condition used |
| outString | OUT the name value used |
| pure virtual |
Get the condition and type for the type filter.
| outCondition | OUT the condition used |
| outType | OUT the user type used |
| pure virtual |
Tests the asset data to see if it passes the filter criteria.
| inAssetData | IN metadata to test |
| pure virtual |
Set the filter type to a date filter on the supplied time.
| inCondition | IN condition to use |
| inTime | IN value to compare to |
| pure virtual |
Set the filter type to a description filter on the supplied description string.
| inCondition | IN condition to use |
| inString | IN value to compare to |
| pure virtual |
Set the filter type to a name filter on the supplied name.
| inCondition | IN condition to use |
| inString | IN value to compare to |
| pure virtual |
Set the filter type to a type filter on the supplied type.
| inCondition | IN condition to use |
| inType | IN value to compare to |