Part of fix for bug 41034, new methods to return block state(e.g., list) info. r=sfraser, a=beppe

This commit is contained in:
cmanske%netscape.com 2000-06-05 20:25:57 +00:00
Родитель cd6d0787cd
Коммит 0d7f94d904
1 изменённых файлов: 16 добавлений и 0 удалений

Просмотреть файл

@ -475,6 +475,22 @@ interface nsIEditorShell : nsISupports
void SetBodyAttribute(in wstring attr, in wstring value);
void SetBackgroundColor(in wstring color);
/** Get block state information:
* Returns the tagname if part selection is within a
* paragraph or list block tag,
* or empty string if none of selection isn't within the block
*
* mixed true if only part of selection has the state
*/
/* Returns "p","blockquote", "address", "pre", "dt", "dd"
or "h1" through "h6" */
wstring GetParagraphState(out boolean mixed);
/* Returns "ol", "ul", or "dl" */
wstring GetListState(out boolean mixed);
/* Returns "li", "dt", or "dd" */
wstring GetListItemState(out boolean mixed);
void ApplyStyleSheet(in wstring url);
/** Set the display mode for editing