wxAutoExcel
2.0.0
|
Represents Microsoft Excel LineFormat object. More...
Public Member Functions | |
wxExcelColorFormat | GetBackColor () |
Returns a ColorFormat Represents the specified fill background color. More... | |
MsoArrowheadLength | GetBeginArrowheadLength () |
Returns the length of the arrowhead at the beginning of the specified line. More... | |
void | SetBeginArrowheadLength (MsoArrowheadLength beginArrowheadLength) |
Sets the length of the arrowhead at the beginning of the specified line. More... | |
MsoArrowheadStyle | GetBeginArrowheadStyle () |
Returns the style of the arrowhead at the beginning of the specified line. More... | |
void | SetBeginArrowheadStyle (MsoArrowheadStyle beginArrowheadStyle) |
Sets the style of the arrowhead at the beginning of the specified line. More... | |
MsoArrowheadWidth | GetBeginArrowheadWidth () |
Returns the width of the arrowhead at the beginning of the specified line. More... | |
void | SetBeginArrowheadWidth (MsoArrowheadWidth beginArrowheadWidth) |
Sets the width of the arrowhead at the beginning of the specified line. More... | |
MsoLineDashStyle | GetDashStyle () |
Returns the dash style for the specified line. More... | |
void | SetDashStyle (MsoLineDashStyle dashStyle) |
Sets the dash style for the specified line. More... | |
MsoArrowheadLength | GetEndArrowheadLength () |
Returns the length of the arrowhead at the end of the specified line. More... | |
void | SetEndArrowheadLength (MsoArrowheadLength endArrowheadLength) |
Sets the length of the arrowhead at the end of the specified line. More... | |
MsoArrowheadStyle | GetEndArrowheadStyle () |
Returns the style of the arrowhead at the end of the specified line. More... | |
void | SetEndArrowheadStyle (MsoArrowheadStyle endArrowheadStyle) |
Sets the style of the arrowhead at the end of the specified line. More... | |
MsoArrowheadWidth | GetEndArrowheadWidth () |
Returns the width of the arrowhead at the end of the specified line. More... | |
void | SetEndArrowheadWidth (MsoArrowheadWidth endArrowheadWidth) |
Sets the width of the arrowhead at the end of the specified line. More... | |
wxExcelColorFormat | GetForeColor () |
Returns a ColorFormat Represents the specified foreground fill or solid color. More... | |
void | SetForeColor (const wxExcelColorFormat &foreColor) |
Sets a ColorFormat Represents the specified foreground fill or solid color. More... | |
MsoTriState | GetInsetPen () |
Whether lines are drawn inside the specified shape's boundaries. More... | |
void | SetInsetPen (MsoTriState insetPen) |
Whether lines are drawn inside the specified shape's boundaries. More... | |
MsoPatternType | GetPattern () |
Returns an MsoPatternType value that represents the fill pattern. More... | |
void | SetPattern (MsoPatternType pattern) |
Sets an MsoPatternType value that represents the fill pattern. More... | |
MsoLineStyle | GetStyle () |
Returns a MsoLineStyle value that represents the style of the line. More... | |
void | SetStyle (MsoLineStyle style) |
Sets a MsoLineStyle value that represents the style of the line. More... | |
double | GetTransparency () |
Returns the degree of transparency of the specified fill as a value from 0.0 (opaque) through 1.0 (clear). More... | |
void | SetTransparency (double transparency) |
Sets the degree of transparency of the specified fill as a value from 0.0 (opaque) through 1.0 (clear). More... | |
MsoTriState | GetVisible () |
Returns a MsoTriState value that determines whether the object is visible. More... | |
void | SetVisible (MsoTriState visible) |
Sets a MsoTriState value that determines whether the object is visible. More... | |
double | GetWeight () |
Returns a Single value that represents the weight of the line. More... | |
void | SetWeight (double weight) |
Sets a Single value that represents the weight of the line. More... | |
virtual wxString | GetAutoExcelObjectName_ () const |
Returns "LineFormat". More... | |
Public Member Functions inherited from wxAutoExcel::wxExcelObject | |
bool | IsOk_ () const |
Returns true if the object has a valid dispatch. More... | |
wxString | GetAutomationObjectName_ (bool stripUnderscores=false) const |
Returns object name as provided by IDispatch->GetTypeInfo()->GetDocumentation(MEMBERID_NIL, &name, NULL, NULL, NULL). More... | |
wxSharedPtr< wxAutomationObject > | GetAutomationObject_ () |
Returns the underlying wxAutomationObject. More... | |
operator bool () const | |
Returns true if the object has a valid dispatch and its last automation call (if any), i.e. More... | |
WXLCID | GetAutomationLCID_ () const |
Returns the locale identifier used in automation calls. More... | |
bool | SetAutomationLCID_ (WXLCID lcid) |
Sets the locale identifier to be used in automation calls. More... | |
bool | GetPropertyAndMethodNames_ (wxArrayString &propertyNames, wxArrayString &methodNames, bool includeHidden=false) |
Returns lists of property and method names the automation interface exposes. More... | |
bool | GetUnimplementedObject_ (const wxString &name, wxAutomationObject &object) |
Helper function for receiving an automation object not implemented in wxAutoExcel, see FAQ on how to use. More... | |
Additional Inherited Members | |
Public Types inherited from wxAutoExcel::wxExcelObject | |
enum | ErrorFlags { Err_DoNothing = 0 , Err_LogOnInvalidDispatch = 1 , Err_AssertOnInvalidDispatch = 1 << 1 , Err_ThrowOnInvalidDispatch = 1 << 2 , Err_LogOnInvalidArgument = 1 << 3 , Err_AssertOnInvalidArgument = 1 << 4 , Err_ThrowOnInvalidArgument = 1 << 5 , Err_LogOnFailedInvoke = 1 << 6 , Err_AssertOnFailedInvoke = 1 << 7 , Err_ThrowOnFailedInvoke = 1 << 8 , Err_LogOnInvalidReturnType = 1 << 9 , Err_AssertOnInvalidReturnType = 1 << 10 , Err_ThrowOnInvalidReturnType = 1 << 11 , Err_LogOnOtherError = 1 << 12 , Err_AssertOnOtherError = 1 << 13 , Err_ThrowOnOtherError = 1 << 14 } |
Flags affecting the behaviour of wxExcelObject and its descendants when an error occurs during accessing an Excel object property or calling its method. More... | |
Static Public Member Functions inherited from wxAutoExcel::wxExcelObject | |
static unsigned | GetErrorMode_ () |
Sets the error mode to the combination of wxExcelObject::ErrorFlags. More... | |
static void | SetErrorMode_ (unsigned mode) |
Sets the error mode as the combination of wxExcelObject::ErrorFlags. More... | |
static bool | GetUnimplementedCollectionItem_ (wxAutomationObject &collection, const long index, wxAutomationObject &item, bool asProperty) |
Helper function for obtaining an item from MS Excel collection not implemented in wxAutoExcel, see FAQ on how to use. More... | |
Represents Microsoft Excel LineFormat object.
wxExcelColorFormat wxAutoExcel::wxExcelLineFormat::GetBackColor | ( | ) |
Returns a ColorFormat Represents the specified fill background color.
MsoArrowheadLength wxAutoExcel::wxExcelLineFormat::GetBeginArrowheadLength | ( | ) |
Returns the length of the arrowhead at the beginning of the specified line.
Read/write MsoArrowheadLength.
void wxAutoExcel::wxExcelLineFormat::SetBeginArrowheadLength | ( | MsoArrowheadLength | beginArrowheadLength | ) |
Sets the length of the arrowhead at the beginning of the specified line.
Read/write MsoArrowheadLength.
MsoArrowheadStyle wxAutoExcel::wxExcelLineFormat::GetBeginArrowheadStyle | ( | ) |
Returns the style of the arrowhead at the beginning of the specified line.
Read/write MsoArrowheadStyle.
void wxAutoExcel::wxExcelLineFormat::SetBeginArrowheadStyle | ( | MsoArrowheadStyle | beginArrowheadStyle | ) |
Sets the style of the arrowhead at the beginning of the specified line.
Read/write MsoArrowheadStyle.
MsoArrowheadWidth wxAutoExcel::wxExcelLineFormat::GetBeginArrowheadWidth | ( | ) |
Returns the width of the arrowhead at the beginning of the specified line.
Read/write MsoArrowheadWidth.
void wxAutoExcel::wxExcelLineFormat::SetBeginArrowheadWidth | ( | MsoArrowheadWidth | beginArrowheadWidth | ) |
Sets the width of the arrowhead at the beginning of the specified line.
Read/write MsoArrowheadWidth.
MsoLineDashStyle wxAutoExcel::wxExcelLineFormat::GetDashStyle | ( | ) |
Returns the dash style for the specified line.
Can be one of the MsoLineDashStyle contants.
void wxAutoExcel::wxExcelLineFormat::SetDashStyle | ( | MsoLineDashStyle | dashStyle | ) |
Sets the dash style for the specified line.
Can be one of the MsoLineDashStyle contants.
MsoArrowheadLength wxAutoExcel::wxExcelLineFormat::GetEndArrowheadLength | ( | ) |
Returns the length of the arrowhead at the end of the specified line.
Read/write MsoArrowheadLength.
void wxAutoExcel::wxExcelLineFormat::SetEndArrowheadLength | ( | MsoArrowheadLength | endArrowheadLength | ) |
Sets the length of the arrowhead at the end of the specified line.
Read/write MsoArrowheadLength.
MsoArrowheadStyle wxAutoExcel::wxExcelLineFormat::GetEndArrowheadStyle | ( | ) |
Returns the style of the arrowhead at the end of the specified line.
Read/write MsoArrowheadStyle.
void wxAutoExcel::wxExcelLineFormat::SetEndArrowheadStyle | ( | MsoArrowheadStyle | endArrowheadStyle | ) |
Sets the style of the arrowhead at the end of the specified line.
Read/write MsoArrowheadStyle.
MsoArrowheadWidth wxAutoExcel::wxExcelLineFormat::GetEndArrowheadWidth | ( | ) |
Returns the width of the arrowhead at the end of the specified line.
Read/write MsoArrowheadWidth.
void wxAutoExcel::wxExcelLineFormat::SetEndArrowheadWidth | ( | MsoArrowheadWidth | endArrowheadWidth | ) |
Sets the width of the arrowhead at the end of the specified line.
Read/write MsoArrowheadWidth.
wxExcelColorFormat wxAutoExcel::wxExcelLineFormat::GetForeColor | ( | ) |
Returns a ColorFormat Represents the specified foreground fill or solid color.
void wxAutoExcel::wxExcelLineFormat::SetForeColor | ( | const wxExcelColorFormat & | foreColor | ) |
Sets a ColorFormat Represents the specified foreground fill or solid color.
MsoTriState wxAutoExcel::wxExcelLineFormat::GetInsetPen | ( | ) |
Whether lines are drawn inside the specified shape's boundaries.
Since Excel 2010.
void wxAutoExcel::wxExcelLineFormat::SetInsetPen | ( | MsoTriState | insetPen | ) |
Whether lines are drawn inside the specified shape's boundaries.
Since Excel 2010.
MsoPatternType wxAutoExcel::wxExcelLineFormat::GetPattern | ( | ) |
Returns an MsoPatternType value that represents the fill pattern.
void wxAutoExcel::wxExcelLineFormat::SetPattern | ( | MsoPatternType | pattern | ) |
Sets an MsoPatternType value that represents the fill pattern.
MsoLineStyle wxAutoExcel::wxExcelLineFormat::GetStyle | ( | ) |
Returns a MsoLineStyle value that represents the style of the line.
void wxAutoExcel::wxExcelLineFormat::SetStyle | ( | MsoLineStyle | style | ) |
Sets a MsoLineStyle value that represents the style of the line.
double wxAutoExcel::wxExcelLineFormat::GetTransparency | ( | ) |
Returns the degree of transparency of the specified fill as a value from 0.0 (opaque) through 1.0 (clear).
Read/write Double.
void wxAutoExcel::wxExcelLineFormat::SetTransparency | ( | double | transparency | ) |
Sets the degree of transparency of the specified fill as a value from 0.0 (opaque) through 1.0 (clear).
Read/write Double.
MsoTriState wxAutoExcel::wxExcelLineFormat::GetVisible | ( | ) |
Returns a MsoTriState value that determines whether the object is visible.
void wxAutoExcel::wxExcelLineFormat::SetVisible | ( | MsoTriState | visible | ) |
Sets a MsoTriState value that determines whether the object is visible.
double wxAutoExcel::wxExcelLineFormat::GetWeight | ( | ) |
Returns a Single value that represents the weight of the line.
void wxAutoExcel::wxExcelLineFormat::SetWeight | ( | double | weight | ) |
Sets a Single value that represents the weight of the line.
|
inlinevirtual |
Returns "LineFormat".
Reimplemented from wxAutoExcel::wxExcelObject.