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 voidoperator new (std::size_t nSize)
 
static voidoperator 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 224 of file xichart.hxx.

Constructor & Destructor Documentation

XclImpChLineFormat::XclImpChLineFormat ( )
inlineexplicit

Creates a new line format object with automatic formatting.

Definition at line 228 of file xichart.hxx.

XclImpChLineFormat::XclImpChLineFormat ( const XclChLineFormat rLineFmt)
inlineexplicit

Creates a new line format object with the passed formatting.

Definition at line 230 of file xichart.hxx.

XclImpChLineFormat::XclImpChLineFormat ( XclImpChLineFormat const &  rOther)
inline

Definition at line 233 of file xichart.hxx.

XclImpChLineFormat::XclImpChLineFormat ( XclImpChLineFormat &&  rOther)
inline

Definition at line 235 of file xichart.hxx.

Member Function Documentation

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

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

Definition at line 250 of file xichart.hxx.

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

bool XclImpChLineFormat::HasLine ( ) const
inline

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

Definition at line 248 of file xichart.hxx.

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

Referenced by GetWeight().

bool XclImpChLineFormat::IsAuto ( ) const
inline

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

Definition at line 246 of file xichart.hxx.

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

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

bool XclImpChLineFormat::IsShowAxis ( ) const
inline

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

Definition at line 252 of file xichart.hxx.

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

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

Definition at line 237 of file xichart.hxx.

References maData.

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

Definition at line 239 of file xichart.hxx.

References maData.

void XclImpChLineFormat::ReadChLineFormat ( XclImpStream rStrm)

Member Data Documentation

XclChLineFormat XclImpChLineFormat::maData
private

Definition at line 260 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: