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()
2079 void SmFontNode::Prepare(const SmFormat &rFormat, const SmDocShell &rDocShell) in Prepare() argument
2082 SmNode::Prepare(rFormat, rDocShell); in Prepare()
2094 { GetFont() = rFormat.GetFont( sal::static_int_cast< sal_uInt16 >(nFnt) ); in Prepare()
2104 void SmFontNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
2139 pNode->Arrange(rDev, rFormat); in Arrange()
2176 void SmPolyLineNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
2210 * rFormat.GetDistance(DIS_STROKEWIDTH) / 100L; in Arrange()
2404 void SmTextNode::Prepare(const SmFormat &rFormat, const SmDocShell &rDocShell) in Prepare() argument
2406 SmNode::Prepare(rFormat, rDocShell); in Prepare()
2415 GetFont() = rFormat.GetFont(GetFontDesc()); in Prepare()
2430 void SmTextNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
2436 GetFont() *= Fraction (rFormat.GetRelSize(nSizeDesc), 100); in Arrange()
2441 SmRect::operator = (SmRect(aTmpDev, &rFormat, aText, GetFont().GetBorderWidth())); in Arrange()
2552 void SmMatrixNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
2572 pNode->Arrange(rDev, rFormat); in Arrange()
2583 long nHorDist = nNormDist * rFormat.GetDistance(DIS_MATRIXCOL) / 100L, in Arrange()
2584 nVerDist = nNormDist * rFormat.GetDistance(DIS_MATRIXROW) / 100L; in Arrange()
2737 void SmMathSymbolNode::Prepare(const SmFormat &rFormat, const SmDocShell &rDocShell) in Prepare() argument
2739 SmNode::Prepare(rFormat, rDocShell); in Prepare()
2741 GetFont() = rFormat.GetFont(GetFontDesc()); in Prepare()
2743 GetFont().SetSize( rFormat.GetFont( FNT_VARIABLE ).GetSize() ); in Prepare()
2753 void SmMathSymbolNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
2764 GetFont() *= Fraction (rFormat.GetRelSize(SIZ_TEXT), 100); in Arrange()
2769 SmRect::operator = (SmRect(aTmpDev, &rFormat, rText, GetFont().GetBorderWidth())); in Arrange()
2912 void SmSpecialNode::Prepare(const SmFormat &rFormat, const SmDocShell &rDocShell) in Prepare() argument
2914 SmNode::Prepare(rFormat, rDocShell); in Prepare()
2930 GetFont() = rFormat.GetFont(FNT_VARIABLE); in Prepare()
2933 GetFont().SetSize( rFormat.GetFont( FNT_VARIABLE ).GetSize() ); in Prepare()
2953 sal_Int16 nStyle = rFormat.GetGreekCharStyle(); in Prepare()
2978 void SmSpecialNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
2985 SmRect::operator = (SmRect(aTmpDev, &rFormat, GetText(), GetFont().GetBorderWidth())); in Arrange()
3002 void SmGlyphSpecialNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
3009 SmRect::operator = (SmRect(aTmpDev, &rFormat, GetText(), in Arrange()
3017 void SmPlaceNode::Prepare(const SmFormat &rFormat, const SmDocShell &rDocShell) in Prepare() argument
3019 SmNode::Prepare(rFormat, rDocShell); in Prepare()
3026 void SmPlaceNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
3033 SmRect::operator = (SmRect(aTmpDev, &rFormat, GetText(), GetFont().GetBorderWidth())); in Arrange()
3040 void SmErrorNode::Prepare(const SmFormat &rFormat, const SmDocShell &rDocShell) in Prepare() argument
3042 SmNode::Prepare(rFormat, rDocShell); in Prepare()
3050 void SmErrorNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
3058 SmRect::operator = (SmRect(aTmpDev, &rFormat, rText, GetFont().GetBorderWidth())); in Arrange()
3077 void SmBlankNode::Prepare(const SmFormat &rFormat, const SmDocShell &rDocShell) in Prepare() argument
3079 SmNode::Prepare(rFormat, rDocShell); in Prepare()
3084 GetFont() = rFormat.GetFont(FNT_VARIABLE); in Prepare()
3090 void SmBlankNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
3101 SmRect::operator = (SmRect(aTmpDev, &rFormat, XubString(xub_Unicode(' ')), in Arrange()