ooodev.adapter.text.graphic_crop_struct_comp module
- class ooodev.adapter.text.graphic_crop_struct_comp.GraphicCropStructComp(component, unit, prop_name, event_provider=None)[source]
Bases:
StructBase
[GraphicCrop
],Generic
[_T
]Generic GraphicCrop Struct
This class raises an event before and after a property is changed if it has been passed an event provider.
The event raised before the property is changed is called
com_sun_star_text_GraphicCrop_changing
. The event raised after the property is changed is calledcom_sun_star_text_GraphicCrop_changed
.The event args for before the property is changed is of type
KeyValCancelArgs
. The event args for after the property is changed is of typeKeyValArgs
.- property bottom: _T
Gets/Sets the bottom value to cut (if negative) or to extend (if positive)
When setting the value can be a
int
in1/100th mm
units or aUnitT
measurement unit.- Returns:
UnitT
measurement unit.- Return type:
_T
- property left: _T
Gets/Sets the left value to cut (if negative) or to extend (if positive)
When setting the value can be a
int
in1/100th mm
units or aUnitT
measurement unit.- Returns:
UnitT
measurement unit.- Return type:
_T
- property right: _T
Gets/Sets the right value to cut (if negative) or to extend (if positive)
When setting the value can be a
int
in1/100th mm
units or aUnitT
measurement unit.- Returns:
UnitT
measurement unit.- Return type:
_T
- property top: _T
Gets/Sets the top value to cut (if negative) or to extend (if positive)
When setting the value can be a
int
in1/100th mm
units or aUnitT
measurement unit.- Returns:
UnitT
measurement unit.- Return type:
_T