LibreOffice Module oox (master) 1
Public Types | Public Member Functions | Public Attributes | List of all members
oox::drawingml::LineProperties Struct Reference

#include <lineproperties.hxx>

Collaboration diagram for oox::drawingml::LineProperties:
[legend]

Public Types

typedef ::std::pair< sal_Int32, sal_Int32 > DashStop
 
typedef ::std::vector< DashStopDashStopVector
 

Public Member Functions

void assignUsed (const LineProperties &rSourceProps)
 Line joint type (OOXML token). More...
 
void pushToPropMap (ShapePropertyMap &rPropMap, const GraphicHelper &rGraphicHelper, ::Color nPhClr=API_RGB_TRANSPARENT, sal_Int16 nPhClrTheme=-1) const
 Writes the properties to the passed property map. More...
 
css::drawing::LineStyle getLineStyle () const
 Calculates the line style attribute from the internal state of the object. More...
 
css::drawing::LineCap getLineCap () const
 Calculates the line cap attribute from the internal state of the object. More...
 
css::drawing::LineJoint getLineJoint () const
 Calculates the line joint attribute from the internal state of the object. More...
 
sal_Int32 getLineWidth () const
 Calculates the line width attribute from the internal state of the object. More...
 

Public Attributes

LineArrowProperties maStartArrow
 
LineArrowProperties maEndArrow
 Start line arrow style. More...
 
FillProperties maLineFill
 End line arrow style. More...
 
DashStopVector maCustomDash
 Line fill (solid, gradient, ...). More...
 
std::optional< sal_Int32 > moLineWidth
 User-defined line dash style. More...
 
std::optional< sal_Int32 > moPresetDash
 Line width (EMUs). More...
 
std::optional< sal_Int32 > moLineCompound
 Preset dash (OOXML token). More...
 
std::optional< sal_Int32 > moLineCap
 Line compound type (OOXML token). More...
 
std::optional< sal_Int32 > moLineJoint
 Line cap (OOXML token). More...
 

Detailed Description

Definition at line 50 of file lineproperties.hxx.

Member Typedef Documentation

◆ DashStop

typedef ::std::pair< sal_Int32, sal_Int32 > oox::drawingml::LineProperties::DashStop

Definition at line 52 of file lineproperties.hxx.

◆ DashStopVector

Definition at line 53 of file lineproperties.hxx.

Member Function Documentation

◆ assignUsed()

void oox::drawingml::LineProperties::assignUsed ( const LineProperties rSourceProps)

◆ getLineCap()

drawing::LineCap oox::drawingml::LineProperties::getLineCap ( ) const

Calculates the line cap attribute from the internal state of the object.

Definition at line 544 of file lineproperties.cxx.

References moLineCap.

Referenced by oox::drawingml::Shape::createAndInsert().

◆ getLineJoint()

drawing::LineJoint oox::drawingml::LineProperties::getLineJoint ( ) const

Calculates the line joint attribute from the internal state of the object.

Definition at line 552 of file lineproperties.cxx.

References moLineJoint.

Referenced by oox::drawingml::Shape::createAndInsert().

◆ getLineStyle()

drawing::LineStyle oox::drawingml::LineProperties::getLineStyle ( ) const

Calculates the line style attribute from the internal state of the object.

Definition at line 533 of file lineproperties.cxx.

References maCustomDash, maLineFill, oox::drawingml::FillProperties::moFillType, and moPresetDash.

Referenced by oox::drawingml::Shape::createAndInsert().

◆ getLineWidth()

sal_Int32 oox::drawingml::LineProperties::getLineWidth ( ) const

Calculates the line width attribute from the internal state of the object.

Definition at line 560 of file lineproperties.cxx.

References oox::drawingml::convertEmuToHmm(), and moLineWidth.

Referenced by oox::drawingml::Shape::createAndInsert(), and pushToPropMap().

◆ pushToPropMap()

void oox::drawingml::LineProperties::pushToPropMap ( ShapePropertyMap rPropMap,
const GraphicHelper rGraphicHelper,
::Color  nPhClr = API_RGB_TRANSPARENT,
sal_Int16  nPhClrTheme = -1 
) const

Member Data Documentation

◆ maCustomDash

DashStopVector oox::drawingml::LineProperties::maCustomDash

◆ maEndArrow

LineArrowProperties oox::drawingml::LineProperties::maEndArrow

Start line arrow style.

Definition at line 56 of file lineproperties.hxx.

Referenced by assignUsed(), oox::drawingml::LinePropertiesContext::onCreateContext(), and pushToPropMap().

◆ maLineFill

FillProperties oox::drawingml::LineProperties::maLineFill

◆ maStartArrow

LineArrowProperties oox::drawingml::LineProperties::maStartArrow

◆ moLineCap

std::optional< sal_Int32 > oox::drawingml::LineProperties::moLineCap

Line compound type (OOXML token).

Definition at line 62 of file lineproperties.hxx.

Referenced by assignUsed(), getLineCap(), and pushToPropMap().

◆ moLineCompound

std::optional< sal_Int32 > oox::drawingml::LineProperties::moLineCompound

Preset dash (OOXML token).

Definition at line 61 of file lineproperties.hxx.

Referenced by assignUsed().

◆ moLineJoint

std::optional< sal_Int32 > oox::drawingml::LineProperties::moLineJoint

◆ moLineWidth

std::optional< sal_Int32 > oox::drawingml::LineProperties::moLineWidth

User-defined line dash style.

Definition at line 59 of file lineproperties.hxx.

Referenced by oox::drawingml::table::applyLineAttributes(), assignUsed(), oox::drawingml::Shape::createAndInsert(), and getLineWidth().

◆ moPresetDash

std::optional< sal_Int32 > oox::drawingml::LineProperties::moPresetDash

The documentation for this struct was generated from the following files: