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 98 of file output2.cxx.
ScDrawStringsVars::ScDrawStringsVars | ( | ScOutputData * | pData, |
bool | bPTL | ||
) |
Definition at line 203 of file output2.cxx.
References aBackConfigColor, aTextConfigColor, Auto, bCellContrast, Bottom, svtools::DOCCOLOR, false, svtools::FONTCOLOR, ScModule::GetColorConfig(), svtools::ColorConfig::GetColorValue(), StyleSettings::GetHighContrastMode(), Application::GetSettings(), AllSettings::GetStyleSettings(), ScOutputData::mbUseStyleColor, svtools::ColorConfigValue::nColor, pOutput, SC_MOD, and Standard.
|
inline |
Definition at line 178 of file output2.cxx.
Referenced by ScOutputData::LayoutStrings().
|
private |
Definition at line 760 of file output2.cxx.
References ScGlobal::getLocaleData(), LocaleDataWrapper::getLocaleItem(), OutputDevice::GetTextWidth(), nDotWidth, ScOutputData::pFmtDevice, and pOutput.
Referenced by SetTextToWidthOrHash().
|
private |
Definition at line 770 of file output2.cxx.
References OutputDevice::GetTextWidth(), nExpWidth, ScOutputData::pFmtDevice, and pOutput.
Referenced by SetTextToWidthOrHash().
tools::Long ScDrawStringsVars::GetFmtTextWidth | ( | const OUString & | rString | ) |
Definition at line 779 of file output2.cxx.
References GetLayoutGlyphs(), OutputDevice::GetTextWidth(), ScOutputData::pFmtDevice, and pOutput.
Referenced by ScOutputData::LayoutStrings(), RepeatToFill(), SetAutoText(), SetTextToWidthOrHash(), and TextChanged().
|
inline |
Definition at line 156 of file output2.cxx.
Referenced by ScOutputData::LayoutStrings().
|
inline |
Definition at line 158 of file output2.cxx.
Referenced by ScOutputData::LayoutStrings().
|
inline |
Definition at line 190 of file output2.cxx.
References SalLayoutGlyphsCache::GetLayoutGlyphs(), ScOutputData::pFmtDevice, and SalLayoutGlyphsCache::self().
Referenced by GetFmtTextWidth(), and ScOutputData::LayoutStrings().
|
inline |
Definition at line 161 of file output2.cxx.
References SvxMarginItem::GetLeftMargin().
Referenced by ScOutputData::LayoutStrings().
|
inline |
Definition at line 173 of file output2.cxx.
Referenced by ScOutputData::LayoutStrings().
|
inline |
Definition at line 159 of file output2.cxx.
Referenced by ScOutputData::LayoutStrings().
|
private |
Definition at line 736 of file output2.cxx.
References OutputDevice::GetTextWidth(), i, n, nMaxDigitWidth, ScOutputData::pFmtDevice, and pOutput.
Referenced by SetTextToWidthOrHash().
|
inline |
Definition at line 155 of file output2.cxx.
Referenced by ScOutputData::LayoutStrings(), SetAutoText(), and TextChanged().
|
inline |
Definition at line 166 of file output2.cxx.
Referenced by ScOutputData::LayoutStrings().
|
inline |
Definition at line 171 of file output2.cxx.
Referenced by ScOutputData::LayoutStrings(), and SetTextToWidthOrHash().
|
inline |
Definition at line 162 of file output2.cxx.
References SvxMarginItem::GetRightMargin().
Referenced by ScOutputData::LayoutStrings().
|
private |
Definition at line 751 of file output2.cxx.
References OutputDevice::GetTextWidth(), nSignWidth, ScOutputData::pFmtDevice, and pOutput.
Referenced by SetTextToWidthOrHash().
|
inline |
Definition at line 164 of file output2.cxx.
Referenced by ScOutputData::LayoutStrings().
|
inline |
Definition at line 165 of file output2.cxx.
Referenced by ScOutputData::LayoutStrings().
|
inline |
Definition at line 157 of file output2.cxx.
Referenced by ScOutputData::LayoutStrings().
|
inline |
Definition at line 183 of file output2.cxx.
References ATTR_FONT_HEIGHT(), and SfxItemSet::GetItemState().
Referenced by ScOutputData::LayoutStrings().
bool ScDrawStringsVars::HasEditCharacters | ( | ) | const |
|
inline |
Definition at line 174 of file output2.cxx.
Referenced by ScOutputData::LayoutStrings().
|
inline |
Definition at line 179 of file output2.cxx.
Referenced by ScOutputData::LayoutStrings().
|
inline |
Definition at line 175 of file output2.cxx.
Referenced by ScOutputData::LayoutStrings().
void ScDrawStringsVars::RepeatToFill | ( | tools::Long | nColWidth | ) |
Definition at line 572 of file output2.cxx.
References aString, aTextSize, bPixelToLogic, GetFmtTextWidth(), ScOutputData::mpRefDevice, nRepeatChar, nRepeatPos, comphelper::string::padToLength(), OutputDevice::PixelToLogic(), pOutput, TextChanged(), and Size::Width().
Referenced by ScOutputData::LayoutStrings().
void ScDrawStringsVars::SetAutoText | ( | const OUString & | rAutoText | ) |
Definition at line 706 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 567 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 302 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(), eAttrHorJust, eAttrHorJustMethod, eAttrOrient, eAttrVerJust, FontMetric::GetAscent(), ScPatternAttr::GetCellOrientation(), Application::GetDefaultDevice(), ScPatternAttr::GetFont(), OutputDevice::GetFontMetric(), ScDocument::GetFormatTable(), FontMetric::GetInternalLeading(), ScPatternAttr::GetItem(), OutputDevice::GetMapMode(), OutputDevice::GetOutDevType(), 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, SC_AUTOCOL_DISPLAY, SC_AUTOCOL_IGNOREALL, SC_AUTOCOL_IGNOREBACK, SC_AUTOCOL_IGNOREFONT, SC_AUTOCOL_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 458 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 237 of file output2.cxx.
References aFont, aMetric, aString, ScOutputData::aZoomY, bPixelToLogic, FontMetric::GetAscent(), Application::GetDefaultDevice(), ScPatternAttr::GetFont(), 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, SC_AUTOCOL_RAW, SetAutoText(), OutputDevice::SetFont(), vcl::Font::SetFontHeight(), and OutputDevice::SetMapMode().
Referenced by ScOutputData::LayoutStrings().
bool ScDrawStringsVars::SetText | ( | const ScRefCellValue & | rCell | ) |
Definition at line 498 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().
void ScDrawStringsVars::SetTextToWidthOrHash | ( | ScRefCellValue & | rCell, |
tools::Long | nWidth | ||
) |
Definition at line 601 of file output2.cxx.
References aString, bPixelToLogic, CELLTYPE_FORMULA, CELLTYPE_VALUE, ScRefCellValue::clear(), eType, GetDotWidth(), SvNumberFormatter::GetEntry(), ScFormulaCell::GetErrCode(), GetExpWidth(), GetFmtTextWidth(), ScDocument::GetFormatTable(), ScGlobal::getLocaleData(), LocaleDataWrapper::getLocaleItem(), GetMaxDigitWidth(), SvNumberformat::GetOutputString(), GetResultValueFormat(), GetSignWidth(), ScRefCellValue::getValue(), i, ScFormulaCell::IsValue(), maLastCell, ScOutputData::mbShowFormulas, ScRefCellValue::meType, ScOutputData::mpDoc, ScRefCellValue::mpFormula, ScOutputData::mpRefDevice, OutputDevice::PixelToLogic(), pOutput, SetHashText(), SV_COUNTRY_LANGUAGE_OFFSET, and TextChanged().
Referenced by ScOutputData::LayoutStrings().
|
private |
Definition at line 784 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 133 of file output2.cxx.
Referenced by ScDrawStringsVars(), and SetPattern().
|
private |
Definition at line 105 of file output2.cxx.
Referenced by SetPattern(), SetShrinkScale(), and SetText().
|
private |
Definition at line 106 of file output2.cxx.
Referenced by SetAutoText(), SetPattern(), SetShrinkScale(), and TextChanged().
|
private |
Definition at line 116 of file output2.cxx.
Referenced by HasEditCharacters(), RepeatToFill(), SetAutoText(), SetShrinkScale(), SetText(), SetTextToWidthOrHash(), and TextChanged().
|
private |
Definition at line 134 of file output2.cxx.
Referenced by ScDrawStringsVars(), and SetPattern().
|
private |
Definition at line 117 of file output2.cxx.
Referenced by RepeatToFill(), SetAutoText(), SetText(), and TextChanged().
|
private |
Definition at line 131 of file output2.cxx.
Referenced by ScDrawStringsVars(), and SetPattern().
|
private |
Definition at line 126 of file output2.cxx.
Referenced by SetPattern().
|
private |
Definition at line 130 of file output2.cxx.
Referenced by RepeatToFill(), SetAutoText(), SetPattern(), SetShrinkScale(), SetTextToWidthOrHash(), and TextChanged().
|
private |
Definition at line 127 of file output2.cxx.
Referenced by SetPattern().
|
private |
Definition at line 114 of file output2.cxx.
Referenced by SetPattern().
|
private |
Definition at line 128 of file output2.cxx.
Referenced by SetPattern(), and SetPatternSimple().
|
private |
Definition at line 109 of file output2.cxx.
Referenced by SetPattern(), and SetPatternSimple().
|
private |
Definition at line 111 of file output2.cxx.
Referenced by SetPattern().
|
private |
Definition at line 108 of file output2.cxx.
Referenced by SetPattern().
|
private |
Definition at line 110 of file output2.cxx.
Referenced by SetPattern().
|
private |
Definition at line 124 of file output2.cxx.
Referenced by SetAutoText(), SetPattern(), SetPatternSimple(), SetText(), and SetTextToWidthOrHash().
|
private |
Definition at line 107 of file output2.cxx.
Referenced by SetPattern(), and SetShrinkScale().
|
private |
Definition at line 121 of file output2.cxx.
Referenced by GetDotWidth(), SetPattern(), and SetPatternSimple().
|
private |
Definition at line 122 of file output2.cxx.
Referenced by GetExpWidth(), SetPattern(), and SetPatternSimple().
|
private |
Definition at line 113 of file output2.cxx.
Referenced by SetPattern(), and SetPatternSimple().
|
private |
Definition at line 119 of file output2.cxx.
Referenced by GetMaxDigitWidth(), SetPattern(), and SetPatternSimple().
|
private |
Definition at line 118 of file output2.cxx.
Referenced by SetAutoText(), SetText(), and TextChanged().
|
private |
Definition at line 136 of file output2.cxx.
Referenced by RepeatToFill(), and SetText().
|
private |
Definition at line 135 of file output2.cxx.
Referenced by RepeatToFill(), and SetText().
|
private |
Definition at line 120 of file output2.cxx.
Referenced by GetSignWidth(), SetPattern(), and SetPatternSimple().
|
private |
Definition at line 125 of file output2.cxx.
Referenced by SetPattern(), SetPatternSimple(), and SetText().
|
private |
Definition at line 103 of file output2.cxx.
Referenced by SetPattern(), SetPatternSimple(), and SetShrinkScale().
|
private |
Definition at line 112 of file output2.cxx.
Referenced by SetPattern(), and SetPatternSimple().
|
private |
Definition at line 100 of file output2.cxx.
Referenced by GetDotWidth(), GetExpWidth(), GetFmtTextWidth(), GetMaxDigitWidth(), GetSignWidth(), RepeatToFill(), ScDrawStringsVars(), SetAutoText(), SetPattern(), SetPatternSimple(), SetShrinkScale(), SetText(), SetTextToWidthOrHash(), and TextChanged().
|
private |
Definition at line 102 of file output2.cxx.
Referenced by SetPattern(), SetPatternSimple(), and SetShrinkScale().