ooodev.adapter.text.cell_range_partial_props module

class ooodev.adapter.text.cell_range_partial_props.CellRangePartialProps(component)[source]

Bases: object

Partial class for CellRange service.

Parameters:

component (CellRange) –

__init__(component)[source]

Constructor

Parameters:

component (CellRange) – UNO Component that implements com.sun.star.text.CellRange service.

Return type:

None

property back_color: Color

Gets/Sets the background color.

Returns:

Returns Color.

Return type:

Color

property back_graphic: com.sun.star.graphic.XGraphic

Gets/Sets the graphic object that is displayed as background graphic.

Return type:

XGraphic

property back_graphic_filter: str

Gets/Sets the name of the graphic filter of the background graphic.

Return type:

str

property back_graphic_location: GraphicLocation

Gets/Sets the position of the background graphic.

Returns:

Returns GraphicLocation.

Return type:

GraphicLocation

Hint

  • GraphicLocation can be imported from ooo.dyn.style.graphic_location

property back_graphic_url: str

Gets/Sets the URL to the background graphic.

Returns:

Returns URL to the background graphic.

Return type:

str

Note

the new behavior since it this was deprecated: This property can only be set and only external URLs are supported (no more vnd.sun.star.GraphicObject scheme). When an URL is set, then it will load the graphic and set the BackGraphic property.

property back_transparent: bool

Gets/Sets whether the background is transparent.

Return type:

bool

property chart_column_as_label: bool

Gets/Sets if the first column of the table should be treated as axis labels when a chart is to be created.

Return type:

bool

property chart_row_as_label: bool

Gets/Sets if the first row of the table should be treated as axis labels when a chart is to be created.

Return type:

bool

property number_format: int

Gets/Sets the number format.

Return type:

int