LibreOffice Module writerfilter (master) 1
Public Member Functions | Private Attributes | List of all members
writerfilter::rtftok::RTFColorTableEntry Class Reference

An entry in the color table. More...

#include <rtfdocumentimpl.hxx>

Public Member Functions

void SetRed (sal_uInt8 nRed)
 
void SetGreen (sal_uInt8 nGreen)
 
void SetBlue (sal_uInt8 nBlue)
 
Color GetColor () const
 

Private Attributes

bool m_bAuto = true
 
sal_uInt8 m_nR = 0
 
sal_uInt8 m_nG = 0
 
sal_uInt8 m_nB = 0
 

Detailed Description

An entry in the color table.

Definition at line 158 of file rtfdocumentimpl.hxx.

Member Function Documentation

◆ GetColor()

Color writerfilter::rtftok::RTFColorTableEntry::GetColor ( ) const
inline

Definition at line 176 of file rtfdocumentimpl.hxx.

References COL_AUTO(), m_bAuto, m_nB, m_nG, and m_nR.

Referenced by writerfilter::rtftok::RTFDocumentImpl::resolveChars().

◆ SetBlue()

void writerfilter::rtftok::RTFColorTableEntry::SetBlue ( sal_uInt8  nBlue)
inline

Definition at line 171 of file rtfdocumentimpl.hxx.

References m_bAuto, and m_nB.

Referenced by writerfilter::rtftok::RTFDocumentImpl::dispatchValue().

◆ SetGreen()

void writerfilter::rtftok::RTFColorTableEntry::SetGreen ( sal_uInt8  nGreen)
inline

Definition at line 166 of file rtfdocumentimpl.hxx.

References m_bAuto, and m_nG.

Referenced by writerfilter::rtftok::RTFDocumentImpl::dispatchValue().

◆ SetRed()

void writerfilter::rtftok::RTFColorTableEntry::SetRed ( sal_uInt8  nRed)
inline

Definition at line 161 of file rtfdocumentimpl.hxx.

References m_bAuto, and m_nR.

Referenced by writerfilter::rtftok::RTFDocumentImpl::dispatchValue().

Member Data Documentation

◆ m_bAuto

bool writerfilter::rtftok::RTFColorTableEntry::m_bAuto = true
private

Definition at line 179 of file rtfdocumentimpl.hxx.

Referenced by GetColor(), SetBlue(), SetGreen(), and SetRed().

◆ m_nB

sal_uInt8 writerfilter::rtftok::RTFColorTableEntry::m_nB = 0
private

Definition at line 182 of file rtfdocumentimpl.hxx.

Referenced by GetColor(), and SetBlue().

◆ m_nG

sal_uInt8 writerfilter::rtftok::RTFColorTableEntry::m_nG = 0
private

Definition at line 181 of file rtfdocumentimpl.hxx.

Referenced by GetColor(), and SetGreen().

◆ m_nR

sal_uInt8 writerfilter::rtftok::RTFColorTableEntry::m_nR = 0
private

Definition at line 180 of file rtfdocumentimpl.hxx.

Referenced by GetColor(), and SetRed().


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