Esempio n. 1
0
 public static void SetTableProperties(IHtmlEditorComponentContext editorContext, MarkupRange markupRange, TableProperties tableProperties)
 {
     TableEditor tableEditor = new TableEditor(editorContext, markupRange);
     tableEditor.TableProperties = tableProperties;
 }
Esempio n. 2
0
 public static void SelectPreviousCell(IHtmlEditorComponentContext editorContext)
 {
     TableEditor tableEditor = new TableEditor(editorContext);
     tableEditor.SelectPreviousCell();
 }
Esempio n. 3
0
 public static void SetColumnProperties(IHtmlEditorComponentContext editorContext, MarkupRange markupRange, ColumnProperties columnProperties)
 {
     TableEditor tableEditor = new TableEditor(editorContext, markupRange);
     tableEditor.ColumnProperties = columnProperties;
 }
Esempio n. 4
0
 public static void MoveRowUp(IHtmlEditorComponentContext editorContext, MarkupRange markupRange)
 {
     TableEditor tableEditor = new TableEditor(editorContext, markupRange);
     tableEditor.MoveRowUp();
 }
Esempio n. 5
0
 public static void SelectCell(IHtmlEditorComponentContext editorContext, IHTMLTableCell cell)
 {
     TableEditor tableEditor = new TableEditor(editorContext);
     tableEditor.SelectCell(cell);
 }
Esempio n. 6
0
 public static IHTMLTableRow InsertRowBelow(IHtmlEditorComponentContext editorContext, MarkupRange markupRange)
 {
     TableEditor tableEditor = new TableEditor(editorContext, markupRange);
     return tableEditor.InsertRowBelow();
 }
Esempio n. 7
0
 public static void MakeEmptyCellsNull(IHtmlEditorComponentContext editorContext, IHTMLElement tableElement)
 {
     MarkupRange tableMarkupRange = editorContext.MarkupServices.CreateMarkupRange(tableElement, false);
     TableEditor tableEditor = new TableEditor(editorContext, tableMarkupRange);
     tableEditor.MakeEmptyCellsNull();
 }
Esempio n. 8
0
 public static void InsertLineBreak(IHtmlEditorComponentContext editorContext)
 {
     TableEditor tableEditor = new TableEditor(editorContext);
     tableEditor.InsertLineBreak();
 }
Esempio n. 9
0
 public static void InsertColumnRight(IHtmlEditorComponentContext editorContext, MarkupRange markupRange)
 {
     TableEditor tableEditor = new TableEditor(editorContext, markupRange);
     tableEditor.InsertColumnRight();
 }
Esempio n. 10
0
 public static TableProperties GetTableProperties(IHtmlEditorComponentContext editorContext, MarkupRange markupRange)
 {
     TableEditor tableEditor = new TableEditor(editorContext, markupRange);
     return tableEditor.TableProperties;
 }
Esempio n. 11
0
 public static void DeleteTable(IHtmlEditorComponentContext editorContext, MarkupRange markupRange)
 {
     TableEditor tableEditor = new TableEditor(editorContext, markupRange);
     tableEditor.DeleteTable();
 }
Esempio n. 12
0
 public static void ClearCells(IHtmlEditorComponentContext editorContext, MarkupRange markupRange)
 {
     TableEditor tableEditor = new TableEditor(editorContext, markupRange);
     tableEditor.ClearCells();
 }