Go to Google Code Home
Google SketchUp SkpReader C++ API Documentation (Labs)

Public Member Functions | Properties

ISkpStyleManager Interface Reference

A manager for all of the document styles. More...

List of all members.

Public Member Functions

HRESULT SaveStyle ([in] BSTR path,[in] ISkpStyle *pStyle)
 Save a style to disk.

Properties

ISkpStyles Styles [get]
 [propget] Returns a Collection of all the ISkpStyle objects within this document.
ISkpStyle ActiveStyle [get]
 Get the Active Style.
ISkpStyle SelectedStyle [get]
 Get the Selected Style.
ISkpStyle StyleByGuid ([in] BSTR guid) [get]
 Get a Style by it's guid.
ISkpStyle StyleByPath ([in] BSTR path) [get]
 Get a Style by it's path.
BOOL ActiveStyleChanged [get]
 [propget] Returns true if the active style is different than the selected style

Detailed Description

A manager for all of the document styles.


Member Function Documentation

HRESULT ISkpStyleManager::SaveStyle ( [in] BSTR  path,
[in] ISkpStyle pStyle 
)

Save a style to disk.

Returns:
S_OK : if successful
E_FAIL : internal errors

Property Documentation

ISkpStyle ISkpStyleManager::ActiveStyle [get]

Get the Active Style.

Return values:
ppStyle The style.
Returns:
S_OK : if successful
E_POINTER : if pVal is NULL.
E_FAIL: Internal errors.
BOOL ISkpStyleManager::ActiveStyleChanged [get]

[propget] Returns true if the active style is different than the selected style

Return values:
pChanged = If the active style is different than the selected style.
Returns:
S_OK : if successful
E_POINTER : if any of the required arguments are NULL
E_FAIL : internal errors
ISkpStyle ISkpStyleManager::SelectedStyle [get]

Get the Selected Style.

Return values:
ppStyle The style.
Returns:
S_OK : if successful
E_POINTER : if pVal is NULL.
E_FAIL: Internal errors.
ISkpStyle ISkpStyleManager::StyleByGuid([in] BSTR guid) [get]

Get a Style by it's guid.

Return values:
ppStyle The style.
Returns:
S_OK : if successful
E_POINTER : if ppStyle is NULL.
E_FAIL: Internal errors.
ISkpStyle ISkpStyleManager::StyleByPath([in] BSTR path) [get]

Get a Style by it's path.

Return values:
ppStyle The style.
Returns:
S_OK : if successful
E_POINTER : if ppStyle is NULL.
E_FAIL: Internal errors.
ISkpStyles ISkpStyleManager::Styles [get]

[propget] Returns a Collection of all the ISkpStyle objects within this document.

Return values:
ppStyles The ISkpStyles collection. This object is never NULL.
Returns:
S_OK : if successful
E_POINTER : if pVal == NULL

©2010 Google - Google Home - About Google