InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ITextChangeCaseSuite Class Referenceabstract

#include <ITextChangeCaseSuite.h>

Inheritance diagram for ITextChangeCaseSuite:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_ITEXTCHANGECASE_ISUITE }
 
enum  ChangeCaseType { kCCLower = 0, kCCUpper, kCCTitle, kCCSentence }
 

Public Member Functions

virtual bool16 CanChangeCase ()=0
 
virtual void ChangeCase (ChangeCaseType ccType)=0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

ITextChangeCaseSuite is a very light-weight suite that is just used for the "change case" functionality. The functions here should have probably been folded into the TextAttributeSuite.

See Also
ITextAttributeSuite

Member Enumeration Documentation

These are the types of case-changing supported

Member Function Documentation

virtual bool16 ITextChangeCaseSuite::CanChangeCase ()
pure virtual

Does the current selection support the change case functionality?

Returns
kTrue if the selection can change case.
virtual void ITextChangeCaseSuite::ChangeCase (ChangeCaseType ccType)
pure virtual

Perform the specified change case operation.

Parameters
ccTypeis the type of case-change to perform: capitalize, make lowercase, etc.