X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Drawing%2FSystem.Drawing%2FStringFormat.jvm.cs;h=3d9ec7944ff6acc5f58f42ac59303b42cc0a84e0;hb=fe8bdbcef723fc8c92afcc822aa4c12e34c21c0b;hp=b63870a1bcb70dd85f5d4eb51783860b67069c8b;hpb=4eb352bcb3ef7a71dc9ab62c5cd2d5e7598619f7;p=mono.git diff --git a/mcs/class/System.Drawing/System.Drawing/StringFormat.jvm.cs b/mcs/class/System.Drawing/System.Drawing/StringFormat.jvm.cs index b63870a1bcb..3d9ec7944ff 100644 --- a/mcs/class/System.Drawing/System.Drawing/StringFormat.jvm.cs +++ b/mcs/class/System.Drawing/System.Drawing/StringFormat.jvm.cs @@ -50,6 +50,8 @@ namespace System.Drawing { private float _firstTabOffset; private float [] _tabStops; + + private bool _genericTypeographic = false; #region Constructors @@ -178,6 +180,7 @@ namespace System.Drawing { StringFormatFlags.NoClip, 0 ); genericTypographic.Trimming = StringTrimming.None; + genericTypographic._genericTypeographic = true; return genericTypographic; } } @@ -185,40 +188,40 @@ namespace System.Drawing { #endregion #region internal accessors - internal bool NoWrap { - get { - return (FormatFlags & StringFormatFlags.NoWrap) != 0; - } - } - - internal bool IsVertical { - get { - return (FormatFlags & StringFormatFlags.DirectionVertical) != 0; - } - } - - internal bool MeasureTrailingSpaces { - get { - return (FormatFlags & StringFormatFlags.MeasureTrailingSpaces) != 0; - } - } - - internal bool LineLimit { - get { - return (FormatFlags & StringFormatFlags.LineLimit) != 0; - } - } - - internal bool NoClip { - get { - return (FormatFlags & StringFormatFlags.NoClip) != 0; - } + internal bool NoWrap { + get { + return (FormatFlags & StringFormatFlags.NoWrap) != 0; + } + } + + internal bool IsVertical { + get { + return (FormatFlags & StringFormatFlags.DirectionVertical) != 0; + } } - internal bool IsRightToLeft { - get { - return (FormatFlags & StringFormatFlags.DirectionRightToLeft) != 0; - } + internal bool MeasureTrailingSpaces { + get { + return (FormatFlags & StringFormatFlags.MeasureTrailingSpaces) != 0; + } + } + + internal bool LineLimit { + get { + return (FormatFlags & StringFormatFlags.LineLimit) != 0; + } + } + + internal bool NoClip { + get { + return (FormatFlags & StringFormatFlags.NoClip) != 0; + } + } + + internal bool IsRightToLeft { + get { + return (FormatFlags & StringFormatFlags.DirectionRightToLeft) != 0; + } } internal CharacterRange [] CharRanges { @@ -226,6 +229,13 @@ namespace System.Drawing { return _charRanges; } } + + internal bool IsGenericTypographic + { + get { + return _genericTypeographic; + } + } #endregion #region public methods @@ -250,13 +260,13 @@ namespace System.Drawing { public void SetTabStops(float firstTabOffset, float[] tabStops) { // _firstTabOffset = firstTabOffset; // _tabStops = tabStops != null ? (float[])tabStops.Clone() : null; - throw new NotSupportedException(); + throw new NotImplementedException(); } public void SetDigitSubstitution(int language, StringDigitSubstitute substitute) { // _digitSubstituteMethod = substitute; // _digitSubstituteLanguage = language; - throw new NotSupportedException(); + throw new NotImplementedException(); } [MonoTODO]