LibreOffice Module sc (master) 1
|
Private Member Functions | |
tools::Long | GetMaxDigitWidth () |
tools::Long | GetSignWidth () |
tools::Long | GetDotWidth () |
tools::Long | GetExpWidth () |
void | TextChanged () |
Private Attributes | |
ScOutputData * | pOutput |
const ScPatternAttr * | pPattern |
const SfxItemSet * | pCondSet |
vcl::Font | aFont |
FontMetric | aMetric |
tools::Long | nAscentPixel |
SvxCellOrientation | eAttrOrient |
SvxCellHorJustify | eAttrHorJust |
SvxCellVerJustify | eAttrVerJust |
SvxCellJustifyMethod | eAttrHorJustMethod |
const SvxMarginItem * | pMargin |
sal_uInt16 | nIndent |
bool | bRotated |
OUString | aString |
Size | aTextSize |
tools::Long | nOriginalWidth |
tools::Long | nMaxDigitWidth |
tools::Long | nSignWidth |
tools::Long | nDotWidth |
tools::Long | nExpWidth |
ScRefCellValue | maLastCell |
sal_uLong | nValueFormat |
bool | bLineBreak |
bool | bRepeat |
bool | bShrink |
bool | bPixelToLogic |
bool | bCellContrast |
Color | aBackConfigColor |
Color | aTextConfigColor |
sal_Int32 | nRepeatPos |
sal_Unicode | nRepeatChar |
Definition at line 99 of file output2.cxx.
ScDrawStringsVars::ScDrawStringsVars | ( | ScOutputData * | pData, |
bool | bPTL | ||
) |
Definition at line 204 of file output2.cxx.
References aBackConfigColor, aTextConfigColor, Auto, bCellContrast, Bottom, svtools::DOCCOLOR, svtools::FONTCOLOR, ScModule::GetColorConfig(), svtools::ColorConfig::GetColorValue(), StyleSettings::GetHighContrastMode(), Application::GetSettings(), AllSettings::GetStyleSettings(), ScOutputData::mbUseStyleColor, svtools::ColorConfigValue::nColor, pData, pOutput, SC_MOD, and Standard.
|
inline |
Definition at line 179 of file output2.cxx.
References nAscentPixel.
Referenced by ScOutputData::LayoutStrings().
|
private |
Definition at line 762 of file output2.cxx.
References ScGlobal::getLocaleData(), LocaleDataWrapper::getLocaleItem(), nDotWidth, ScOutputData::pFmtDevice, and pOutput.
Referenced by SetTextToWidthOrHash().
|
private |
Definition at line 772 of file output2.cxx.
References nExpWidth, ScOutputData::pFmtDevice, and pOutput.
Referenced by SetTextToWidthOrHash().
tools::Long ScDrawStringsVars::GetFmtTextWidth | ( | const OUString & | rString | ) |
Definition at line 781 of file output2.cxx.
References GetLayoutGlyphs(), ScOutputData::pFmtDevice, and pOutput.
Referenced by ScOutputData::LayoutStrings(), RepeatToFill(), SetAutoText(), SetTextToWidthOrHash(), and TextChanged().
|
inline |
Definition at line 157 of file output2.cxx.
References eAttrHorJust.
Referenced by ScOutputData::LayoutStrings().
|
inline |
Definition at line 159 of file output2.cxx.
References eAttrHorJustMethod.
Referenced by ScOutputData::LayoutStrings().
|
inline |
Definition at line 191 of file output2.cxx.
References SalLayoutGlyphsCache::GetLayoutGlyphs(), ScOutputData::pFmtDevice, pOutput, and SalLayoutGlyphsCache::self().
Referenced by GetFmtTextWidth(), and ScOutputData::LayoutStrings().
|
inline |
Definition at line 162 of file output2.cxx.
References SvxMarginItem::GetLeftMargin(), nIndent, and pMargin.
Referenced by ScOutputData::LayoutStrings().
|
inline |
Definition at line 174 of file output2.cxx.
References bLineBreak.
Referenced by ScOutputData::LayoutStrings().
|
inline |
Definition at line 160 of file output2.cxx.
References pMargin.
Referenced by ScOutputData::LayoutStrings().
|
private |
Definition at line 738 of file output2.cxx.
References i, n, nMaxDigitWidth, ScOutputData::pFmtDevice, and pOutput.
Referenced by SetTextToWidthOrHash().
|
inline |
Definition at line 156 of file output2.cxx.
References eAttrOrient.
Referenced by ScOutputData::LayoutStrings(), SetAutoText(), and TextChanged().
|
inline |
Definition at line 167 of file output2.cxx.
References nOriginalWidth.
Referenced by ScOutputData::LayoutStrings().
|
inline |
Definition at line 172 of file output2.cxx.
References nValueFormat.
Referenced by ScOutputData::LayoutStrings(), and SetTextToWidthOrHash().
|
inline |
Definition at line 163 of file output2.cxx.
References SvxMarginItem::GetRightMargin(), nIndent, and pMargin.
Referenced by ScOutputData::LayoutStrings().
|
private |
Definition at line 753 of file output2.cxx.
References nSignWidth, ScOutputData::pFmtDevice, and pOutput.
Referenced by SetTextToWidthOrHash().
|
inline |
Definition at line 165 of file output2.cxx.
References aString.
Referenced by ScOutputData::LayoutStrings().
|
inline |
Definition at line 166 of file output2.cxx.
References aTextSize.
Referenced by ScOutputData::LayoutStrings().
|
inline |
Definition at line 158 of file output2.cxx.
References eAttrVerJust.
Referenced by ScOutputData::LayoutStrings().
|
inline |
Definition at line 184 of file output2.cxx.
References ATTR_FONT_HEIGHT(), SfxItemSet::GetItemState(), and pCondSet.
Referenced by ScOutputData::LayoutStrings().
bool ScDrawStringsVars::HasEditCharacters | ( | ) | const |
Definition at line 812 of file output2.cxx.
References aString, CHAR_LRM, CHAR_NBHY, CHAR_NBSP, CHAR_RLM, CHAR_SHY, CHAR_WJ, CHAR_ZWSP, and nRepeatPos.
Referenced by ScOutputData::LayoutStrings().
|
inline |
Definition at line 175 of file output2.cxx.
References bRepeat.
Referenced by ScOutputData::LayoutStrings().
|
inline |
Definition at line 180 of file output2.cxx.
References bRotated.
Referenced by ScOutputData::LayoutStrings().
|
inline |
Definition at line 176 of file output2.cxx.
References bShrink.
Referenced by ScOutputData::LayoutStrings().
void ScDrawStringsVars::RepeatToFill | ( | tools::Long | nColWidth | ) |
Definition at line 573 of file output2.cxx.
References aString, aTextSize, bPixelToLogic, GetFmtTextWidth(), ScOutputData::mpRefDevice, nRepeatChar, nRepeatPos, comphelper::string::padToLength(), pOutput, TextChanged(), Width, and Size::Width().
Referenced by ScOutputData::LayoutStrings().
void ScDrawStringsVars::SetAutoText | ( | const OUString & | rAutoText | ) |
Definition at line 708 of file output2.cxx.
References aMetric, aString, aTextSize, bPixelToLogic, ScRefCellValue::clear(), FontMetric::GetAscent(), OutputDevice::GetConnectMetaFile(), FontMetric::GetDescent(), GetFmtTextWidth(), GetOrient(), OutputDevice::GetOutDevType(), ScOutputData::GetStretch(), OutputDevice::GetTextHeight(), Size::Height(), OutputDevice::LogicToPixel(), maLastCell, ScOutputData::mpRefDevice, nOriginalWidth, OUTDEV_PRINTER, ScOutputData::pFmtDevice, pOutput, Size::setHeight(), Size::setWidth(), and Size::Width().
Referenced by ScOutputData::LayoutStrings(), SetHashText(), and SetShrinkScale().
void ScDrawStringsVars::SetHashText | ( | ) |
Definition at line 568 of file output2.cxx.
References SetAutoText().
Referenced by ScOutputData::LayoutStrings(), and SetTextToWidthOrHash().
void ScDrawStringsVars::SetPattern | ( | const ScPatternAttr * | pNew, |
const SfxItemSet * | pSet, | ||
const ScRefCellValue & | rCell, | ||
SvtScriptType | nScript | ||
) |
differentiate and do not get the text again from the number format?
Definition at line 304 of file output2.cxx.
References aBackConfigColor, aFont, ALIGN_BASELINE, aMetric, aTextConfigColor, ATTR_FONT_OVERLINE(), ATTR_FONT_UNDERLINE(), ATTR_HOR_JUSTIFY(), ATTR_HOR_JUSTIFY_METHOD(), ATTR_INDENT(), ATTR_LINEBREAK(), ATTR_MARGIN(), ATTR_ROTATE_VALUE(), ATTR_SHRINKTOFIT(), ATTR_VER_JUSTIFY(), ScOutputData::aZoomY, bCellContrast, bLineBreak, bPixelToLogic, bRepeat, bRotated, bShrink, ScRefCellValue::clear(), Display, eAttrHorJust, eAttrHorJustMethod, eAttrOrient, eAttrVerJust, ScPatternAttr::fillFont(), FontMetric::GetAscent(), ScPatternAttr::GetCellOrientation(), Application::GetDefaultDevice(), OutputDevice::GetFontMetric(), ScDocument::GetFormatTable(), FontMetric::GetInternalLeading(), ScPatternAttr::GetItem(), OutputDevice::GetMapMode(), ScPatternAttr::GetNumberFormat(), OutputDevice::GetOutDevType(), IgnoreAll, IgnoreBack, IgnoreFont, OutputDevice::LogicToPixel(), maLastCell, ScOutputData::mbForceAutoColor, ScOutputData::mbSyntaxMode, ScOutputData::mbUseStyleColor, ScOutputData::mpDev, ScOutputData::mpDoc, ScOutputData::mpRefDevice, nAscentPixel, nDotWidth, nExpWidth, nIndent, nMaxDigitWidth, nSignWidth, nValueFormat, OUTDEV_PRINTER, pCondSet, ScOutputData::pFmtDevice, pMargin, pOutput, pPattern, Print, vcl::Font::SetAlignment(), OutputDevice::SetFont(), vcl::Font::SetKerning(), OutputDevice::SetMapMode(), vcl::Font::SetOrientation(), OutputDevice::SetOverlineColor(), ScOutputData::SetSyntaxColor(), and OutputDevice::SetTextLineColor().
Referenced by ScOutputData::LayoutStrings().
void ScDrawStringsVars::SetPatternSimple | ( | const ScPatternAttr * | pNew, |
const SfxItemSet * | pSet | ||
) |
is this needed ???
Definition at line 459 of file output2.cxx.
References ATTR_INDENT(), ATTR_MARGIN(), ATTR_SHRINKTOFIT(), bShrink, ScRefCellValue::clear(), eAttrHorJust, ScDocument::GetFormatTable(), ScPatternAttr::GetItem(), ScPatternAttr::GetNumberFormat(), maLastCell, ScOutputData::mpDoc, nDotWidth, nExpWidth, nIndent, nMaxDigitWidth, nSignWidth, nValueFormat, pCondSet, pMargin, pOutput, and pPattern.
Referenced by ScOutputData::LayoutStrings().
void ScDrawStringsVars::SetShrinkScale | ( | tools::Long | nScale, |
SvtScriptType | nScript | ||
) |
Definition at line 238 of file output2.cxx.
References aFont, aMetric, aString, ScOutputData::aZoomY, bPixelToLogic, ScPatternAttr::fillFontOnly(), FontMetric::GetAscent(), Application::GetDefaultDevice(), vcl::Font::GetFontHeight(), OutputDevice::GetFontMetric(), FontMetric::GetInternalLeading(), OutputDevice::GetMapMode(), OutputDevice::GetOutDevType(), OutputDevice::LogicToPixel(), ScOutputData::mpDev, ScOutputData::mpRefDevice, nAscentPixel, OUTDEV_PRINTER, pCondSet, ScOutputData::pFmtDevice, pOutput, pPattern, SetAutoText(), OutputDevice::SetFont(), vcl::Font::SetFontHeight(), and OutputDevice::SetMapMode().
Referenced by ScOutputData::LayoutStrings().
bool ScDrawStringsVars::SetText | ( | const ScRefCellValue & | rCell | ) |
Definition at line 499 of file output2.cxx.
References aFont, aString, aTextSize, ScRefCellValue::clear(), DRAWTEXT_MAX, ScDocument::GetFormatTable(), ScCellFormat::GetString(), ScRefCellValue::isEmpty(), maLastCell, ScOutputData::mbForceAutoColor, ScOutputData::mbShowFormulas, ScOutputData::mbShowNullValues, ScOutputData::mbSyntaxMode, ScOutputData::mbUseStyleColor, ScOutputData::mpDev, ScOutputData::mpDoc, nOriginalWidth, nRepeatChar, nRepeatPos, nValueFormat, pOutput, SameValue(), vcl::Font::SetColor(), OutputDevice::SetFont(), TextChanged(), and u.
Referenced by ScOutputData::LayoutStrings().
bool ScDrawStringsVars::SetTextToWidthOrHash | ( | ScRefCellValue & | rCell, |
tools::Long | nWidth | ||
) |
Definition at line 602 of file output2.cxx.
References aString, bPixelToLogic, CELLTYPE_FORMULA, CELLTYPE_VALUE, ScRefCellValue::clear(), eType, GetDotWidth(), SvNumberFormatter::GetEntry(), ScFormulaCell::GetErrCode(), GetExpWidth(), GetFmtTextWidth(), ScDocument::GetFormatTable(), ScRefCellValue::getFormula(), ScGlobal::getLocaleData(), LocaleDataWrapper::getLocaleItem(), GetMaxDigitWidth(), SvNumberformat::GetOutputString(), GetResultValueFormat(), GetSignWidth(), ScRefCellValue::getType(), ScRefCellValue::getValue(), i, ScFormulaCell::IsValue(), maLastCell, ScOutputData::mbShowFormulas, ScOutputData::mpDoc, ScOutputData::mpRefDevice, pOutput, SetHashText(), SV_COUNTRY_LANGUAGE_OFFSET, and TextChanged().
Referenced by ScOutputData::LayoutStrings().
|
private |
Definition at line 786 of file output2.cxx.
References aMetric, aString, aTextSize, bPixelToLogic, FontMetric::GetAscent(), OutputDevice::GetConnectMetaFile(), FontMetric::GetDescent(), GetFmtTextWidth(), GetOrient(), OutputDevice::GetOutDevType(), ScOutputData::GetStretch(), OutputDevice::GetTextHeight(), Size::Height(), OutputDevice::LogicToPixel(), ScOutputData::mpRefDevice, nOriginalWidth, OUTDEV_PRINTER, ScOutputData::pFmtDevice, pOutput, Size::setHeight(), Size::setWidth(), and Size::Width().
Referenced by RepeatToFill(), SetText(), and SetTextToWidthOrHash().
|
private |
Definition at line 134 of file output2.cxx.
Referenced by ScDrawStringsVars(), and SetPattern().
|
private |
Definition at line 106 of file output2.cxx.
Referenced by SetPattern(), SetShrinkScale(), and SetText().
|
private |
Definition at line 107 of file output2.cxx.
Referenced by SetAutoText(), SetPattern(), SetShrinkScale(), and TextChanged().
|
private |
Definition at line 117 of file output2.cxx.
Referenced by GetString(), HasEditCharacters(), RepeatToFill(), SetAutoText(), SetShrinkScale(), SetText(), SetTextToWidthOrHash(), and TextChanged().
|
private |
Definition at line 135 of file output2.cxx.
Referenced by ScDrawStringsVars(), and SetPattern().
|
private |
Definition at line 118 of file output2.cxx.
Referenced by GetTextSize(), RepeatToFill(), SetAutoText(), SetText(), and TextChanged().
|
private |
Definition at line 132 of file output2.cxx.
Referenced by ScDrawStringsVars(), and SetPattern().
|
private |
Definition at line 127 of file output2.cxx.
Referenced by GetLineBreak(), and SetPattern().
|
private |
Definition at line 131 of file output2.cxx.
Referenced by RepeatToFill(), SetAutoText(), SetPattern(), SetShrinkScale(), SetTextToWidthOrHash(), and TextChanged().
|
private |
Definition at line 128 of file output2.cxx.
Referenced by IsRepeat(), and SetPattern().
|
private |
Definition at line 115 of file output2.cxx.
Referenced by IsRotated(), and SetPattern().
|
private |
Definition at line 129 of file output2.cxx.
Referenced by IsShrink(), SetPattern(), and SetPatternSimple().
|
private |
Definition at line 110 of file output2.cxx.
Referenced by GetHorJust(), SetPattern(), and SetPatternSimple().
|
private |
Definition at line 112 of file output2.cxx.
Referenced by GetHorJustMethod(), and SetPattern().
|
private |
Definition at line 109 of file output2.cxx.
Referenced by GetOrient(), and SetPattern().
|
private |
Definition at line 111 of file output2.cxx.
Referenced by GetVerJust(), and SetPattern().
|
private |
Definition at line 125 of file output2.cxx.
Referenced by SetAutoText(), SetPattern(), SetPatternSimple(), SetText(), and SetTextToWidthOrHash().
|
private |
Definition at line 108 of file output2.cxx.
Referenced by GetAscent(), SetPattern(), and SetShrinkScale().
|
private |
Definition at line 122 of file output2.cxx.
Referenced by GetDotWidth(), SetPattern(), and SetPatternSimple().
|
private |
Definition at line 123 of file output2.cxx.
Referenced by GetExpWidth(), SetPattern(), and SetPatternSimple().
|
private |
Definition at line 114 of file output2.cxx.
Referenced by GetLeftTotal(), GetRightTotal(), SetPattern(), and SetPatternSimple().
|
private |
Definition at line 120 of file output2.cxx.
Referenced by GetMaxDigitWidth(), SetPattern(), and SetPatternSimple().
|
private |
Definition at line 119 of file output2.cxx.
Referenced by GetOriginalWidth(), SetAutoText(), SetText(), and TextChanged().
|
private |
Definition at line 137 of file output2.cxx.
Referenced by RepeatToFill(), and SetText().
|
private |
Definition at line 136 of file output2.cxx.
Referenced by HasEditCharacters(), RepeatToFill(), and SetText().
|
private |
Definition at line 121 of file output2.cxx.
Referenced by GetSignWidth(), SetPattern(), and SetPatternSimple().
|
private |
Definition at line 126 of file output2.cxx.
Referenced by GetResultValueFormat(), SetPattern(), SetPatternSimple(), and SetText().
|
private |
Definition at line 104 of file output2.cxx.
Referenced by HasCondHeight(), SetPattern(), SetPatternSimple(), and SetShrinkScale().
|
private |
Definition at line 113 of file output2.cxx.
Referenced by GetLeftTotal(), GetMargin(), GetRightTotal(), SetPattern(), and SetPatternSimple().
|
private |
Definition at line 101 of file output2.cxx.
Referenced by GetDotWidth(), GetExpWidth(), GetFmtTextWidth(), GetLayoutGlyphs(), GetMaxDigitWidth(), GetSignWidth(), RepeatToFill(), ScDrawStringsVars(), SetAutoText(), SetPattern(), SetPatternSimple(), SetShrinkScale(), SetText(), SetTextToWidthOrHash(), and TextChanged().
|
private |
Definition at line 103 of file output2.cxx.
Referenced by SetPattern(), SetPatternSimple(), and SetShrinkScale().