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) 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...
 
OptValue< sal_Int32 > moLineWidth
 User-defined line dash style. More...
 
OptValue< sal_Int32 > moPresetDash
 Line width (EMUs). More...
 
OptValue< sal_Int32 > moLineCompound
 Preset dash (OOXML token). More...
 
OptValue< sal_Int32 > moLineCap
 Line compound type (OOXML token). More...
 
OptValue< sal_Int32 > moLineJoint
 Line cap (OOXML token). More...
 

Detailed Description

Definition at line 50 of file lineproperties.hxx.

Member Typedef Documentation

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

Definition at line 52 of file lineproperties.hxx.

Definition at line 53 of file lineproperties.hxx.

Member Function Documentation

void oox::drawingml::LineProperties::assignUsed ( const LineProperties rSourceProps)
drawing::LineCap oox::drawingml::LineProperties::getLineCap ( ) const

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

Definition at line 516 of file lineproperties.cxx.

References oox::OptValue< Type >::get(), oox::OptValue< Type >::has(), and moLineCap.

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

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

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

Definition at line 524 of file lineproperties.cxx.

References oox::OptValue< Type >::get(), oox::OptValue< Type >::has(), and moLineJoint.

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

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

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

Definition at line 506 of file lineproperties.cxx.

References oox::OptValue< Type >::differsFrom(), oox::OptValue< Type >::get(), maCustomDash, maLineFill, oox::drawingml::FillProperties::moFillType, and moPresetDash.

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

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

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

Definition at line 532 of file lineproperties.cxx.

References oox::drawingml::convertEmuToHmm(), oox::OptValue< Type >::get(), and moLineWidth.

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

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

Member Data Documentation

DashStopVector oox::drawingml::LineProperties::maCustomDash
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().

FillProperties oox::drawingml::LineProperties::maLineFill
LineArrowProperties oox::drawingml::LineProperties::maStartArrow
OptValue< 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().

OptValue< sal_Int32 > oox::drawingml::LineProperties::moLineCompound

Preset dash (OOXML token).

Definition at line 61 of file lineproperties.hxx.

Referenced by assignUsed().

OptValue< sal_Int32 > oox::drawingml::LineProperties::moLineJoint
OptValue< 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().

OptValue< sal_Int32 > oox::drawingml::LineProperties::moPresetDash

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