WriterStyle.cs 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. //
  2. // Permission is hereby granted, free of charge, to any person obtaining
  3. // a copy of this software and associated documentation files (the
  4. // "Software"), to deal in the Software without restriction, including
  5. // without limitation the rights to use, copy, modify, merge, publish,
  6. // distribute, sublicense, and/or sell copies of the Software, and to
  7. // permit persons to whom the Software is furnished to do so, subject to
  8. // the following conditions:
  9. //
  10. // The above copyright notice and this permission notice shall be
  11. // included in all copies or substantial portions of the Software.
  12. //
  13. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  14. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  15. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  16. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  17. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  18. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  19. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  20. //
  21. /**
  22. * Project : Mono
  23. * Namespace : System.Web.UI.MobileControls.Adapters
  24. * Class : WriterStyle
  25. * Author : Gaurav Vaish
  26. *
  27. * Copyright : 2003 with Gaurav Vaish, and with
  28. * Ximian Inc
  29. */
  30. using System;
  31. using System.Collections;
  32. using System.Drawing;
  33. using System.Web.Mobile;
  34. using System.Web.UI.MobileControls;
  35. namespace System.Web.UI.MobileControls.Adapters
  36. {
  37. class WriterStyle
  38. {
  39. private bool layout;
  40. private Alignment alignment;
  41. private bool bold;
  42. private Color fontColor;
  43. private string fontName;
  44. private FontSize fontSize;
  45. private bool format;
  46. private bool italic;
  47. private Wrapping wrapping;
  48. public WriterStyle()
  49. {
  50. throw new NotImplementedException();
  51. }
  52. public WriterStyle(Style style)
  53. {
  54. throw new NotImplementedException();
  55. }
  56. public bool Layout
  57. {
  58. get
  59. {
  60. return this.layout;
  61. }
  62. set
  63. {
  64. this.layout = value;
  65. }
  66. }
  67. public Alignment Alignment
  68. {
  69. get
  70. {
  71. return alignment;
  72. }
  73. set
  74. {
  75. alignment = value;
  76. }
  77. }
  78. public bool Bold
  79. {
  80. get
  81. {
  82. return bold;
  83. }
  84. set
  85. {
  86. bold = value;
  87. }
  88. }
  89. public Color FontColor
  90. {
  91. get
  92. {
  93. return fontColor;
  94. }
  95. set
  96. {
  97. fontColor = value;
  98. }
  99. }
  100. public string FontName
  101. {
  102. get
  103. {
  104. return fontName;
  105. }
  106. set
  107. {
  108. fontName = value;
  109. }
  110. }
  111. public FontSize FontSize
  112. {
  113. get
  114. {
  115. return fontSize;
  116. }
  117. set
  118. {
  119. fontSize = value;
  120. }
  121. }
  122. public bool Format
  123. {
  124. get
  125. {
  126. return format;
  127. }
  128. set
  129. {
  130. format = value;
  131. }
  132. }
  133. public bool Italic
  134. {
  135. get
  136. {
  137. return italic;
  138. }
  139. set
  140. {
  141. italic = value;
  142. }
  143. }
  144. public Wrapping Wrapping
  145. {
  146. get
  147. {
  148. return wrapping;
  149. }
  150. set
  151. {
  152. wrapping = value;
  153. }
  154. }
  155. }
  156. }