#include <ISelectionUtils.h>
|
| enum | { kDefaultIID = IID_ISELECTIONUTILS } |
| |
Utility methods related to selection.
Utils<IPathPointUtils>()->CopyObjects(...) ;
Given an interface pointer will compare the context selection to the view selection. If the two do not match the Active selection will be changed to reflect the given view selection.
- Returns
- void
Get the abstract selection manager out of the active context and return it to the caller. The reference count is NOT incremented.
- Returns
- ISelectionManager* or nil
| virtual bool16 ISelectionUtils::IsWithinActivatedView | ( | IPMUnknown * | view | ) | const |
| pure virtual |
Given an interface pointer will determine if it lies within the hierarchy of the active selection of the window/presentation. Use for determining if a view in a presentation is the "active" from a selection point of view. e.g. LayoutPresentations may have structure, layout, and a split layout view all visible at once, but only one is active.
- Returns
- bool16 kTrue if view is part of the active selection for this presentation, kFalse otherwise.
Query the layout hit test suite from the active selection manager. The reference count is incremented. The caller is responsible for calling Release().
- Returns
- ILayoutHitTestSuite* or nil
Query the layout selection suite from the active selection manager. The reference count is incremented. The caller is responsible for calling Release().
- Returns
- ILayoutSelectionSuite* or nil
Query the path selection suite from the active selection manager. The reference count is incremented. The caller is responsible for calling Release().
- Returns
- IPathSelectionSuite* or nil
Query the abstract selection manager out of the active context and return it to the caller. The reference count is incremented. The caller is responsible for calling Release().
- Returns
- ISelectionManager* or nil
Query the table selection suite from the active selection manager. The reference count is incremented. The caller is responsible for calling Release().
- Returns
- ITableSelectionSuite* or nil
Query the text selection suite from the active selection manager. The reference count is incremented. The caller is responsible for calling Release().
- Returns
- ITextSelectionSuite* or nil
Given a database, return a document if possible. The reference count is incremented. The caller is responsible for calling Release().
- Returns
- IDocument* or nil
Query the layout hit test suite from the specified selection manager. The reference count is incremented. The caller is responsible for calling Release().
- Returns
- ILayoutHitTestSuite* or nil
Query the layout selection suite from the specified (selection manager. The reference count is incremented. The caller is responsible for calling Release().
- Returns
- ILayoutSelectionSuite* or nil
Given an UIDRef, returns its abstract selection, ISelectionManager. The UIDRef could be either a workspace selection or a view selection. The reference count is incremented. The caller is responsible for calling Release().
- Returns
- ISelectionManager*, or nil
| virtual IPageHitTestSuite* ISelectionUtils::QueryPageHitTestSuite | ( | ISelectionManager * | iSelectionManager | ) | |
| pure virtual |
Query the page hit test suite from the specified selection manager. The reference count is incremented. The caller is responsible for calling Release().
- Returns
- IPageHitTestSuite* or nil
Query the path selection suite from the specified selection manager. The reference count is incremented. The caller is responsible for calling Release().
- Returns
- IPathSelectionSuite* or nil
Query a suite on the abstract selection boss. The reference count is incremented. The caller is responsible for calling Release().
- Returns
- IPMUnknown* or nil
Query the table selection suite from the specified selection manager. The reference count is incremented. The caller is responsible for calling Release().
- Returns
- ITableSelectionSuite* or nil
Query the text selection suite from the specified selection manager. The reference count is incremented. The caller is responsible for calling Release().
- Returns
- ITextSelectionSuite* or nil
Given an IPMUnknown, returns its abstract selection, ISelectionManager. The IPMUnknown could be either a workspace selection or a view selection. The reference count is incremented. The caller is responsible for calling Release().
- Returns
- ISelectionManager*, or nil