OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
ocf::TOcFormat Class Reference

Clipboard format wrapper. More...

#include <ocf/ocview.h>

Public Member Functions

 TOcFormat ()
 
 TOcFormat (owl::uint fmtId, LPCTSTR fmtName, LPCTSTR fmtResultName, owl::uint fmtMedium, bool fmtIsLinkable, owl::uint aspect=1, owl::uint direction=1)
 
void operator= (const TOcFormatInfo &)
 
bool operator== (const TOcFormat &other)
 
void SetFormatId (owl::uint id)
 
void SetFormatName (TCHAR *name, TOcApp &ocApp)
 
void SetFormatName (owl::uint id, TOcApp &ocApp)
 
void SetMedium (owl::uint medium)
 
void SetAspect (owl::uint aspect)
 
void SetDirection (owl::uint direction)
 
void SetLinkable (bool link=true)
 
void Disable (bool disable=true)
 
owl::uint GetFormatId () const
 
TCHARGetRegName ()
 
TCHARGetFormatName ()
 
owl::uint GetMedium () const
 
owl::uint GetAspect () const
 
owl::uint GetDirection () const
 
bool IsDisabled () const
 
void GetFormatInfo (TOcFormatInfo &f)
 

Detailed Description

Clipboard format wrapper.

Definition at line 55 of file ocview.h.

Constructor & Destructor Documentation

◆ TOcFormat() [1/2]

ocf::TOcFormat::TOcFormat ( )

Definition at line 981 of file ocview.cpp.

References _T, _tcscpy, and owl::ocrNull.

◆ TOcFormat() [2/2]

ocf::TOcFormat::TOcFormat ( owl::uint fmtId,
LPCTSTR fmtName,
LPCTSTR fmtResultName,
owl::uint fmtMedium,
bool fmtIsLinkable,
owl::uint aspect = 1,
owl::uint direction = 1 )

Definition at line 998 of file ocview.cpp.

References _tcscpy.

Member Function Documentation

◆ Disable()

void ocf::TOcFormat::Disable ( bool disable = true)
inline

Definition at line 71 of file ocview.h.

◆ GetAspect()

owl::uint ocf::TOcFormat::GetAspect ( ) const
inline

Definition at line 77 of file ocview.h.

◆ GetDirection()

owl::uint ocf::TOcFormat::GetDirection ( ) const
inline

Definition at line 78 of file ocview.h.

◆ GetFormatId()

owl::uint ocf::TOcFormat::GetFormatId ( ) const
inline

Definition at line 73 of file ocview.h.

◆ GetFormatInfo()

◆ GetFormatName()

TCHAR * ocf::TOcFormat::GetFormatName ( )
inline

Definition at line 75 of file ocview.h.

References ocf::Name.

◆ GetMedium()

owl::uint ocf::TOcFormat::GetMedium ( ) const
inline

Definition at line 76 of file ocview.h.

◆ GetRegName()

TCHAR * ocf::TOcFormat::GetRegName ( )
inline

Definition at line 74 of file ocview.h.

◆ IsDisabled()

bool ocf::TOcFormat::IsDisabled ( ) const
inline

Definition at line 79 of file ocview.h.

◆ operator=()

◆ operator==()

bool ocf::TOcFormat::operator== ( const TOcFormat & other)
inline

Definition at line 63 of file ocview.h.

References owl::ToBool().

◆ SetAspect()

void ocf::TOcFormat::SetAspect ( owl::uint aspect)
inline

Definition at line 68 of file ocview.h.

◆ SetDirection()

void ocf::TOcFormat::SetDirection ( owl::uint direction)
inline

Definition at line 69 of file ocview.h.

◆ SetFormatId()

void ocf::TOcFormat::SetFormatId ( owl::uint id)
inline

Definition at line 64 of file ocview.h.

◆ SetFormatName() [1/2]

void ocf::TOcFormat::SetFormatName ( owl::uint id,
TOcApp & ocApp )

Definition at line 1060 of file ocview.cpp.

References _tcscpy.

◆ SetFormatName() [2/2]

void ocf::TOcFormat::SetFormatName ( TCHAR * name,
TOcApp & ocApp )

Definition at line 1045 of file ocview.cpp.

References _tcscpy.

◆ SetLinkable()

void ocf::TOcFormat::SetLinkable ( bool link = true)
inline

Definition at line 70 of file ocview.h.

◆ SetMedium()

void ocf::TOcFormat::SetMedium ( owl::uint medium)
inline

Definition at line 67 of file ocview.h.


The documentation for this class was generated from the following files: