/// <summary> /// Creates a ODF table row. /// </summary> /// <param name="row">The row in the ODF document.</param> /// <returns>The filled ODF row.</returns> internal AODL.Document.Content.Tables.Row GetODF(AODL.Document.Content.Tables.Row row) { foreach (string s in _values) { //Create a standard paragraph var paragraph = ParagraphBuilder.CreateStandardTextParagraph(row.Document); //Add the text foreach (var formatedText in CommonDocumentFunctions.ParseParagraphForODF(row.Document, s)) { paragraph.TextContent.Add(formatedText); } //Add the content to the cell //row.Cells[_values.IndexOf(s)].Content.Add(paragraph); } return(row); }
/// <summary> /// Determines whether [contains] [the specified value]. /// </summary> /// <param name="value">The value.</param> /// <returns> /// <c>true</c> if [contains] [the specified value]; otherwise, <c>false</c>. /// </returns> public bool Contains(AODL.Document.Content.Tables.Row value) { return(base.List.Contains(value as object)); }
/// <summary> /// Removes the specified value. /// </summary> /// <param name="value">The value.</param> public void Remove(AODL.Document.Content.Tables.Row value) { base.List.Remove(value as object); }
/// <summary> /// Inserts the specified index. /// </summary> /// <param name="index">The index.</param> /// <param name="value">The value.</param> public void Insert(int index, AODL.Document.Content.Tables.Row value) { base.List.Insert(index, value as object); }
/// <summary> /// Adds the specified value. /// </summary> /// <param name="value">The value.</param> /// <returns></returns> public int Add(AODL.Document.Content.Tables.Row value) { return(base.List.Add(value as object)); }