LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | List of all members
XclImpChLineFormat Class Reference

The CHLINEFORMAT record containing line formatting data. More...

#include <xichart.hxx>

Inheritance diagram for XclImpChLineFormat:
[legend]
Collaboration diagram for XclImpChLineFormat:
[legend]

Public Member Functions

 XclImpChLineFormat ()
 Creates a new line format object with automatic formatting. More...
 
 XclImpChLineFormat (const XclChLineFormat &rLineFmt)
 Creates a new line format object with the passed formatting. More...
 
 XclImpChLineFormat (XclImpChLineFormat const &rOther)
 
 XclImpChLineFormat (XclImpChLineFormat &&rOther)
 
XclImpChLineFormatoperator= (XclImpChLineFormat const &rOther)
 
XclImpChLineFormatoperator= (XclImpChLineFormat &&rOther) noexcept
 
void ReadChLineFormat (XclImpStream &rStrm)
 Reads the CHLINEFORMAT record (basic line properties). More...
 
bool IsAuto () const
 Returns true, if the line format is set to automatic. More...
 
bool HasLine () const
 Returns true, if the line style is set to something visible. More...
 
sal_Int16 GetWeight () const
 Returns the line width of this line format (returns 'single', if the line is invisible). More...
 
bool IsShowAxis () const
 Returns true, if the "show axis" flag is set. More...
 
void Convert (const XclImpChRoot &rRoot, ScfPropertySet &rPropSet, XclChObjectType eObjType, sal_uInt16 nFormatIdx=EXC_CHDATAFORMAT_UNKNOWN) const
 Converts and writes the contained data to the passed property set. More...
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Private Attributes

XclChLineFormat maData
 

Additional Inherited Members

- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
 
static void * operator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

The CHLINEFORMAT record containing line formatting data.

Definition at line 223 of file xichart.hxx.

Constructor & Destructor Documentation

◆ XclImpChLineFormat() [1/4]

XclImpChLineFormat::XclImpChLineFormat ( )
inlineexplicit

Creates a new line format object with automatic formatting.

Definition at line 227 of file xichart.hxx.

◆ XclImpChLineFormat() [2/4]

XclImpChLineFormat::XclImpChLineFormat ( const XclChLineFormat rLineFmt)
inlineexplicit

Creates a new line format object with the passed formatting.

Definition at line 229 of file xichart.hxx.

◆ XclImpChLineFormat() [3/4]

XclImpChLineFormat::XclImpChLineFormat ( XclImpChLineFormat const &  rOther)
inline

Definition at line 232 of file xichart.hxx.

◆ XclImpChLineFormat() [4/4]

XclImpChLineFormat::XclImpChLineFormat ( XclImpChLineFormat &&  rOther)
inline

Definition at line 234 of file xichart.hxx.

Member Function Documentation

◆ Convert()

void XclImpChLineFormat::Convert ( const XclImpChRoot rRoot,
ScfPropertySet rPropSet,
XclChObjectType  eObjType,
sal_uInt16  nFormatIdx = EXC_CHDATAFORMAT_UNKNOWN 
) const

◆ GetWeight()

sal_Int16 XclImpChLineFormat::GetWeight ( ) const
inline

Returns the line width of this line format (returns 'single', if the line is invisible).

Definition at line 249 of file xichart.hxx.

References EXC_CHLINEFORMAT_SINGLE, HasLine(), IsAuto(), maData, and XclChLineFormat::mnWeight.

◆ HasLine()

bool XclImpChLineFormat::HasLine ( ) const
inline

Returns true, if the line style is set to something visible.

Definition at line 247 of file xichart.hxx.

References EXC_CHLINEFORMAT_NONE, IsAuto(), maData, and XclChLineFormat::mnPattern.

Referenced by GetWeight().

◆ IsAuto()

bool XclImpChLineFormat::IsAuto ( ) const
inline

Returns true, if the line format is set to automatic.

Definition at line 245 of file xichart.hxx.

References EXC_CHLINEFORMAT_AUTO, get_flag(), maData, and XclChLineFormat::mnFlags.

Referenced by Convert(), GetWeight(), and HasLine().

◆ IsShowAxis()

bool XclImpChLineFormat::IsShowAxis ( ) const
inline

Returns true, if the "show axis" flag is set.

Definition at line 251 of file xichart.hxx.

References EXC_CHLINEFORMAT_SHOWAXIS, get_flag(), maData, and XclChLineFormat::mnFlags.

◆ operator=() [1/2]

XclImpChLineFormat & XclImpChLineFormat::operator= ( XclImpChLineFormat &&  rOther)
inlinenoexcept

Definition at line 238 of file xichart.hxx.

References maData.

◆ operator=() [2/2]

XclImpChLineFormat & XclImpChLineFormat::operator= ( XclImpChLineFormat const &  rOther)
inline

Definition at line 236 of file xichart.hxx.

References maData.

◆ ReadChLineFormat()

void XclImpChLineFormat::ReadChLineFormat ( XclImpStream rStrm)

Member Data Documentation

◆ maData

XclChLineFormat XclImpChLineFormat::maData
private

Definition at line 259 of file xichart.hxx.

Referenced by Convert(), GetWeight(), HasLine(), IsAuto(), IsShowAxis(), operator=(), and ReadChLineFormat().


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