CApaDocument::TCapability Class Reference

#include <mw/apadoc.h>

Link against: apparc.lib

class CApaDocument::TCapability
Public Member Functions
TCapability()
TBool CanDrawGlass()
TBool CanPrint()
voidSetCanDrawGlass()
voidSetCanPrint()

Detailed Description

CApaDocument capabilities.

Constructor & Destructor Documentation

TCapability ( )

IMPORT_CTCapability()

Constructs a default capability object.

All capabilities are marked as "not supported".

Member Function Documentation

CanDrawGlass ( )

TBool CanDrawGlass()const [inline]

Tests whether the document supports being embedded as a glass door.

Returns: True if embedding as a glass door is supported; false otherwise.

CanPrint ( )

TBool CanPrint()const [inline]

Tests whether the document supports being printed without using the full application UI.

Returns: True, if printing is supported; false, otherwise.

SetCanDrawGlass ( )

voidSetCanDrawGlass()[inline]

Sets the document as being capable of being embedded as a glass door.

SetCanPrint ( )

voidSetCanPrint()[inline]

Sets the document as being capable of being printed without using the full application UI.