PageRenderTime 44ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 0ms

/mozilla/mozilla/dist/include/dom/nsIDOMNSHTMLDocument.h

http://kmbrasil.codeplex.com
C++ Header | 475 lines | 319 code | 79 blank | 77 comment | 0 complexity | d32f37e2e8fef6e8b4874212283df327 MD5 | raw file
Possible License(s): MPL-2.0-no-copyleft-exception, GPL-2.0
  1. /*
  2. * DO NOT EDIT. THIS FILE IS GENERATED FROM h:/projects/mozilla/mozilla/dom/public/idl/html/nsIDOMNSHTMLDocument.idl
  3. */
  4. #ifndef __gen_nsIDOMNSHTMLDocument_h__
  5. #define __gen_nsIDOMNSHTMLDocument_h__
  6. #ifndef __gen_domstubs_h__
  7. #include "domstubs.h"
  8. #endif
  9. /* For IDL files that don't want to include root IDL files. */
  10. #ifndef NS_NO_VTABLE
  11. #define NS_NO_VTABLE
  12. #endif
  13. /* starting interface: nsIDOMNSHTMLDocument */
  14. #define NS_IDOMNSHTMLDOCUMENT_IID_STR "79beb289-3644-4b54-9432-9fb993945629"
  15. #define NS_IDOMNSHTMLDOCUMENT_IID \
  16. {0x79beb289, 0x3644, 0x4b54, \
  17. { 0x94, 0x32, 0x9f, 0xb9, 0x93, 0x94, 0x56, 0x29 }}
  18. class NS_NO_VTABLE nsIDOMNSHTMLDocument : public nsISupports {
  19. public:
  20. NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMNSHTMLDOCUMENT_IID)
  21. /* readonly attribute long width; */
  22. NS_IMETHOD GetWidth(PRInt32 *aWidth) = 0;
  23. /* readonly attribute long height; */
  24. NS_IMETHOD GetHeight(PRInt32 *aHeight) = 0;
  25. /* attribute DOMString alinkColor; */
  26. NS_IMETHOD GetAlinkColor(nsAString & aAlinkColor) = 0;
  27. NS_IMETHOD SetAlinkColor(const nsAString & aAlinkColor) = 0;
  28. /* attribute DOMString linkColor; */
  29. NS_IMETHOD GetLinkColor(nsAString & aLinkColor) = 0;
  30. NS_IMETHOD SetLinkColor(const nsAString & aLinkColor) = 0;
  31. /* attribute DOMString vlinkColor; */
  32. NS_IMETHOD GetVlinkColor(nsAString & aVlinkColor) = 0;
  33. NS_IMETHOD SetVlinkColor(const nsAString & aVlinkColor) = 0;
  34. /* attribute DOMString bgColor; */
  35. NS_IMETHOD GetBgColor(nsAString & aBgColor) = 0;
  36. NS_IMETHOD SetBgColor(const nsAString & aBgColor) = 0;
  37. /* attribute DOMString fgColor; */
  38. NS_IMETHOD GetFgColor(nsAString & aFgColor) = 0;
  39. NS_IMETHOD SetFgColor(const nsAString & aFgColor) = 0;
  40. /* attribute DOMString domain; */
  41. NS_IMETHOD GetDomain(nsAString & aDomain) = 0;
  42. NS_IMETHOD SetDomain(const nsAString & aDomain) = 0;
  43. /* readonly attribute nsIDOMHTMLCollection embeds; */
  44. NS_IMETHOD GetEmbeds(nsIDOMHTMLCollection * *aEmbeds) = 0;
  45. /* DOMString getSelection (); */
  46. NS_IMETHOD GetSelection(nsAString & _retval) = 0;
  47. /* nsIDOMDocument open (in ACString aContentType, in boolean aReplace); */
  48. NS_IMETHOD Open(const nsACString & aContentType, PRBool aReplace, nsIDOMDocument **_retval) = 0;
  49. /* void write (); */
  50. NS_IMETHOD Write(void) = 0;
  51. /* void writeln (); */
  52. NS_IMETHOD Writeln(void) = 0;
  53. /* void clear (); */
  54. NS_IMETHOD Clear(void) = 0;
  55. /**
  56. * @deprecated These are old Netscape 4 methods.
  57. */
  58. /* void captureEvents (in long eventFlags); */
  59. NS_IMETHOD CaptureEvents(PRInt32 eventFlags) = 0;
  60. /* void releaseEvents (in long eventFlags); */
  61. NS_IMETHOD ReleaseEvents(PRInt32 eventFlags) = 0;
  62. /* void routeEvent (in nsIDOMEvent evt); */
  63. NS_IMETHOD RouteEvent(nsIDOMEvent *evt) = 0;
  64. /* readonly attribute DOMString compatMode; */
  65. NS_IMETHOD GetCompatMode(nsAString & aCompatMode) = 0;
  66. /* readonly attribute nsIDOMHTMLCollection plugins; */
  67. NS_IMETHOD GetPlugins(nsIDOMHTMLCollection * *aPlugins) = 0;
  68. /**
  69. * Midas additions
  70. */
  71. /* attribute DOMString designMode; */
  72. NS_IMETHOD GetDesignMode(nsAString & aDesignMode) = 0;
  73. NS_IMETHOD SetDesignMode(const nsAString & aDesignMode) = 0;
  74. /* boolean execCommand (in DOMString commandID, in boolean doShowUI, in DOMString value); */
  75. NS_IMETHOD ExecCommand(const nsAString & commandID, PRBool doShowUI, const nsAString & value, PRBool *_retval) = 0;
  76. /* boolean execCommandShowHelp (in DOMString commandID); */
  77. NS_IMETHOD ExecCommandShowHelp(const nsAString & commandID, PRBool *_retval) = 0;
  78. /* boolean queryCommandEnabled (in DOMString commandID); */
  79. NS_IMETHOD QueryCommandEnabled(const nsAString & commandID, PRBool *_retval) = 0;
  80. /* boolean queryCommandIndeterm (in DOMString commandID); */
  81. NS_IMETHOD QueryCommandIndeterm(const nsAString & commandID, PRBool *_retval) = 0;
  82. /* boolean queryCommandState (in DOMString commandID); */
  83. NS_IMETHOD QueryCommandState(const nsAString & commandID, PRBool *_retval) = 0;
  84. /* boolean queryCommandSupported (in DOMString commandID); */
  85. NS_IMETHOD QueryCommandSupported(const nsAString & commandID, PRBool *_retval) = 0;
  86. /* DOMString queryCommandText (in DOMString commandID); */
  87. NS_IMETHOD QueryCommandText(const nsAString & commandID, nsAString & _retval) = 0;
  88. /* DOMString queryCommandValue (in DOMString commandID); */
  89. NS_IMETHOD QueryCommandValue(const nsAString & commandID, nsAString & _retval) = 0;
  90. };
  91. /* Use this macro when declaring classes that implement this interface. */
  92. #define NS_DECL_NSIDOMNSHTMLDOCUMENT \
  93. NS_IMETHOD GetWidth(PRInt32 *aWidth); \
  94. NS_IMETHOD GetHeight(PRInt32 *aHeight); \
  95. NS_IMETHOD GetAlinkColor(nsAString & aAlinkColor); \
  96. NS_IMETHOD SetAlinkColor(const nsAString & aAlinkColor); \
  97. NS_IMETHOD GetLinkColor(nsAString & aLinkColor); \
  98. NS_IMETHOD SetLinkColor(const nsAString & aLinkColor); \
  99. NS_IMETHOD GetVlinkColor(nsAString & aVlinkColor); \
  100. NS_IMETHOD SetVlinkColor(const nsAString & aVlinkColor); \
  101. NS_IMETHOD GetBgColor(nsAString & aBgColor); \
  102. NS_IMETHOD SetBgColor(const nsAString & aBgColor); \
  103. NS_IMETHOD GetFgColor(nsAString & aFgColor); \
  104. NS_IMETHOD SetFgColor(const nsAString & aFgColor); \
  105. NS_IMETHOD GetDomain(nsAString & aDomain); \
  106. NS_IMETHOD SetDomain(const nsAString & aDomain); \
  107. NS_IMETHOD GetEmbeds(nsIDOMHTMLCollection * *aEmbeds); \
  108. NS_IMETHOD GetSelection(nsAString & _retval); \
  109. NS_IMETHOD Open(const nsACString & aContentType, PRBool aReplace, nsIDOMDocument **_retval); \
  110. NS_IMETHOD Write(void); \
  111. NS_IMETHOD Writeln(void); \
  112. NS_IMETHOD Clear(void); \
  113. NS_IMETHOD CaptureEvents(PRInt32 eventFlags); \
  114. NS_IMETHOD ReleaseEvents(PRInt32 eventFlags); \
  115. NS_IMETHOD RouteEvent(nsIDOMEvent *evt); \
  116. NS_IMETHOD GetCompatMode(nsAString & aCompatMode); \
  117. NS_IMETHOD GetPlugins(nsIDOMHTMLCollection * *aPlugins); \
  118. NS_IMETHOD GetDesignMode(nsAString & aDesignMode); \
  119. NS_IMETHOD SetDesignMode(const nsAString & aDesignMode); \
  120. NS_IMETHOD ExecCommand(const nsAString & commandID, PRBool doShowUI, const nsAString & value, PRBool *_retval); \
  121. NS_IMETHOD ExecCommandShowHelp(const nsAString & commandID, PRBool *_retval); \
  122. NS_IMETHOD QueryCommandEnabled(const nsAString & commandID, PRBool *_retval); \
  123. NS_IMETHOD QueryCommandIndeterm(const nsAString & commandID, PRBool *_retval); \
  124. NS_IMETHOD QueryCommandState(const nsAString & commandID, PRBool *_retval); \
  125. NS_IMETHOD QueryCommandSupported(const nsAString & commandID, PRBool *_retval); \
  126. NS_IMETHOD QueryCommandText(const nsAString & commandID, nsAString & _retval); \
  127. NS_IMETHOD QueryCommandValue(const nsAString & commandID, nsAString & _retval);
  128. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  129. #define NS_FORWARD_NSIDOMNSHTMLDOCUMENT(_to) \
  130. NS_IMETHOD GetWidth(PRInt32 *aWidth) { return _to GetWidth(aWidth); } \
  131. NS_IMETHOD GetHeight(PRInt32 *aHeight) { return _to GetHeight(aHeight); } \
  132. NS_IMETHOD GetAlinkColor(nsAString & aAlinkColor) { return _to GetAlinkColor(aAlinkColor); } \
  133. NS_IMETHOD SetAlinkColor(const nsAString & aAlinkColor) { return _to SetAlinkColor(aAlinkColor); } \
  134. NS_IMETHOD GetLinkColor(nsAString & aLinkColor) { return _to GetLinkColor(aLinkColor); } \
  135. NS_IMETHOD SetLinkColor(const nsAString & aLinkColor) { return _to SetLinkColor(aLinkColor); } \
  136. NS_IMETHOD GetVlinkColor(nsAString & aVlinkColor) { return _to GetVlinkColor(aVlinkColor); } \
  137. NS_IMETHOD SetVlinkColor(const nsAString & aVlinkColor) { return _to SetVlinkColor(aVlinkColor); } \
  138. NS_IMETHOD GetBgColor(nsAString & aBgColor) { return _to GetBgColor(aBgColor); } \
  139. NS_IMETHOD SetBgColor(const nsAString & aBgColor) { return _to SetBgColor(aBgColor); } \
  140. NS_IMETHOD GetFgColor(nsAString & aFgColor) { return _to GetFgColor(aFgColor); } \
  141. NS_IMETHOD SetFgColor(const nsAString & aFgColor) { return _to SetFgColor(aFgColor); } \
  142. NS_IMETHOD GetDomain(nsAString & aDomain) { return _to GetDomain(aDomain); } \
  143. NS_IMETHOD SetDomain(const nsAString & aDomain) { return _to SetDomain(aDomain); } \
  144. NS_IMETHOD GetEmbeds(nsIDOMHTMLCollection * *aEmbeds) { return _to GetEmbeds(aEmbeds); } \
  145. NS_IMETHOD GetSelection(nsAString & _retval) { return _to GetSelection(_retval); } \
  146. NS_IMETHOD Open(const nsACString & aContentType, PRBool aReplace, nsIDOMDocument **_retval) { return _to Open(aContentType, aReplace, _retval); } \
  147. NS_IMETHOD Write(void) { return _to Write(); } \
  148. NS_IMETHOD Writeln(void) { return _to Writeln(); } \
  149. NS_IMETHOD Clear(void) { return _to Clear(); } \
  150. NS_IMETHOD CaptureEvents(PRInt32 eventFlags) { return _to CaptureEvents(eventFlags); } \
  151. NS_IMETHOD ReleaseEvents(PRInt32 eventFlags) { return _to ReleaseEvents(eventFlags); } \
  152. NS_IMETHOD RouteEvent(nsIDOMEvent *evt) { return _to RouteEvent(evt); } \
  153. NS_IMETHOD GetCompatMode(nsAString & aCompatMode) { return _to GetCompatMode(aCompatMode); } \
  154. NS_IMETHOD GetPlugins(nsIDOMHTMLCollection * *aPlugins) { return _to GetPlugins(aPlugins); } \
  155. NS_IMETHOD GetDesignMode(nsAString & aDesignMode) { return _to GetDesignMode(aDesignMode); } \
  156. NS_IMETHOD SetDesignMode(const nsAString & aDesignMode) { return _to SetDesignMode(aDesignMode); } \
  157. NS_IMETHOD ExecCommand(const nsAString & commandID, PRBool doShowUI, const nsAString & value, PRBool *_retval) { return _to ExecCommand(commandID, doShowUI, value, _retval); } \
  158. NS_IMETHOD ExecCommandShowHelp(const nsAString & commandID, PRBool *_retval) { return _to ExecCommandShowHelp(commandID, _retval); } \
  159. NS_IMETHOD QueryCommandEnabled(const nsAString & commandID, PRBool *_retval) { return _to QueryCommandEnabled(commandID, _retval); } \
  160. NS_IMETHOD QueryCommandIndeterm(const nsAString & commandID, PRBool *_retval) { return _to QueryCommandIndeterm(commandID, _retval); } \
  161. NS_IMETHOD QueryCommandState(const nsAString & commandID, PRBool *_retval) { return _to QueryCommandState(commandID, _retval); } \
  162. NS_IMETHOD QueryCommandSupported(const nsAString & commandID, PRBool *_retval) { return _to QueryCommandSupported(commandID, _retval); } \
  163. NS_IMETHOD QueryCommandText(const nsAString & commandID, nsAString & _retval) { return _to QueryCommandText(commandID, _retval); } \
  164. NS_IMETHOD QueryCommandValue(const nsAString & commandID, nsAString & _retval) { return _to QueryCommandValue(commandID, _retval); }
  165. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  166. #define NS_FORWARD_SAFE_NSIDOMNSHTMLDOCUMENT(_to) \
  167. NS_IMETHOD GetWidth(PRInt32 *aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
  168. NS_IMETHOD GetHeight(PRInt32 *aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); } \
  169. NS_IMETHOD GetAlinkColor(nsAString & aAlinkColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlinkColor(aAlinkColor); } \
  170. NS_IMETHOD SetAlinkColor(const nsAString & aAlinkColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlinkColor(aAlinkColor); } \
  171. NS_IMETHOD GetLinkColor(nsAString & aLinkColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLinkColor(aLinkColor); } \
  172. NS_IMETHOD SetLinkColor(const nsAString & aLinkColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLinkColor(aLinkColor); } \
  173. NS_IMETHOD GetVlinkColor(nsAString & aVlinkColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVlinkColor(aVlinkColor); } \
  174. NS_IMETHOD SetVlinkColor(const nsAString & aVlinkColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVlinkColor(aVlinkColor); } \
  175. NS_IMETHOD GetBgColor(nsAString & aBgColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBgColor(aBgColor); } \
  176. NS_IMETHOD SetBgColor(const nsAString & aBgColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBgColor(aBgColor); } \
  177. NS_IMETHOD GetFgColor(nsAString & aFgColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFgColor(aFgColor); } \
  178. NS_IMETHOD SetFgColor(const nsAString & aFgColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFgColor(aFgColor); } \
  179. NS_IMETHOD GetDomain(nsAString & aDomain) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDomain(aDomain); } \
  180. NS_IMETHOD SetDomain(const nsAString & aDomain) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDomain(aDomain); } \
  181. NS_IMETHOD GetEmbeds(nsIDOMHTMLCollection * *aEmbeds) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEmbeds(aEmbeds); } \
  182. NS_IMETHOD GetSelection(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelection(_retval); } \
  183. NS_IMETHOD Open(const nsACString & aContentType, PRBool aReplace, nsIDOMDocument **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->Open(aContentType, aReplace, _retval); } \
  184. NS_IMETHOD Write(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Write(); } \
  185. NS_IMETHOD Writeln(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Writeln(); } \
  186. NS_IMETHOD Clear(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Clear(); } \
  187. NS_IMETHOD CaptureEvents(PRInt32 eventFlags) { return !_to ? NS_ERROR_NULL_POINTER : _to->CaptureEvents(eventFlags); } \
  188. NS_IMETHOD ReleaseEvents(PRInt32 eventFlags) { return !_to ? NS_ERROR_NULL_POINTER : _to->ReleaseEvents(eventFlags); } \
  189. NS_IMETHOD RouteEvent(nsIDOMEvent *evt) { return !_to ? NS_ERROR_NULL_POINTER : _to->RouteEvent(evt); } \
  190. NS_IMETHOD GetCompatMode(nsAString & aCompatMode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCompatMode(aCompatMode); } \
  191. NS_IMETHOD GetPlugins(nsIDOMHTMLCollection * *aPlugins) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPlugins(aPlugins); } \
  192. NS_IMETHOD GetDesignMode(nsAString & aDesignMode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDesignMode(aDesignMode); } \
  193. NS_IMETHOD SetDesignMode(const nsAString & aDesignMode) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDesignMode(aDesignMode); } \
  194. NS_IMETHOD ExecCommand(const nsAString & commandID, PRBool doShowUI, const nsAString & value, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->ExecCommand(commandID, doShowUI, value, _retval); } \
  195. NS_IMETHOD ExecCommandShowHelp(const nsAString & commandID, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->ExecCommandShowHelp(commandID, _retval); } \
  196. NS_IMETHOD QueryCommandEnabled(const nsAString & commandID, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryCommandEnabled(commandID, _retval); } \
  197. NS_IMETHOD QueryCommandIndeterm(const nsAString & commandID, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryCommandIndeterm(commandID, _retval); } \
  198. NS_IMETHOD QueryCommandState(const nsAString & commandID, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryCommandState(commandID, _retval); } \
  199. NS_IMETHOD QueryCommandSupported(const nsAString & commandID, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryCommandSupported(commandID, _retval); } \
  200. NS_IMETHOD QueryCommandText(const nsAString & commandID, nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryCommandText(commandID, _retval); } \
  201. NS_IMETHOD QueryCommandValue(const nsAString & commandID, nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryCommandValue(commandID, _retval); }
  202. #if 0
  203. /* Use the code below as a template for the implementation class for this interface. */
  204. /* Header file */
  205. class nsDOMNSHTMLDocument : public nsIDOMNSHTMLDocument
  206. {
  207. public:
  208. NS_DECL_ISUPPORTS
  209. NS_DECL_NSIDOMNSHTMLDOCUMENT
  210. nsDOMNSHTMLDocument();
  211. private:
  212. ~nsDOMNSHTMLDocument();
  213. protected:
  214. /* additional members */
  215. };
  216. /* Implementation file */
  217. NS_IMPL_ISUPPORTS1(nsDOMNSHTMLDocument, nsIDOMNSHTMLDocument)
  218. nsDOMNSHTMLDocument::nsDOMNSHTMLDocument()
  219. {
  220. /* member initializers and constructor code */
  221. }
  222. nsDOMNSHTMLDocument::~nsDOMNSHTMLDocument()
  223. {
  224. /* destructor code */
  225. }
  226. /* readonly attribute long width; */
  227. NS_IMETHODIMP nsDOMNSHTMLDocument::GetWidth(PRInt32 *aWidth)
  228. {
  229. return NS_ERROR_NOT_IMPLEMENTED;
  230. }
  231. /* readonly attribute long height; */
  232. NS_IMETHODIMP nsDOMNSHTMLDocument::GetHeight(PRInt32 *aHeight)
  233. {
  234. return NS_ERROR_NOT_IMPLEMENTED;
  235. }
  236. /* attribute DOMString alinkColor; */
  237. NS_IMETHODIMP nsDOMNSHTMLDocument::GetAlinkColor(nsAString & aAlinkColor)
  238. {
  239. return NS_ERROR_NOT_IMPLEMENTED;
  240. }
  241. NS_IMETHODIMP nsDOMNSHTMLDocument::SetAlinkColor(const nsAString & aAlinkColor)
  242. {
  243. return NS_ERROR_NOT_IMPLEMENTED;
  244. }
  245. /* attribute DOMString linkColor; */
  246. NS_IMETHODIMP nsDOMNSHTMLDocument::GetLinkColor(nsAString & aLinkColor)
  247. {
  248. return NS_ERROR_NOT_IMPLEMENTED;
  249. }
  250. NS_IMETHODIMP nsDOMNSHTMLDocument::SetLinkColor(const nsAString & aLinkColor)
  251. {
  252. return NS_ERROR_NOT_IMPLEMENTED;
  253. }
  254. /* attribute DOMString vlinkColor; */
  255. NS_IMETHODIMP nsDOMNSHTMLDocument::GetVlinkColor(nsAString & aVlinkColor)
  256. {
  257. return NS_ERROR_NOT_IMPLEMENTED;
  258. }
  259. NS_IMETHODIMP nsDOMNSHTMLDocument::SetVlinkColor(const nsAString & aVlinkColor)
  260. {
  261. return NS_ERROR_NOT_IMPLEMENTED;
  262. }
  263. /* attribute DOMString bgColor; */
  264. NS_IMETHODIMP nsDOMNSHTMLDocument::GetBgColor(nsAString & aBgColor)
  265. {
  266. return NS_ERROR_NOT_IMPLEMENTED;
  267. }
  268. NS_IMETHODIMP nsDOMNSHTMLDocument::SetBgColor(const nsAString & aBgColor)
  269. {
  270. return NS_ERROR_NOT_IMPLEMENTED;
  271. }
  272. /* attribute DOMString fgColor; */
  273. NS_IMETHODIMP nsDOMNSHTMLDocument::GetFgColor(nsAString & aFgColor)
  274. {
  275. return NS_ERROR_NOT_IMPLEMENTED;
  276. }
  277. NS_IMETHODIMP nsDOMNSHTMLDocument::SetFgColor(const nsAString & aFgColor)
  278. {
  279. return NS_ERROR_NOT_IMPLEMENTED;
  280. }
  281. /* attribute DOMString domain; */
  282. NS_IMETHODIMP nsDOMNSHTMLDocument::GetDomain(nsAString & aDomain)
  283. {
  284. return NS_ERROR_NOT_IMPLEMENTED;
  285. }
  286. NS_IMETHODIMP nsDOMNSHTMLDocument::SetDomain(const nsAString & aDomain)
  287. {
  288. return NS_ERROR_NOT_IMPLEMENTED;
  289. }
  290. /* readonly attribute nsIDOMHTMLCollection embeds; */
  291. NS_IMETHODIMP nsDOMNSHTMLDocument::GetEmbeds(nsIDOMHTMLCollection * *aEmbeds)
  292. {
  293. return NS_ERROR_NOT_IMPLEMENTED;
  294. }
  295. /* DOMString getSelection (); */
  296. NS_IMETHODIMP nsDOMNSHTMLDocument::GetSelection(nsAString & _retval)
  297. {
  298. return NS_ERROR_NOT_IMPLEMENTED;
  299. }
  300. /* nsIDOMDocument open (in ACString aContentType, in boolean aReplace); */
  301. NS_IMETHODIMP nsDOMNSHTMLDocument::Open(const nsACString & aContentType, PRBool aReplace, nsIDOMDocument **_retval)
  302. {
  303. return NS_ERROR_NOT_IMPLEMENTED;
  304. }
  305. /* void write (); */
  306. NS_IMETHODIMP nsDOMNSHTMLDocument::Write()
  307. {
  308. return NS_ERROR_NOT_IMPLEMENTED;
  309. }
  310. /* void writeln (); */
  311. NS_IMETHODIMP nsDOMNSHTMLDocument::Writeln()
  312. {
  313. return NS_ERROR_NOT_IMPLEMENTED;
  314. }
  315. /* void clear (); */
  316. NS_IMETHODIMP nsDOMNSHTMLDocument::Clear()
  317. {
  318. return NS_ERROR_NOT_IMPLEMENTED;
  319. }
  320. /* void captureEvents (in long eventFlags); */
  321. NS_IMETHODIMP nsDOMNSHTMLDocument::CaptureEvents(PRInt32 eventFlags)
  322. {
  323. return NS_ERROR_NOT_IMPLEMENTED;
  324. }
  325. /* void releaseEvents (in long eventFlags); */
  326. NS_IMETHODIMP nsDOMNSHTMLDocument::ReleaseEvents(PRInt32 eventFlags)
  327. {
  328. return NS_ERROR_NOT_IMPLEMENTED;
  329. }
  330. /* void routeEvent (in nsIDOMEvent evt); */
  331. NS_IMETHODIMP nsDOMNSHTMLDocument::RouteEvent(nsIDOMEvent *evt)
  332. {
  333. return NS_ERROR_NOT_IMPLEMENTED;
  334. }
  335. /* readonly attribute DOMString compatMode; */
  336. NS_IMETHODIMP nsDOMNSHTMLDocument::GetCompatMode(nsAString & aCompatMode)
  337. {
  338. return NS_ERROR_NOT_IMPLEMENTED;
  339. }
  340. /* readonly attribute nsIDOMHTMLCollection plugins; */
  341. NS_IMETHODIMP nsDOMNSHTMLDocument::GetPlugins(nsIDOMHTMLCollection * *aPlugins)
  342. {
  343. return NS_ERROR_NOT_IMPLEMENTED;
  344. }
  345. /* attribute DOMString designMode; */
  346. NS_IMETHODIMP nsDOMNSHTMLDocument::GetDesignMode(nsAString & aDesignMode)
  347. {
  348. return NS_ERROR_NOT_IMPLEMENTED;
  349. }
  350. NS_IMETHODIMP nsDOMNSHTMLDocument::SetDesignMode(const nsAString & aDesignMode)
  351. {
  352. return NS_ERROR_NOT_IMPLEMENTED;
  353. }
  354. /* boolean execCommand (in DOMString commandID, in boolean doShowUI, in DOMString value); */
  355. NS_IMETHODIMP nsDOMNSHTMLDocument::ExecCommand(const nsAString & commandID, PRBool doShowUI, const nsAString & value, PRBool *_retval)
  356. {
  357. return NS_ERROR_NOT_IMPLEMENTED;
  358. }
  359. /* boolean execCommandShowHelp (in DOMString commandID); */
  360. NS_IMETHODIMP nsDOMNSHTMLDocument::ExecCommandShowHelp(const nsAString & commandID, PRBool *_retval)
  361. {
  362. return NS_ERROR_NOT_IMPLEMENTED;
  363. }
  364. /* boolean queryCommandEnabled (in DOMString commandID); */
  365. NS_IMETHODIMP nsDOMNSHTMLDocument::QueryCommandEnabled(const nsAString & commandID, PRBool *_retval)
  366. {
  367. return NS_ERROR_NOT_IMPLEMENTED;
  368. }
  369. /* boolean queryCommandIndeterm (in DOMString commandID); */
  370. NS_IMETHODIMP nsDOMNSHTMLDocument::QueryCommandIndeterm(const nsAString & commandID, PRBool *_retval)
  371. {
  372. return NS_ERROR_NOT_IMPLEMENTED;
  373. }
  374. /* boolean queryCommandState (in DOMString commandID); */
  375. NS_IMETHODIMP nsDOMNSHTMLDocument::QueryCommandState(const nsAString & commandID, PRBool *_retval)
  376. {
  377. return NS_ERROR_NOT_IMPLEMENTED;
  378. }
  379. /* boolean queryCommandSupported (in DOMString commandID); */
  380. NS_IMETHODIMP nsDOMNSHTMLDocument::QueryCommandSupported(const nsAString & commandID, PRBool *_retval)
  381. {
  382. return NS_ERROR_NOT_IMPLEMENTED;
  383. }
  384. /* DOMString queryCommandText (in DOMString commandID); */
  385. NS_IMETHODIMP nsDOMNSHTMLDocument::QueryCommandText(const nsAString & commandID, nsAString & _retval)
  386. {
  387. return NS_ERROR_NOT_IMPLEMENTED;
  388. }
  389. /* DOMString queryCommandValue (in DOMString commandID); */
  390. NS_IMETHODIMP nsDOMNSHTMLDocument::QueryCommandValue(const nsAString & commandID, nsAString & _retval)
  391. {
  392. return NS_ERROR_NOT_IMPLEMENTED;
  393. }
  394. /* End of implementation class template. */
  395. #endif
  396. #endif /* __gen_nsIDOMNSHTMLDocument_h__ */