Lines Matching refs:rFormat
350 void SmNode::Prepare(const SmFormat &rFormat, const SmDocShell &rDocShell) in Prepare() argument
361 switch (rFormat.GetHorAlign()) in Prepare()
367 GetFont() = rFormat.GetFont(FNT_MATH); in Prepare()
378 pNode->Prepare(rFormat, rDocShell); in Prepare()
414 void SmNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
420 pNode->Arrange(rDev, rFormat); in Arrange()
742 void SmTableNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
751 long nDist = +(rFormat.GetDistance(DIS_VERTICAL) in Arrange()
763 { pNode->Arrange(rDev, rFormat); in Arrange()
793 SmRect aRect = (SmRect(aTmpDev, &rFormat, C2S("a"), in Arrange()
819 void SmLineNode::Prepare(const SmFormat &rFormat, const SmDocShell &rDocShell) in Prepare() argument
821 SmNode::Prepare(rFormat, rDocShell); in Prepare()
825 GetFont() = rFormat.GetFont(FNT_VARIABLE); in Prepare()
833 void SmLineNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
841 pNode->Arrange(rDev, rFormat); in Arrange()
854 SmRect::operator = (SmRect(aTmpDev, &rFormat, C2S("a"), in Arrange()
863 long nDist = (rFormat.GetDistance(DIS_HORIZONTAL) * GetFont().GetSize().Height()) / 100L; in Arrange()
889 void SmExpressionNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
892 SmLineNode::Arrange(rDev, rFormat); in Arrange()
904 void SmUnHorNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
913 pOper->SetSize(Fraction (rFormat.GetRelSize(SIZ_OPERATOR), 100)); in Arrange()
914 pOper->Arrange(rDev, rFormat); in Arrange()
915 pBody->Arrange(rDev, rFormat); in Arrange()
977 void SmRootNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
989 pBody->Arrange(rDev, rFormat); in Arrange()
994 nHeight += rFormat.GetDistance(DIS_ROOT) in Arrange()
1001 pRootSym->Arrange(rDev, rFormat); in Arrange()
1010 { pExtra->SetSize(Fraction(rFormat.GetRelSize(SIZ_INDEX), 100)); in Arrange()
1011 pExtra->Arrange(rDev, rFormat); in Arrange()
1041 void SmBinHorNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
1050 pOper->SetSize(Fraction (rFormat.GetRelSize(SIZ_OPERATOR), 100)); in Arrange()
1052 pLeft ->Arrange(rDev, rFormat); in Arrange()
1053 pOper ->Arrange(rDev, rFormat); in Arrange()
1054 pRight->Arrange(rDev, rFormat); in Arrange()
1059 rFormat.GetDistance(DIS_HORIZONTAL)) / 100L; in Arrange()
1080 void SmBinVerNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
1089 sal_Bool bIsTextmode = rFormat.IsTextmode(); in Arrange()
1092 Fraction aFraction(rFormat.GetRelSize(SIZ_INDEX), 100); in Arrange()
1098 pNum ->Arrange(rDev, rFormat); in Arrange()
1099 pDenom->Arrange(rDev, rFormat); in Arrange()
1102 nExtLen = nFontHeight * rFormat.GetDistance(DIS_FRACTION) / 100L, in Arrange()
1103 nThick = nFontHeight * rFormat.GetDistance(DIS_STROKEWIDTH) / 100L, in Arrange()
1106 nFontHeight * rFormat.GetDistance(DIS_NUMERATOR) / 100L, in Arrange()
1108 nFontHeight * rFormat.GetDistance(DIS_DENOMINATOR) / 100L; in Arrange()
1113 pLine->Arrange(rDev, rFormat); in Arrange()
1360 void SmBinDiagonalNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
1380 pLeft->Arrange(aTmpDev, rFormat); in Arrange()
1381 pRight->Arrange(aTmpDev, rFormat); in Arrange()
1384 pOper->Arrange(aTmpDev, rFormat); in Arrange()
1416 pOper->Arrange(aTmpDev, rFormat); in Arrange()
1427 void SmSubSupNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
1437 pBody->Arrange(rDev, rFormat); in Arrange()
1458 if (rFormat.IsTextmode() && (GetToken().nGroup & TGLIMIT)) in Arrange()
1468 if (GetFont().GetSize().Height() > rFormat.GetBaseSize().Height() / 3) in Arrange()
1472 Fraction aFraction ( rFormat.GetRelSize(nIndex), 100 ); in Arrange()
1476 pSubSup->Arrange(rDev, rFormat); in Arrange()
1478 sal_Bool bIsTextmode = rFormat.IsTextmode(); in Arrange()
1487 * rFormat.GetDistance(DIS_SUBSCRIPT) / 100L; in Arrange()
1500 * rFormat.GetDistance(DIS_SUPERSCRIPT) / 100L; in Arrange()
1512 * rFormat.GetDistance(DIS_LOWERLIMIT) / 100L; in Arrange()
1520 * rFormat.GetDistance(DIS_UPPERLIMIT) / 100L; in Arrange()
1633 void SmBraceNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
1642 pBody->Arrange(rDev, rFormat); in Arrange()
1644 sal_Bool bIsScaleNormal = rFormat.IsScaleNormalBrackets(), in Arrange()
1657 nPerc = rFormat.GetDistance(nIndex); in Arrange()
1673 nPerc = bIsABS ? 0 : rFormat.GetDistance(DIS_BRACKETSPACE); in Arrange()
1683 rFormat.GetBaseSize().Height() * 3L / 2L); in Arrange()
1701 pLeft ->Arrange(rDev, rFormat); in Arrange()
1702 pRight->Arrange(rDev, rFormat); in Arrange()
1724 void SmBracebodyNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
1733 GetSubNode(i)->Arrange(rDev, rFormat); in Arrange()
1748 sal_Bool bScale = GetScaleMode() == SCALE_HEIGHT || rFormat.IsScaleNormalBrackets(); in Arrange()
1752 sal_uInt16 nPerc = rFormat.GetDistance(nIndex); in Arrange()
1759 pNode->Arrange(rDev, rFormat); in Arrange()
1764 * rFormat.GetDistance(DIS_BRACKETSPACE) / 100L; in Arrange()
1789 void SmVerticalBraceNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
1801 pBody->Arrange(aTmpDev, rFormat); in Arrange()
1804 pScript->SetSize( Fraction( rFormat.GetRelSize(SIZ_LIMITS), 100 ) ); in Arrange()
1812 pBrace ->Arrange(aTmpDev, rFormat); in Arrange()
1813 pScript->Arrange(aTmpDev, rFormat); in Arrange()
1818 long nDistBody = nFontHeight * rFormat.GetDistance(DIS_ORNAMENTSIZE), in Arrange()
1824 nDistScript *= - rFormat.GetDistance(DIS_UPPERLIMIT); in Arrange()
1829 nDistScript *= + rFormat.GetDistance(DIS_LOWERLIMIT); in Arrange()
1864 const SmFormat &rFormat) const in CalcSymbolHeight()
1873 if (!rFormat.IsTextmode()) in CalcSymbolHeight()
1879 * rFormat.GetDistance(DIS_OPERATORSIZE) / 100L; in CalcSymbolHeight()
1891 void SmOperNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
1900 pSymbol->SetSize(Fraction(CalcSymbolHeight(*pSymbol, rFormat), in Arrange()
1903 pBody->Arrange(rDev, rFormat); in Arrange()
1904 pOper->Arrange(rDev, rFormat); in Arrange()
1908 * rFormat.GetDistance(DIS_OPERATORSPACE) / 100L; in Arrange()
1922 void SmAlignNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
1940 pNode->Arrange(rDev, rFormat); in Arrange()
1949 void SmAttributNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
1956 pBody->Arrange(rDev, rFormat); in Arrange()
1960 pAttr->Arrange(rDev, rFormat); in Arrange()
1976 * rFormat.GetDistance(DIS_ORNAMENTSPACE) / 100L; in Arrange()
2109 void SmFontNode::Prepare(const SmFormat &rFormat, const SmDocShell &rDocShell) in Prepare() argument
2112 SmNode::Prepare(rFormat, rDocShell); in Prepare()
2124 { GetFont() = rFormat.GetFont( sal::static_int_cast< sal_uInt16 >(nFnt) ); in Prepare()
2134 void SmFontNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
2179 pNode->Arrange(rDev, rFormat); in Arrange()
2216 void SmPolyLineNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
2250 * rFormat.GetDistance(DIS_STROKEWIDTH) / 100L; in Arrange()
2444 void SmTextNode::Prepare(const SmFormat &rFormat, const SmDocShell &rDocShell) in Prepare() argument
2446 SmNode::Prepare(rFormat, rDocShell); in Prepare()
2455 GetFont() = rFormat.GetFont(GetFontDesc()); in Prepare()
2470 void SmTextNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
2476 GetFont() *= Fraction (rFormat.GetRelSize(nSizeDesc), 100); in Arrange()
2481 SmRect::operator = (SmRect(aTmpDev, &rFormat, aText, GetFont().GetBorderWidth())); in Arrange()
2592 void SmMatrixNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
2612 pNode->Arrange(rDev, rFormat); in Arrange()
2623 long nHorDist = nNormDist * rFormat.GetDistance(DIS_MATRIXCOL) / 100L, in Arrange()
2624 nVerDist = nNormDist * rFormat.GetDistance(DIS_MATRIXROW) / 100L; in Arrange()
2777 void SmMathSymbolNode::Prepare(const SmFormat &rFormat, const SmDocShell &rDocShell) in Prepare() argument
2779 SmNode::Prepare(rFormat, rDocShell); in Prepare()
2781 GetFont() = rFormat.GetFont(GetFontDesc()); in Prepare()
2783 GetFont().SetSize( rFormat.GetFont( FNT_VARIABLE ).GetSize() ); in Prepare()
2793 void SmMathSymbolNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
2804 GetFont() *= Fraction (rFormat.GetRelSize(SIZ_TEXT), 100); in Arrange()
2809 SmRect::operator = (SmRect(aTmpDev, &rFormat, rText, GetFont().GetBorderWidth())); in Arrange()
2952 void SmSpecialNode::Prepare(const SmFormat &rFormat, const SmDocShell &rDocShell) in Prepare() argument
2954 SmNode::Prepare(rFormat, rDocShell); in Prepare()
2970 GetFont() = rFormat.GetFont(FNT_VARIABLE); in Prepare()
2973 GetFont().SetSize( rFormat.GetFont( FNT_VARIABLE ).GetSize() ); in Prepare()
2993 sal_Int16 nStyle = rFormat.GetGreekCharStyle(); in Prepare()
3018 void SmSpecialNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
3025 SmRect::operator = (SmRect(aTmpDev, &rFormat, GetText(), GetFont().GetBorderWidth())); in Arrange()
3042 void SmGlyphSpecialNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
3049 SmRect::operator = (SmRect(aTmpDev, &rFormat, GetText(), in Arrange()
3057 void SmPlaceNode::Prepare(const SmFormat &rFormat, const SmDocShell &rDocShell) in Prepare() argument
3059 SmNode::Prepare(rFormat, rDocShell); in Prepare()
3066 void SmPlaceNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
3073 SmRect::operator = (SmRect(aTmpDev, &rFormat, GetText(), GetFont().GetBorderWidth())); in Arrange()
3080 void SmErrorNode::Prepare(const SmFormat &rFormat, const SmDocShell &rDocShell) in Prepare() argument
3082 SmNode::Prepare(rFormat, rDocShell); in Prepare()
3090 void SmErrorNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
3098 SmRect::operator = (SmRect(aTmpDev, &rFormat, rText, GetFont().GetBorderWidth())); in Arrange()
3117 void SmBlankNode::Prepare(const SmFormat &rFormat, const SmDocShell &rDocShell) in Prepare() argument
3119 SmNode::Prepare(rFormat, rDocShell); in Prepare()
3124 GetFont() = rFormat.GetFont(FNT_VARIABLE); in Prepare()
3130 void SmBlankNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
3141 SmRect::operator = (SmRect(aTmpDev, &rFormat, XubString(xub_Unicode(' ')), in Arrange()