System\Windows\Documents\XamlToRtfWriter.cs (41)
452dn.ListLabel = Converters.MarkerCountToString(dnList.FormatState.Marker, nCount);
1332_rtfBuilder.Append(Converters.MarkerStyleToOldRTFString(dnList.FormatState.Marker));
2110Converters.PxToHalfPointRounded((imageNaturalSize.Height * scaleFactor.Height) -
2116_rtfBuilder.Append(Converters.PxToTwipRounded(imageNaturalSize.Width * scaleFactor.Width).ToString(CultureInfo.InvariantCulture));
2120_rtfBuilder.Append(Converters.PxToTwipRounded(imageNaturalSize.Height * scaleFactor.Height).ToString(CultureInfo.InvariantCulture));
2222Converters.ByteToHex(imageByte, out imageHexBytes[i * 2], out imageHexBytes[i * 2 + 1]);
2741bool ret = Converters.HexStringToInt(name.AsSpan(3, name.Length - 4), ref i);
2755bool ret = Converters.StringToInt(num, ref i);
3020if (Converters.StringToInt(valueString, ref nRowSpan))
3034if (Converters.StringToInt(valueString, ref nColSpan))
3048if (Converters.StringToDouble(valueString, ref d))
3052formatState.RowFormat.Trgaph = Converters.PxToTwipRounded(d);
3073if (Converters.StringToDouble(valueString, ref d))
3083cf.Width.Value = Converters.PxToTwipRounded(d);
3090Converters.StringToDouble(valueString, ref d);
3099Converters.StringToDouble(valueString, ref d);
3108Converters.StringToDouble(valueString, ref d);
3186formatState.LI = Converters.PxToTwipRounded(thickness.Left);
3187formatState.RI = Converters.PxToTwipRounded(thickness.Right);
3188formatState.SB = Converters.PxToTwipRounded(thickness.Top);
3189formatState.SA = Converters.PxToTwipRounded(thickness.Bottom);
3202formatState.ParaBorder.Spacing = Converters.PxToTwipRounded(t.Left);
3208cf.PaddingLeft = Converters.PxToTwipRounded(t.Left);
3209cf.PaddingRight = Converters.PxToTwipRounded(t.Right);
3210cf.PaddingTop = Converters.PxToTwipRounded(t.Top);
3211cf.PaddingBottom = Converters.PxToTwipRounded(t.Bottom);
3226pf.BorderLeft.Width = Converters.PxToTwipRounded(t.Left);
3228pf.BorderRight.Width = Converters.PxToTwipRounded(t.Right);
3230pf.BorderTop.Width = Converters.PxToTwipRounded(t.Top);
3232pf.BorderBottom.Width = Converters.PxToTwipRounded(t.Bottom);
3239cf.BorderLeft.Width = Converters.PxToTwipRounded(t.Left);
3241cf.BorderRight.Width = Converters.PxToTwipRounded(t.Right);
3243cf.BorderTop.Width = Converters.PxToTwipRounded(t.Top);
3245cf.BorderBottom.Width = Converters.PxToTwipRounded(t.Bottom);
3275formatState.FI = Converters.PxToTwipRounded(ti);
3284formatState.SL = Converters.PxToTwipRounded(sl);
3567bool ret = Converters.StringToDouble(s, ref d);
3574d = Converters.PxToPt(d);
3588return Converters.StringToDouble(s, ref d);
3593return Converters.StringToDouble(s, ref d);
3829if (!Converters.StringToDouble(onenum, ref d))