예제 #1
0
 /// <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);
 }
예제 #2
0
 /// <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));
 }
예제 #3
0
 /// <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);
 }
예제 #4
0
 /// <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);
 }
예제 #5
0
 /// <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));
 }