System\Windows\Documents\XamlToRtfWriter.cs (41)
451dn.ListLabel = Converters.MarkerCountToString(dnList.FormatState.Marker, nCount);
1331_rtfBuilder.Append(Converters.MarkerStyleToOldRTFString(dnList.FormatState.Marker));
2109Converters.PxToHalfPointRounded((imageNaturalSize.Height * scaleFactor.Height) -
2115_rtfBuilder.Append(Converters.PxToTwipRounded(imageNaturalSize.Width * scaleFactor.Width).ToString(CultureInfo.InvariantCulture));
2119_rtfBuilder.Append(Converters.PxToTwipRounded(imageNaturalSize.Height * scaleFactor.Height).ToString(CultureInfo.InvariantCulture));
2221Converters.ByteToHex(imageByte, out imageHexBytes[i * 2], out imageHexBytes[i * 2 + 1]);
2740bool ret = Converters.HexStringToInt(name.AsSpan(3, name.Length - 4), ref i);
2754bool ret = Converters.StringToInt(num, ref i);
3019if (Converters.StringToInt(valueString, ref nRowSpan))
3033if (Converters.StringToInt(valueString, ref nColSpan))
3047if (Converters.StringToDouble(valueString, ref d))
3051formatState.RowFormat.Trgaph = Converters.PxToTwipRounded(d);
3072if (Converters.StringToDouble(valueString, ref d))
3082cf.Width.Value = Converters.PxToTwipRounded(d);
3089Converters.StringToDouble(valueString, ref d);
3098Converters.StringToDouble(valueString, ref d);
3107Converters.StringToDouble(valueString, ref d);
3185formatState.LI = Converters.PxToTwipRounded(thickness.Left);
3186formatState.RI = Converters.PxToTwipRounded(thickness.Right);
3187formatState.SB = Converters.PxToTwipRounded(thickness.Top);
3188formatState.SA = Converters.PxToTwipRounded(thickness.Bottom);
3201formatState.ParaBorder.Spacing = Converters.PxToTwipRounded(t.Left);
3207cf.PaddingLeft = Converters.PxToTwipRounded(t.Left);
3208cf.PaddingRight = Converters.PxToTwipRounded(t.Right);
3209cf.PaddingTop = Converters.PxToTwipRounded(t.Top);
3210cf.PaddingBottom = Converters.PxToTwipRounded(t.Bottom);
3225pf.BorderLeft.Width = Converters.PxToTwipRounded(t.Left);
3227pf.BorderRight.Width = Converters.PxToTwipRounded(t.Right);
3229pf.BorderTop.Width = Converters.PxToTwipRounded(t.Top);
3231pf.BorderBottom.Width = Converters.PxToTwipRounded(t.Bottom);
3238cf.BorderLeft.Width = Converters.PxToTwipRounded(t.Left);
3240cf.BorderRight.Width = Converters.PxToTwipRounded(t.Right);
3242cf.BorderTop.Width = Converters.PxToTwipRounded(t.Top);
3244cf.BorderBottom.Width = Converters.PxToTwipRounded(t.Bottom);
3274formatState.FI = Converters.PxToTwipRounded(ti);
3283formatState.SL = Converters.PxToTwipRounded(sl);
3566bool ret = Converters.StringToDouble(s, ref d);
3573d = Converters.PxToPt(d);
3587return Converters.StringToDouble(s, ref d);
3592return Converters.StringToDouble(s, ref d);
3828if (!Converters.StringToDouble(onenum, ref d))