src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (41)
453dn.ListLabel = Converters.MarkerCountToString(dnList.FormatState.Marker, nCount);
1334_rtfBuilder.Append(Converters.MarkerStyleToOldRTFString(dnList.FormatState.Marker));
2111Converters.PxToHalfPointRounded((imageNaturalSize.Height * scaleFactor.Height) -
2117_rtfBuilder.Append(Converters.PxToTwipRounded(imageNaturalSize.Width * scaleFactor.Width).ToString(CultureInfo.InvariantCulture));
2121_rtfBuilder.Append(Converters.PxToTwipRounded(imageNaturalSize.Height * scaleFactor.Height).ToString(CultureInfo.InvariantCulture));
2223Converters.ByteToHex(imageByte, out imageHexBytes[i * 2], out imageHexBytes[i * 2 + 1]);
2743bool ret = Converters.HexStringToInt(num, ref i);
2759bool ret = Converters.StringToInt(num, ref i);
3026if (Converters.StringToInt(valueString, ref nRowSpan))
3040if (Converters.StringToInt(valueString, ref nColSpan))
3054if (Converters.StringToDouble(valueString, ref d))
3058formatState.RowFormat.Trgaph = Converters.PxToTwipRounded(d);
3079if (Converters.StringToDouble(valueString, ref d))
3089cf.Width.Value = Converters.PxToTwipRounded(d);
3096Converters.StringToDouble(valueString, ref d);
3105Converters.StringToDouble(valueString, ref d);
3114Converters.StringToDouble(valueString, ref d);
3192formatState.LI = Converters.PxToTwipRounded(thickness.Left);
3193formatState.RI = Converters.PxToTwipRounded(thickness.Right);
3194formatState.SB = Converters.PxToTwipRounded(thickness.Top);
3195formatState.SA = Converters.PxToTwipRounded(thickness.Bottom);
3208formatState.ParaBorder.Spacing = Converters.PxToTwipRounded(t.Left);
3214cf.PaddingLeft = Converters.PxToTwipRounded(t.Left);
3215cf.PaddingRight = Converters.PxToTwipRounded(t.Right);
3216cf.PaddingTop = Converters.PxToTwipRounded(t.Top);
3217cf.PaddingBottom = Converters.PxToTwipRounded(t.Bottom);
3232pf.BorderLeft.Width = Converters.PxToTwipRounded(t.Left);
3234pf.BorderRight.Width = Converters.PxToTwipRounded(t.Right);
3236pf.BorderTop.Width = Converters.PxToTwipRounded(t.Top);
3238pf.BorderBottom.Width = Converters.PxToTwipRounded(t.Bottom);
3245cf.BorderLeft.Width = Converters.PxToTwipRounded(t.Left);
3247cf.BorderRight.Width = Converters.PxToTwipRounded(t.Right);
3249cf.BorderTop.Width = Converters.PxToTwipRounded(t.Top);
3251cf.BorderBottom.Width = Converters.PxToTwipRounded(t.Bottom);
3281formatState.FI = Converters.PxToTwipRounded(ti);
3290formatState.SL = Converters.PxToTwipRounded(sl);
3573bool ret = Converters.StringToDouble(s, ref d);
3580d = Converters.PxToPt(d);
3594return Converters.StringToDouble(s, ref d);
3599return Converters.StringToDouble(s, ref d);
3836if (!Converters.StringToDouble(onenum, ref d))