| 
    LibreOffice Module sc (master) 1
    
   | 
 
Helper class for usage of property sets. More...
#include <xlstyle.hxx>
Public Member Functions | |
| XclFontPropSetHelper () | |
| void | ReadFontProperties (XclFontData &rFontData, const ScfPropertySet &rPropSet, XclFontPropSetType eType, sal_Int16 nScript=-1) | 
| Reads all font properties from the passed property set.  More... | |
| void | WriteFontProperties (ScfPropertySet &rPropSet, XclFontPropSetType eType, const XclFontData &rFontData, bool bHasWstrn, bool bHasAsian, bool bHasCmplx, const Color *pFontColor) | 
| Writes all font properties to the passed property set, uses passed color as font color.  More... | |
Private Member Functions | |
| ScfPropSetHelper & | GetChartHelper (sal_Int16 nScript) | 
| Returns a chart property set helper according to the passed script type.  More... | |
Private Attributes | |
| ScfPropSetHelper | maHlpChCommon | 
| ScfPropSetHelper | maHlpChWstrn | 
| Chart properties for all scripts.  More... | |
| ScfPropSetHelper | maHlpChAsian | 
| Chart properties for Western script.  More... | |
| ScfPropSetHelper | maHlpChCmplx | 
| Chart properties for Asian script.  More... | |
| ScfPropSetHelper | maHlpChWstrnNoName | 
| Chart properties for Complex script.  More... | |
| ScfPropSetHelper | maHlpChAsianNoName | 
| Chart properties for Western script, no font name.  More... | |
| ScfPropSetHelper | maHlpChCmplxNoName | 
| Chart properties for Asian script, no font name.  More... | |
| ScfPropSetHelper | maHlpChEscapement | 
| Chart properties for Complex script, no font name.  More... | |
| ScfPropSetHelper | maHlpControl | 
| Chart properties for font escapement.  More... | |
Helper class for usage of property sets.
Definition at line 402 of file xlstyle.hxx.
      
  | 
  explicit | 
Definition at line 611 of file xlstyle.cxx.
      
  | 
  private | 
Returns a chart property set helper according to the passed script type.
Definition at line 748 of file xlstyle.cxx.
References maHlpChAsian, maHlpChCmplx, and maHlpChWstrn.
Referenced by ReadFontProperties().
| void XclFontPropSetHelper::ReadFontProperties | ( | XclFontData & | rFontData, | 
| const ScfPropertySet & | rPropSet, | ||
| XclFontPropSetType | eType, | ||
| sal_Int16 | nScript = -1  | 
        ||
| ) | 
Reads all font properties from the passed property set.
Definition at line 624 of file xlstyle.cxx.
References eType, EXC_FONTPROPSET_CHART, EXC_FONTPROPSET_CONTROL, GetChartHelper(), XclFontData::maComplexColor, maHlpChCommon, maHlpChEscapement, maHlpControl, XclFontData::mbOutline, XclFontData::mbShadow, ScfPropSetHelper::ReadFromPropertySet(), XclFontData::SetApiEscapement(), XclFontData::SetApiFamily(), model::ComplexColor::setColor(), and XclFontData::SetFontEncoding().
Referenced by XclExpChRoot::ConvertFont(), and XclExpTbxControlObj::XclExpTbxControlObj().
| void XclFontPropSetHelper::WriteFontProperties | ( | ScfPropertySet & | rPropSet, | 
| XclFontPropSetType | eType, | ||
| const XclFontData & | rFontData, | ||
| bool | bHasWstrn, | ||
| bool | bHasAsian, | ||
| bool | bHasCmplx, | ||
| const Color * | pFontColor | ||
| ) | 
Writes all font properties to the passed property set, uses passed color as font color.
Definition at line 696 of file xlstyle.cxx.
References eType, EXC_FONTPROPSET_CHART, EXC_FONTPROPSET_CONTROL, XclFontData::GetApiEscapement(), XclFontData::GetApiFamily(), XclFontData::GetApiFontEncoding(), XclFontData::GetApiHeight(), XclFontData::GetApiPosture(), XclFontData::GetApiStrikeout(), XclFontData::GetApiUnderline(), XclFontData::GetApiWeight(), model::ComplexColor::getFinalColor(), XclFontData::GetScEscapement(), ScfPropSetHelper::InitializeWrite(), XclFontData::maComplexColor, maHlpChAsian, maHlpChAsianNoName, maHlpChCmplx, maHlpChCmplxNoName, maHlpChCommon, maHlpChEscapement, maHlpChWstrn, maHlpChWstrnNoName, maHlpControl, XclFontData::maName, XclFontData::mbOutline, XclFontData::mbShadow, and ScfPropSetHelper::WriteToPropertySet().
Referenced by XclImpFont::WriteFontProperties().
      
  | 
  private | 
Chart properties for Western script.
Definition at line 426 of file xlstyle.hxx.
Referenced by GetChartHelper(), and WriteFontProperties().
      
  | 
  private | 
Chart properties for Western script, no font name.
Definition at line 429 of file xlstyle.hxx.
Referenced by WriteFontProperties().
      
  | 
  private | 
Chart properties for Asian script.
Definition at line 427 of file xlstyle.hxx.
Referenced by GetChartHelper(), and WriteFontProperties().
      
  | 
  private | 
Chart properties for Asian script, no font name.
Definition at line 430 of file xlstyle.hxx.
Referenced by WriteFontProperties().
      
  | 
  private | 
Definition at line 424 of file xlstyle.hxx.
Referenced by ReadFontProperties(), and WriteFontProperties().
      
  | 
  private | 
Chart properties for Complex script, no font name.
Definition at line 431 of file xlstyle.hxx.
Referenced by ReadFontProperties(), and WriteFontProperties().
      
  | 
  private | 
Chart properties for all scripts.
Definition at line 425 of file xlstyle.hxx.
Referenced by GetChartHelper(), and WriteFontProperties().
      
  | 
  private | 
Chart properties for Complex script.
Definition at line 428 of file xlstyle.hxx.
Referenced by WriteFontProperties().
      
  | 
  private | 
Chart properties for font escapement.
Definition at line 432 of file xlstyle.hxx.
Referenced by ReadFontProperties(), and WriteFontProperties().