/***************************************************************************
                            kde_HTMLLegendElement.h -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef KDE_HTMLLEGENDELEMENT
#define KDE_HTMLLEGENDELEMENT

#include <qtc/qtc_types.h>

#include <kdec/kde_types.h>

/**

 Provides a caption for a <code> FIELDSET </code> grouping. See the
 <a
 href="http://www.w3.org/TR/REC-html40/interact/forms.html#edef-LEGEND">
 LEGEND element definition </a> in HTML 4.0.

 
 @short 
 Provides a caption for a <code> FIELDSET </code> grouping.
*/
kde_HTMLLegendElement * kde_new_HTMLLegendElement();
kde_HTMLLegendElement * kde_new_HTMLLegendElement1(kde_HTMLLegendElement* other);
kde_HTMLLegendElement * kde_new_HTMLLegendElement2(kde_DOMNode* other);
void kde_del_HTMLLegendElement( kde_HTMLLegendElement* p );

/** 
 Returns the <code> FORM </code> element containing this
 control. Returns null if this control is not within the context
 of a form.

     
*/
kde_HTMLFormElement* kde_HTMLLegendElement_form(kde_HTMLLegendElement* instPointer);

/** 
 A single character access key to give access to the form
 control. See the <a
 href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-accesskey">
 accesskey attribute definition </a> in HTML 4.0.

     
*/
kde_DOMString* kde_HTMLLegendElement_accessKey(kde_HTMLLegendElement* instPointer);

/** 
 see @ref accessKey
     
*/
void kde_HTMLLegendElement_setAccessKey(kde_HTMLLegendElement* instPointer,kde_DOMString* arg1);

/** 
 Text alignment relative to <code> FIELDSET </code> . See the <a
 href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-align-LEGEND">
 align attribute definition </a> in HTML 4.0. This attribute is
 deprecated in HTML 4.0.

     
*/
kde_DOMString* kde_HTMLLegendElement_align(kde_HTMLLegendElement* instPointer);

/** 
 see @ref align
     
*/
void kde_HTMLLegendElement_setAlign(kde_HTMLLegendElement* instPointer,kde_DOMString* arg1);

#endif
