From 9c431afbdabd4f143573ea0e1001af1fbf021d23 Mon Sep 17 00:00:00 2001
From: Simon Boucher
+ /// // Create a document.
+ /// using (var document = DocX.Create(@"C:\Example\Test.docx"))
+ /// {
+ /// // Create a new Table with 2 columns and 3 rows.
+ /// Table newTable = document.InsertTable(2, 3);
+ ///
+ /// // Set the design of this Table.
+ /// newTable.Design = TableDesign.LightShadingAccent2;
+ ///
+ /// // Set the column names.
+ /// newTable.Rows[0].Cells[0].Paragraph.InsertText("Ice Cream", false);
+ /// newTable.Rows[0].Cells[1].Paragraph.InsertText("Price", false);
+ ///
+ /// // Fill row 1
+ /// newTable.Rows[1].Cells[0].Paragraph.InsertText("Chocolate", false);
+ /// newTable.Rows[1].Cells[1].Paragraph.InsertText("€3:50", false);
+ ///
+ /// // Fill row 2
+ /// newTable.Rows[2].Cells[0].Paragraph.InsertText("Vanilla", false);
+ /// newTable.Rows[2].Cells[1].Paragraph.InsertText("€3:00", false);
+ ///
+ /// // Save all changes made to document b.
+ /// document.Save();
+ /// }// Release this document from memory.
+ ///
+ ///
+ /// // Place holder for a Table.
+ /// Table t;
+ ///
+ /// // Load document a.
+ /// using (DocX documentA = DocX.Load(@"C:\Example\a.docx"))
+ /// {
+ /// // Get the first Table from this document.
+ /// t = documentA.Tables[0];
+ /// }
+ ///
+ /// // Load document b.
+ /// using (DocX documentB = DocX.Load(@"C:\Example\b.docx"))
+ /// {
+ /// /*
+ /// * Insert the Table that was extracted from document a, into document b.
+ /// * This creates a new Table that is now associated with document b.
+ /// */
+ /// Table newTable = documentB.InsertTable(10, t);
+ ///
+ /// // Save all changes made to document b.
+ /// documentB.Save();
+ /// }// Release this document from memory.
+ ///
+ ///
+ /// // Place holder for a Table.
+ /// Table t;
+ ///
+ /// // Load document a.
+ /// using (DocX documentA = DocX.Load(@"C:\Example\a.docx"))
+ /// {
+ /// // Get the first Table from this document.
+ /// t = documentA.Tables[0];
+ /// }
+ ///
+ /// // Load document b.
+ /// using (DocX documentB = DocX.Load(@"C:\Example\b.docx"))
+ /// {
+ /// /*
+ /// * Insert the Table that was extracted from document a, into document b.
+ /// * This creates a new Table that is now associated with document b.
+ /// */
+ /// Table newTable = documentB.InsertTable(t);
+ ///
+ /// // Save all changes made to document b.
+ /// documentB.Save();
+ /// }// Release this document from memory.
+ ///
+ ///
/// // Create a document.
- /// using (var document = DocX.Create(@"C:\Example\Test.docx"))
+ /// using (var document = DocX.Load(@"C:\Example\Test.docx"))
/// {
- /// // Create a new Table with 2 columns and 3 rows.
- /// Table newTable = document.InsertTable(2, 3);
+ /// // Create a new Table with 3 rows and 2 columns. Insert this Table at index 37.
+ /// Table newTable = document.InsertTable(37, 3, 2);
///
/// // Set the design of this Table.
- /// newTable.Design = TableDesign.LightShadingAccent2;
+ /// newTable.Design = TableDesign.LightShadingAccent3;
///
/// // Set the column names.
/// newTable.Rows[0].Cells[0].Paragraph.InsertText("Ice Cream", false);
@@ -1738,167 +1659,30 @@ public void InsertDocument( Document remote_document, bool append = true, bool u
/// }// Release this document from memory.
///
///
- /// // Place holder for a Table.
- /// Table t;
- ///
- /// // Load document a.
- /// using (DocX documentA = DocX.Load(@"C:\Example\a.docx"))
- /// {
- /// // Get the first Table from this document.
- /// t = documentA.Tables[0];
- /// }
- ///
- /// // Load document b.
- /// using (DocX documentB = DocX.Load(@"C:\Example\b.docx"))
- /// {
- /// /*
- /// * Insert the Table that was extracted from document a, into document b.
- /// * This creates a new Table that is now associated with document b.
- /// */
- /// Table newTable = documentB.InsertTable(10, t);
- ///
- /// // Save all changes made to document b.
- /// documentB.Save();
- /// }// Release this document from memory.
- ///
- ///
- /// // Place holder for a Table.
- /// Table t;
- ///
- /// // Load document a.
- /// using (DocX documentA = DocX.Load(@"C:\Example\a.docx"))
- /// {
- /// // Get the first Table from this document.
- /// t = documentA.Tables[0];
- /// }
- ///
- /// // Load document b.
- /// using (DocX documentB = DocX.Load(@"C:\Example\b.docx"))
- /// {
- /// /*
- /// * Insert the Table that was extracted from document a, into document b.
- /// * This creates a new Table that is now associated with document b.
- /// */
- /// Table newTable = documentB.InsertTable(t);
- ///
- /// // Save all changes made to document b.
- /// documentB.Save();
- /// }// Release this document from memory.
- ///
- ///
- /// // Create a document.
- /// using (var document = DocX.Load(@"C:\Example\Test.docx"))
- /// {
- /// // Create a new Table with 3 rows and 2 columns. Insert this Table at index 37.
- /// Table newTable = document.InsertTable(37, 3, 2);
- ///
- /// // Set the design of this Table.
- /// newTable.Design = TableDesign.LightShadingAccent3;
- ///
- /// // Set the column names.
- /// newTable.Rows[0].Cells[0].Paragraph.InsertText("Ice Cream", false);
- /// newTable.Rows[0].Cells[1].Paragraph.InsertText("Price", false);
- ///
- /// // Fill row 1
- /// newTable.Rows[1].Cells[0].Paragraph.InsertText("Chocolate", false);
- /// newTable.Rows[1].Cells[1].Paragraph.InsertText("€3:50", false);
- ///
- /// // Fill row 2
- /// newTable.Rows[2].Cells[0].Paragraph.InsertText("Vanilla", false);
- /// newTable.Rows[2].Cells[1].Paragraph.InsertText("€3:00", false);
- ///
- /// // Save all changes made to document b.
- /// document.Save();
- /// }// Release this document from memory.
- ///
- ///
S`7BB7HaC+7_5{Z9^?u@iRVkuXn!^0G;QgvOCf@Q4>R@`u8~sXY+PpP+izhdr
z rrEMzTfor_AU(;uYydpEf)i=Bj%zfsFtKm?jkg}mXLk<=rjgY2$W~s
zC%#SsV_od2@-RL3?n}Pa8M#1`U?OKB4<}(w)7aRdnQTSk#jT}mUfhxePkrui*wk8J
zelc;l&iQyb%8}^lvu_@4s9I9?##NE$nXPwRyS*mu1dY@Num#
z)@#ZFVR?UOyv<+Pm7p6e*U%PQ|4s>^ElD0qXvN6BVM`fPcPr$HIIOTre-r9Vn5m{~
zPy>T6h+pioukVca>u!`Z5T2Dd(v;ku$NE={b?owUiW<#e>Gw6xVo@?B)qhn08eIA4
z?O?HBP3RT74N~E*3gahHgde=K?XC2MQ+ey~OY|@mE@aGiOl2*^&dXFHs(!td?Bzxv
zwK4}8*-`tH@|<*EoHXT!OgR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